Nagiosgraph 1.5.2 not updating check-host-alive graph

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Asjas
Posts: 4
Joined: Tue Nov 01, 2016 9:05 am

Nagiosgraph 1.5.2 not updating check-host-alive graph

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post 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. :)
Asjas
Posts: 4
Joined: Tue Nov 01, 2016 9:05 am

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

Post by Asjas »

Hi,

Here is the http error_log

http://pastebin.com/Wzv7zUCb
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post 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!
Asjas
Posts: 4
Joined: Tue Nov 01, 2016 9:05 am

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

Post 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,
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post by dwhitfield »

Definitely let us know if you find a fix. Also, have you thought about other graphing frontends like PNP4Nagios?
Asjas
Posts: 4
Joined: Tue Nov 01, 2016 9:05 am

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

Post 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 :)
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post 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!
AGray
Posts: 15
Joined: Wed May 29, 2013 1:34 pm

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

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post 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!
Locked