Page 2 of 2

Re: Graph Explorer issue

Posted: Wed Jul 01, 2015 12:36 pm
by lmiltchev
I tested the plugin in-house. I was wrong about the semicolons. This is not the issue as it is working just fine as is:

Code: Select all

/usr/local/nagios/libexec/check_mem.pl -w 10 -c 5 -f -C
OK - 73.0% (1401848 kB) free.|TOTAL=1921428KB;;;; USED=519580KB;1729285;1825356;; FREE=1401848KB;;;; CACHES=655620KB;;;;
example01.PNG
example02.PNG
Have you modified the command by adding/removing a flag? Try deleting the "/usr/local/nagios/share/perfdata/RCS-PROD-WCAS-01/Memory_Usage.rrd" and "/usr/local/nagios/share/perfdata/RCS-PROD-WCAS-01/Memory_Usage.xml" file. They should get recreated and the graphs should show up in 15-20 min.

BTW, did you copy the "check_mem.php" template to "/usr/local/nagios/share/pnp/templates"?

Re: Graph Explorer issue

Posted: Wed Jul 01, 2015 9:39 pm
by kulcatz
Thanks all for the help. It was resolved by running the command "service nagios-nrpe-server restart" on the remote host.