{"id":449,"date":"2020-09-16T10:01:08","date_gmt":"2020-09-16T10:01:08","guid":{"rendered":"https:\/\/silviamarin.ro\/?p=449"},"modified":"2020-09-16T10:01:08","modified_gmt":"2020-09-16T10:01:08","slug":"instalare-telegraf","status":"publish","type":"post","link":"https:\/\/marinelvis.xyz\/index.php\/2020\/09\/16\/instalare-telegraf\/","title":{"rendered":"INSTALARE TELEGRAF"},"content":{"rendered":"<p>Se introduc sursele in fisierul <em>sources.list<\/em>:<\/p>\n<pre>echo \"deb https:\/\/repos.influxdata.com\/debian buster stable\" | tee -a \/etc\/apt\/sources.list<\/pre>\n<p>Se instaleaza cheia de criptare :<\/p>\n<pre class=\"wp-block-preformatted\">curl -sL https:\/\/repos.influxdata.com\/influxdb.key | sudo apt-key add -<\/pre>\n<p>Se actualizeaza depozitul software si se instaleaza Webmin :<\/p>\n<pre>apt-get update &amp;&amp; apt-get install -y telegraf<\/pre>\n<p>Se activeaza si se porneste serviciul:<\/p>\n<pre>systemctl enable telegraf &amp;&amp; systemctl start telegraf \nsystemctl status telegraf<\/pre>\n<p>Se configureaza din fisierul telegraf.conf:<\/p>\n<pre>systemctl stop telegraf\nnano \/etc\/telegraf\/telegraf.conf<\/pre>\n<p>La<em> [[outputs.influxdb]]<\/em> se activeaza optiunile:<\/p>\n<blockquote><p><em>urls = [&#8222;http:\/\/127.0.0.1:8086&#8221;]<\/em><\/p>\n<p><em>database = &#8222;telegraf&#8221;<\/em><\/p><\/blockquote>\n<p>Se reporneste serviciul:<\/p>\n<pre>systemctl start telegraf<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Se introduc sursele in fisierul sources.list: echo &#8222;deb https:\/\/repos.influxdata.com\/debian buster stable&#8221; | tee -a \/etc\/apt\/sources.list Se instaleaza cheia de criptare : curl -sL https:\/\/repos.influxdata.com\/influxdb.key | sudo apt-key add &#8211; Se actualizeaza depozitul software si se instaleaza Webmin : apt-get update &amp;&amp; apt-get install -y telegraf Se activeaza si se porneste serviciul: systemctl enable telegraf &amp;&amp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-449","post","type-post","status-publish","format-standard","hentry","category-fara-categorie"],"_links":{"self":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts\/449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=449"}],"version-history":[{"count":0,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts\/449\/revisions"}],"wp:attachment":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}