Page 3 of 4

Re: Your session has timed out.

Posted: Tue Sep 22, 2015 12:36 am
by ranjitw
Hi ,

I have attached the requested files . Please review.

Regards,
Ranjit W

Re: Your session has timed out.

Posted: Tue Sep 22, 2015 9:56 am
by tgriep
Can you edit the process_perfdata.cfg file and change this line from

Code: Select all

LOG_LEVEL = 0
to

Code: Select all

LOG_LEVEL = 2
Save it out and that will start to add debug information to the log file.

Take a look at the debug file and post the errors you can find in it.

Re: Your session has timed out.

Posted: Wed Sep 23, 2015 5:19 am
by ranjitw
Hi,

I have changed the debug log level to 2 but perfdata.log file is not generated. Please help.

tail -50 /usr/local/nagios/var/perfdata.log
tail: cannot open `/usr/local/nagios/var/perfdata.log' for reading: No such file or directory

Regards,
Ranjit W

Re: Your session has timed out.

Posted: Wed Sep 23, 2015 9:55 am
by Box293
Try restarting npcd and check again.

Code: Select all

service npcd restart
Also, what is the file count at again?

Code: Select all

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

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

Re: Your session has timed out.

Posted: Fri Sep 25, 2015 3:41 am
by ranjitw
Hi ,

Below is the output for the commands:

ls -al /usr/local/nagios/var/spool/perfdata/ | wc -l
9248

ls -al /usr/local/nagios/var/spool/xidpe/ | wc -l
193036

Regards,
Ranjit W

Re: Your session has timed out.

Posted: Fri Sep 25, 2015 9:14 am
by Box293
You are going to need to run this command again:

Code: Select all

cd /usr/local/nagios/var/spool/xidpe/
for f in *; do rm -f $f; done
Then

Code: Select all

service npcd restart
Then after this watch the logs and see what is going on.

Re: Your session has timed out.

Posted: Mon Sep 28, 2015 2:11 am
by ranjitw
Hi ,

Have run the commands mentioned but still getting below message :

tail -50 /usr/local/nagios/var/perfdata.log
tail: cannot open `/usr/local/nagios/var/perfdata.log' for reading: No such file or directory

Please suggest,

Regards,
Ranjit W

Re: Your session has timed out.

Posted: Mon Sep 28, 2015 10:01 am
by Box293
Lets go back to basics.

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:

tail -250 /usr/local/nagios/var/perfdata.log > /tmp/perfdata.txt
tail -250 /usr/local/nagios/var/npcd.log > /tmp/npcd.txt

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: Your session has timed out.

Posted: Wed Sep 30, 2015 1:50 am
by ranjitw
Hi,

Thanks a lot for sharing detailed steps I could now capture the logs . I have attached it to the case.

Regards,
Ranjit W

Re: Your session has timed out.

Posted: Wed Sep 30, 2015 2:22 pm
by lmiltchev
Did removing the perfdata files from the "/usr/local/nagios/var/spool/xidpe/" directory and restarting the npcd help? What is the specific issue that you are currently having? Are you still having difficulties acceding the "http://x.x.x.x/nagiosxi/includes/compon ... w=services"?