Page 1 of 4

Nagios Output Not Graphing

Posted: Tue Nov 17, 2015 2:25 am
by braindope
Hi All,

May I please ask for some assistance regarding on my Nagios not graphing. I've check all the files (rrd, xml) even my nagios.log are all in placed. Nagios checks are OK and no error, but it's not graphing :cry:

Re: Nagios Output Not Graphing

Posted: Tue Nov 17, 2015 10:12 am
by rkennedy
Are you receiving a specific error message when trying to access the graphs, or what exactly is happening?

Re: Nagios Output Not Graphing

Posted: Thu Nov 19, 2015 6:06 pm
by braindope
Is there any logs i need to check to verify some errors


The graph just stop generating even though i have an output in my checks

Re: Nagios Output Not Graphing

Posted: Thu Nov 19, 2015 6:17 pm
by Box293
If this is PNP4Nagios you need to check your spool folders to see if there is a build up of files.

This directory may need to be changed:

Code: Select all

ls -al /usr/local/nagios/var/spool/perfdata/ | wc -l
Is the npcd service running?

Please post your nagios.cfg file here.

Also, where is you pnp configs? They could be in /usr/local/nagios/etc/pnp/
Please post npcd.cfg and process_perfdata.cfg

Re: Nagios Output Not Graphing

Posted: Thu Nov 19, 2015 10:43 pm
by braindope
Hi Box,

I hope i do this correctly

service ncpd status
ncpd: unrecognized service



ls -la /usr/local/pnp4nagios/var/perfdata | wc -l
125

Re: Nagios Output Not Graphing

Posted: Thu Nov 19, 2015 10:57 pm
by Box293
braindope wrote:I hope i do this correctly

service ncpd status
ncpd: unrecognized service
Small spelling mistake. Try:

Code: Select all

service npcd status
What is the output of:

Code: Select all

ls -al /usr/local/pnp4nagios/var/spool | wc -l
Also, in your nagios commands, please post the definition of these two commands:
process-host-perfdata-file
process-service-perfdata-file


While this guide is for Nagios XI, the settings for increasing the logging verbosity are the same. Follow the FAQ entry below to increase the log level of process_perfdata and npcd:

http://support.nagios.com/wiki/index.ph ... leshooting

Wait 15 - 20 minutes and then get a tail of the logs:

Code: Select all

tail -250 /usr/local/pnp4nagios/var/perfdata.log > /tmp/perfdata.txt
tail -250 /usr/local/pnp4nagios/var/npcd.log
Send us a copy of /tmp/perfdata.txt and /tmp/npcd.txt

Don't forget to turn down the log level as per the FAQ when you are done!

Re: Nagios Output Not Graphing

Posted: Fri Nov 20, 2015 12:54 am
by braindope
Hi Box,

at first my my npcd is not running, then i just start it

ls -al /usr/local/pnp4nagios/var/spool | wc -l
3
I don't have ncpd logs :(

Re: Nagios Output Not Graphing

Posted: Fri Nov 20, 2015 10:42 am
by rkennedy
Since starting your npcd has the graph started working?

Re: Nagios Output Not Graphing

Posted: Sun Nov 22, 2015 8:15 pm
by braindope
Hi rkennedy,

Sorry for the late reply, still no graph on my nagios, i've restart httpd and nagios still same problem :(

Re: Nagios Output Not Graphing

Posted: Sun Nov 22, 2015 9:03 pm
by Box293
braindope wrote:at first my my npcd is not running, then i just start it
Did you have the debugging enabled when you did start it?