Performance graphs

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
patalenszki.zoltan
Posts: 40
Joined: Tue Sep 13, 2016 9:16 am

Performance graphs

Post by patalenszki.zoltan »

Dear Support,

I've got "No performance graphs were found for this service. If you have just started monitoring this object then it may take up to 15 minutes for the performance graphs to appear." message instead of performance graphs.
I did notfind any difference between services where this graph exists or does not.

I've checked https://support.nagios.com/kb/article.php?id=9 but it was not relevant for me.
LOG_LEVEL = 2 in our config but i last entry is from year 2014 in /usr/local/nagios/var/perfdata.log

Could you please help me where should i find the difference or the reason for this problem.

Regards,
Zoltan
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Performance graphs

Post by avandemore »

XI > Admin > System Profile > Download Profile

Please include the zip file in your response. You can PM myself or other support personnel if you have privacy concerns.
Previous Nagios employee
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Performance graphs

Post by avandemore »

I have received your profile. What is the output of:

Code: Select all

# service npcd status
Previous Nagios employee
patalenszki.zoltan
Posts: 40
Joined: Tue Sep 13, 2016 9:16 am

Re: Performance graphs

Post by patalenszki.zoltan »

Sorry for delayed answer!

npcd (pid 2220) is running...
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Performance graphs

Post by mcapra »

Can you share the output of the following commands executed from the CLI of your Nagios XI machine:

Code: Select all

ps aux | grep php
cat /usr/local/nagios/etc/nagios.cfg
cat /usr/local/nagios/etc/commands.cfg | grep perfdata

ls /usr/local/nagios/var/spool/perfdata/ | wc -l
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
Former Nagios employee
https://www.mcapra.com/
patalenszki.zoltan
Posts: 40
Joined: Tue Sep 13, 2016 9:16 am

Re: Performance graphs

Post by patalenszki.zoltan »

Please find here:
1.txt
: ps aux | grep php
nagios.cfg
: cat /usr/local/nagios/etc/nagios.cfg
3.txt
: cat /usr/local/nagios/etc/commands.cfg | grep perfdata

ls /usr/local/nagios/var/spool/perfdata/ | wc -l
0
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
0

Thanks,
Zoltan
You do not have the required permissions to view the files attached to this post.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Performance graphs

Post by mcapra »

Can you share the outputs of these commands:

Code: Select all

service npcd restart
ls -al /usr/local/nagios/var/spool/
su nagios
/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl
/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA
exit
I would also run this and watch it for a few minutes. See if the number increases/decreases or remains at 0.

Code: Select all

watch 'ls /usr/local/nagios/var/spool/perfdata/ | wc -l'
Former Nagios employee
https://www.mcapra.com/
Locked