Page 1 of 1

Nagiosgraph 1.5.2 not updating check-host-alive graph

Posted: Tue Nov 01, 2016 9:32 am
by Asjas
Hello,

I've installed Nagios Core 4.2.2 and Nagiosgraph 1.5.2 on CentOS 7.0 64bit. Both Nagios Core and Nagiosgraph was installed from source.

The check-host-alive graph isn't updating for any hosts. The RRD files gets created for every host and gets updated continually but nothing shows on the graph itself.
Any other service is updating in Nagiosgraph. It's just check-host-alive that is not working.

Please see attached config files and screenshots. If anyone can assist me with this please.

http://pastebin.com/t5UzNEsU - nagios.cfg
http://pastebin.com/yMTV7dhV - templates.cfg
http://pastebin.com/09s2Bn8C - commands.cfg
http://pastebin.com/3T7fzvZB - nagiosgraph.cfg
http://pastebin.com/RnG7faj3 - nagiosgraph.log

http://pastebin.com/ewZpiVHQ - Nagiosgraph folder ownership

http://imgur.com/M0lRLDM - Nagiosgraph screenshot

Do I need to use the latest version of nagiosgraph? Is this possibly why I'm having problems.

Re: Nagiosgraph 1.5.2 not updating check-host-alive graph

Posted: Tue Nov 01, 2016 10:42 am
by dwhitfield
Could you also post the results of tail -f /var/log/httpd/error_log? Thanks!

If your httpd error logs are elsewhere, post those instead. :)

Re: Nagiosgraph 1.5.2 not updating check-host-alive graph

Posted: Tue Nov 01, 2016 12:15 pm
by Asjas
Hi,

Here is the http error_log

http://pastebin.com/Wzv7zUCb

Re: Nagiosgraph 1.5.2 not updating check-host-alive graph

Posted: Tue Nov 01, 2016 12:54 pm
by dwhitfield
This is going to take us a little while to troubleshoot, since Nagiosgraph is not our product. Have you posted in the Nagiosgraph forums at https://sourceforge.net/p/nagiosgraph/d ... on/394748/ ? If so, could you like to that thread? Thanks!

Re: Nagiosgraph 1.5.2 not updating check-host-alive graph

Posted: Wed Nov 02, 2016 4:32 am
by Asjas
Hi,

I couldn't find a support forum for nagiosgraph. I just posted a question there as well in connection with this problem.
I'll see if someone there can assist me. :)

Thank you,

Re: Nagiosgraph 1.5.2 not updating check-host-alive graph

Posted: Wed Nov 02, 2016 8:55 am
by dwhitfield
Definitely let us know if you find a fix. Also, have you thought about other graphing frontends like PNP4Nagios?

Re: Nagiosgraph 1.5.2 not updating check-host-alive graph

Posted: Thu Nov 03, 2016 9:42 am
by Asjas
Hi,

So far no-one has answered me on sourceforge. I haven't found the solution either.

I did however install and configure pnp4nagios and it's working perfect. Check-host-alive is updating on this frontend.

Thanks a bunch :)

Re: Nagiosgraph 1.5.2 not updating check-host-alive graph

Posted: Thu Nov 03, 2016 9:47 am
by dwhitfield
Glad you have a solution that works for you! Is it okay if we lock this thread? We can let someone else open their own thread if they want to stick it out with nagiosgraph instead of using PNP4Nagios.

Thanks for choosing the Nagios forums!

Re: Nagiosgraph 1.5.2 not updating check-host-alive graph

Posted: Thu Jan 26, 2017 10:18 am
by AGray
I had the same issue, probably for as long as I can remember; but I never seemed to care/need that data till now. It turned out to be that I had decided (not sure how, been too long) not to originally include the "host_perfdata_file" settings in my nagios.cfg

After that, restart, and it started creating that file.

Re: Nagiosgraph 1.5.2 not updating check-host-alive graph

Posted: Thu Jan 26, 2017 10:27 am
by dwhitfield
@AGray, for clarity you resolved this issue and are just trying to help out @Asjas, correct?

If so, thanks!

If not, could you rephrase your problem? Thanks!