Page 1 of 1

Performance graphs

Posted: Wed Mar 22, 2017 9:58 am
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

Re: Performance graphs

Posted: Wed Mar 22, 2017 10:30 am
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.

Re: Performance graphs

Posted: Fri Mar 24, 2017 9:07 am
by avandemore
I have received your profile. What is the output of:

Code: Select all

# service npcd status

Re: Performance graphs

Posted: Fri Mar 31, 2017 8:49 am
by patalenszki.zoltan
Sorry for delayed answer!

npcd (pid 2220) is running...

Re: Performance graphs

Posted: Fri Mar 31, 2017 11:46 am
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

Re: Performance graphs

Posted: Wed Apr 05, 2017 5:27 am
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

Re: Performance graphs

Posted: Wed Apr 05, 2017 12:32 pm
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'