Page 2 of 2

Re: Not getting graphs for services

Posted: Wed Mar 23, 2016 9:04 am
by tgriep
Something happened to the following folder. It was there yesterday but now you are getting errors messages about it.

Code: Select all

/usr/local/nagios/var/spool/xidpe
Try this to see if this resolves the issue.

Code: Select all

mkdir /usr/local/nagios/var/spool/xidpe
chown nagios.nagios /usr/local/nagios/var/spool/xidpe
chmod 755 /usr/local/nagios/var/spool/xidpe
Then run this so we can see if the other folders are there, post the output.

Code: Select all

ls -l /usr/local/nagios/var/spool/
If the error is gone from this log

Code: Select all

tail /usr/local/nagiosxi/var/perfdataproc.log
Wait 20 minutes and see if the graphs start to populate.

Re: Not getting graphs for services

Posted: Fri Mar 25, 2016 12:09 am
by sarfarosh
Awaiting your response.

Re: Not getting graphs for services

Posted: Fri Mar 25, 2016 12:13 am
by sarfarosh
Hi,

This folder "/usr/local/nagios/var/spool/xidpe/" is already there. Refer the below code :

Code: Select all

# ls -l /usr/local/nagios/var/spool/
total 732
drwxrwsr-x. 2 nagios nagcmd   4096 Mar 24 11:37 checkresults
drwxr-xr-x. 2 nagios nagios 729088 Mar 25 10:40 perfdata
drwxr-xr-x. 2 nagios nagios  12288 Mar 25 10:40 xidpe
[root@Synoptics ~]# ll /usr/local/nagios/var/spool/xidpe
total 0
[root@Synoptics ~]# tail /usr/local/nagiosxi/var/perfdataproc.log
Outbound data DISABLED Fri, 25 Mar 2016 10:40:01 +0530
mv: cannot stat `/usr/local/nagios/var/spool/xidpe/*': No such file or directory
mv: cannot stat `/usr/local/nagios/var/spool/xidpe/*': No such file or directory
[
I think that we are getting above error messages, because there is no any file inside "xidpe".

What to do now???

Re: Not getting graphs for services

Posted: Fri Mar 25, 2016 10:50 am
by tgriep
Can you run the following command and post the output?

Code: Select all

grep -i http /usr/local/nagios/var/perfdata.log
Then can you post the following files so we can view them?

Code: Select all

/usr/local/nagios/etc/pnp/npcd.cfg
/usr/local/nagios/etc/pnp/process_perfdata.cfg