Nagios Output Not Graphing

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.
braindope
Posts: 80
Joined: Fri Sep 26, 2014 12:13 am

Nagios Output Not Graphing

Post 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:
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Output Not Graphing

Post by rkennedy »

Are you receiving a specific error message when trying to access the graphs, or what exactly is happening?
Former Nagios Employee
braindope
Posts: 80
Joined: Fri Sep 26, 2014 12:13 am

Re: Nagios Output Not Graphing

Post 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
Attachments
qmatri2.jpg
qmatri2.jpg (9.6 KiB) Viewed 2646 times
qmatri.jpg
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios Output Not Graphing

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
braindope
Posts: 80
Joined: Fri Sep 26, 2014 12:13 am

Re: Nagios Output Not Graphing

Post 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
Attachments
ncpd.cfg
(4.49 KiB) Downloaded 244 times
perfdata.cfg
(2.71 KiB) Downloaded 224 times
nagios.cfg
(45.84 KiB) Downloaded 234 times
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios Output Not Graphing

Post 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!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
braindope
Posts: 80
Joined: Fri Sep 26, 2014 12:13 am

Re: Nagios Output Not Graphing

Post 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 :(
Attachments
perfdata.txt
(60.07 KiB) Downloaded 213 times
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Output Not Graphing

Post by rkennedy »

Since starting your npcd has the graph started working?
Former Nagios Employee
braindope
Posts: 80
Joined: Fri Sep 26, 2014 12:13 am

Re: Nagios Output Not Graphing

Post by braindope »

Hi rkennedy,

Sorry for the late reply, still no graph on my nagios, i've restart httpd and nagios still same problem :(
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios Output Not Graphing

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked