Your session has timed out.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Your session has timed out.

Post by ranjitw »

Hi ,

I have attached the requested files . Please review.

Regards,
Ranjit W
You do not have the required permissions to view the files attached to this post.
Regards,
Ranjit W
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Your session has timed out.

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Your session has timed out.

Post 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
Regards,
Ranjit W
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Your session has timed out.

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Your session has timed out.

Post 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
Regards,
Ranjit W
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Your session has timed out.

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Your session has timed out.

Post 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
Regards,
Ranjit W
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Your session has timed out.

Post 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!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Your session has timed out.

Post 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
You do not have the required permissions to view the files attached to this post.
Regards,
Ranjit W
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Your session has timed out.

Post 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"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked