{"id":2340,"date":"2015-10-17T21:07:41","date_gmt":"2015-10-17T19:07:41","guid":{"rendered":"https:\/\/adrhc.go.ro\/wordpress\/?p=2340"},"modified":"2015-10-17T21:10:39","modified_gmt":"2015-10-17T19:10:39","slug":"nagios3","status":"publish","type":"post","link":"https:\/\/adrhc.go.ro\/blog\/nagios3\/","title":{"rendered":"nagios3"},"content":{"rendered":"<pre class=\"brush:bash shell;toolbar: false\">\r\n# change user & password in passwd-file specified by \/etc\/nagios3\/apache2.conf\r\n# change nagiosadmin to the user chosen\r\nsed -i s\/\"nagiosadmin\"\/\"adr\"\/ \/etc\/nagios3\/cgi.cfg\r\n# Edit the disk.cfg file located in \/etc\/nagios-plugins\/config and add the arguments\r\n# -A -i '.gvfs'\r\n# at the end of the command line arguments for the command check_disk and check_all_disks. \r\nservice nagios3 restart\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p># change user &#038; password in passwd-file specified by \/etc\/nagios3\/apache2.conf # change nagiosadmin to the user chosen sed -i s\/&#8221;nagiosadmin&#8221;\/&#8221;adr&#8221;\/ \/etc\/nagios3\/cgi.cfg # Edit the disk.cfg file located in \/etc\/nagios-plugins\/config and add the arguments # -A -i &#8216;.gvfs&#8217; # at the [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/adrhc.go.ro\/blog\/nagios3\/#more-2340\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">nagios3<\/span><\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,33],"tags":[],"class_list":["post-2340","post","type-post","status-publish","format-standard","hentry","category-howto","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/2340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/comments?post=2340"}],"version-history":[{"count":0,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/2340\/revisions"}],"wp:attachment":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/media?parent=2340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/categories?post=2340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/tags?post=2340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}