{"id":199,"date":"2018-10-19T20:17:58","date_gmt":"2018-10-19T20:17:58","guid":{"rendered":"http:\/\/hanasavi.ir\/?p=199"},"modified":"2018-10-19T20:33:55","modified_gmt":"2018-10-19T20:33:55","slug":"installing-grafana-v5-3-1-on-centos7","status":"publish","type":"post","link":"https:\/\/hanasavi.ir\/index.php\/2018\/10\/19\/installing-grafana-v5-3-1-on-centos7\/","title":{"rendered":"Installing Grafana v5.3.1 on Centos7"},"content":{"rendered":"<p class=\"page-letterhead__heading page-letterhead__heading--on-background page-letterhead__heading--lead\" data-reactid=\"78\">Grafana is The\u00a0open\u00a0platform for\u00a0beautiful\u00a0analytics and monitoring.<\/p>\n<p data-reactid=\"78\">Here we installing grafana , then in other post we try to use with zabbix server to have a nice graph an report:<\/p>\n<pre class=\"lang:default decode:true \">#sudo yum install wget\r\n\r\n#wget\u00a0https:\/\/s3-us-west-2.amazonaws.com\/grafana-releases\/release\/grafana-5.3.1-1.x86_64.rpm\u00a0\r\n#sudo yum\u00a0localinstall\u00a0grafana-5.3.1-1.x86_64.rpm\r\n\r\n#sudo systemctl daemon-reload\r\n\r\n#sudo systemctl start grafana-server\r\n\r\n#sudo systemctl status grafana-server\r\n\r\n#sudo systemctl enable grafana-server<\/pre>\n<p>&nbsp;<\/p>\n<p data-reactid=\"78\"><strong>Installing Zabbix Plugin:<\/strong><\/p>\n<pre class=\"lang:default decode:true \">#sudo grafana-cli plugins install alexanderzobnin-zabbix-app\r\n\r\n#sudo systemctl restart grafana-server\r\n\r\n#sudo firewall-cmd --permanent --add-port=3000\/tcp\r\n\r\n#sudo firewall-cmd --permanent --list-all<\/pre>\n<p>&nbsp;<\/p>\n<p data-reactid=\"78\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-200 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-19-23-300x136.png\" alt=\"\" width=\"585\" height=\"265\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-19-23-300x136.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-19-23-400x181.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-19-23.png 582w\" sizes=\"(max-width: 585px) 100vw, 585px\" \/><\/p>\n<pre class=\"lang:default decode:true \">#sudo firewall-cmd --reload<\/pre>\n<p>&nbsp;<\/p>\n<p data-reactid=\"78\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-201 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-22-21-300x175.png\" alt=\"\" width=\"713\" height=\"416\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-22-21-300x175.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-22-21-768x448.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-22-21-1024x597.png 1024w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-22-21-400x233.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-22-21.png 1106w\" sizes=\"(max-width: 713px) 100vw, 713px\" \/>The default login credentials are\u00a0<code><span class=\"highlight\">admin<\/span>\/<span class=\"highlight\">admin<\/span><\/code><\/p>\n<p data-reactid=\"78\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-202 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-27-21-300x161.png\" alt=\"\" width=\"751\" height=\"403\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-27-21-300x161.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-27-21-768x413.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-27-21-1024x550.png 1024w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-27-21-400x215.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-27-21.png 1206w\" sizes=\"(max-width: 751px) 100vw, 751px\" \/><\/p>\n<p data-reactid=\"78\">Go to Plugin:<\/p>\n<p data-reactid=\"78\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-203 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-30-16-155x300.png\" alt=\"\" width=\"278\" height=\"538\" \/><\/p>\n<p data-reactid=\"78\">Select Zabbix app:<\/p>\n<p data-reactid=\"78\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-204 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-30-32-300x230.png\" alt=\"\" width=\"435\" height=\"333\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-30-32-300x230.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-30-32-768x590.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-30-32-391x300.png 391w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-30-32.png 792w\" sizes=\"(max-width: 435px) 100vw, 435px\" \/><\/p>\n<p data-reactid=\"78\">Press enable Button:<\/p>\n<p data-reactid=\"78\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-205 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-39-50-300x180.png\" alt=\"\" width=\"487\" height=\"292\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-39-50-300x180.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-39-50-400x240.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-39-50.png 735w\" sizes=\"(max-width: 487px) 100vw, 487px\" \/><\/p>\n<p data-reactid=\"78\">Add Datasource:<\/p>\n<p data-reactid=\"78\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-206 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-31-45-300x152.png\" alt=\"\" width=\"606\" height=\"307\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-31-45-300x152.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-31-45-768x388.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-31-45-1024x518.png 1024w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-31-45-400x202.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Screenshot-from-2018-10-19-23-31-45.png 1068w\" sizes=\"(max-width: 606px) 100vw, 606px\" \/><\/p>\n<p data-reactid=\"78\">And , In this windows enter data as follows:<\/p>\n<p data-reactid=\"78\"><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-207 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/69rHGUx-300x236.png\" alt=\"\" width=\"647\" height=\"509\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/69rHGUx-300x236.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/69rHGUx-768x604.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/69rHGUx-1024x805.png 1024w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/69rHGUx-382x300.png 382w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/69rHGUx.png 1066w\" sizes=\"(max-width: 647px) 100vw, 647px\" \/><\/p>\n<p data-reactid=\"78\"><code langs=\"\"><\/code><code langs=\"\"><br \/>\n<\/code><\/p>\n<ul>\n<li><strong>Name<\/strong>\u00a0field: Enter a name for this new data source<\/li>\n<li>Type : Zabbix<\/li>\n<li><strong>Url<\/strong>\u00a0field:\u00a0http:\/\/your_zabbix_server_ip_address\/zabbix\/api_jsonrpc.php<\/li>\n<\/ul>\n<ul>\n<li>Fill in the\u00a0<strong>Username<\/strong>\u00a0and\u00a0<strong>Password<\/strong>\u00a0fields with the username and password for Zabbix. The default credentials are admin\/zabbix<\/li>\n<\/ul>\n<p>You can leave the other options at their default values.<\/p>\n<p>Click the\u00a0<strong>Add<\/strong>\u00a0button to test and save the configuration. You&#8217;ll see a success message that looks like the following:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-208 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Meq7eZv-300x56.png\" alt=\"\" width=\"514\" height=\"96\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Meq7eZv-300x56.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Meq7eZv-768x144.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Meq7eZv-400x75.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/Meq7eZv.png 1018w\" sizes=\"(max-width: 514px) 100vw, 514px\" \/><\/p>\n<p>If you do not see this message, check your credentials and test again.<\/p>\n<p>Select\u00a0<strong>Zabbix server Dashboard<\/strong>\u00a0from the dropdown list at the top of the screen<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-209 aligncenter\" src=\"http:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/2016-11-03_4h9cn31lu8vn82s_Grafana_-_Zabbix_Server_Dashboard-300x152.png\" alt=\"\" width=\"541\" height=\"274\" srcset=\"https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/2016-11-03_4h9cn31lu8vn82s_Grafana_-_Zabbix_Server_Dashboard-300x152.png 300w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/2016-11-03_4h9cn31lu8vn82s_Grafana_-_Zabbix_Server_Dashboard-768x388.png 768w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/2016-11-03_4h9cn31lu8vn82s_Grafana_-_Zabbix_Server_Dashboard-1024x518.png 1024w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/2016-11-03_4h9cn31lu8vn82s_Grafana_-_Zabbix_Server_Dashboard-400x202.png 400w, https:\/\/hanasavi.ir\/wp-content\/uploads\/2018\/10\/2016-11-03_4h9cn31lu8vn82s_Grafana_-_Zabbix_Server_Dashboard.png 1440w\" sizes=\"(max-width: 541px) 100vw, 541px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Grafana is The\u00a0open\u00a0platform for\u00a0beautiful\u00a0analytics and monitoring. Here we installing grafana , then in other post we try to use with zabbix server to have a nice graph an report: #sudo yum install wget #wget\u00a0https:\/\/s3-us-west-2.amazonaws.com\/grafana-releases\/release\/grafana-5.3.1-1.x86_64.rpm\u00a0 #sudo yum\u00a0localinstall\u00a0grafana-5.3.1-1.x86_64.rpm #sudo systemctl daemon-reload #sudo systemctl start grafana-server #sudo systemctl status grafana-server #sudo systemctl enable grafana-server &nbsp; Installing Zabbix Plugin:&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[17,19,8],"_links":{"self":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts\/199"}],"collection":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/comments?post=199"}],"version-history":[{"count":6,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts\/199\/revisions"}],"predecessor-version":[{"id":215,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/posts\/199\/revisions\/215"}],"wp:attachment":[{"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/media?parent=199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/categories?post=199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hanasavi.ir\/index.php\/wp-json\/wp\/v2\/tags?post=199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}