Your session has timed out.
Re: Your session has timed out.
Please find below requested outputs:
grep perfdata /usr/local/nagios/etc/pnp/process_perfdata.cfg# Config File for process_perfdata.pl
# $Id: process_perfdata.cfg-sample.in 520 2008-09-16 12:50:10Z pitchfork $
# process_perfdata.pl Timout
RRDPATH = /usr/local/nagios/share/perfdata
LOG_FILE = /usr/local/nagios/var/perfdata.log
You have new mail in /var/mail/root
ls -l /usr/local/nagios/var/total 3196
drwxrwxr-x 2 nagios nagios 4096 Sep 13 23:59 archives
-rw-r--r-- 1 nagios nagios 0 Sep 14 07:57 host-perfdata
-rw-r--r-- 1 nagios nagios 34 Sep 11 09:34 nagios.configtest
-rw-r--r-- 1 nagios nagios 6 Sep 11 09:34 nagios.lock
-rw-r--r-- 1 nagios nagios 449032 Sep 14 07:57 nagios.log
srwxr-xr-x 1 nagios nagios 0 Sep 8 16:35 ndo.sock
-rw-r--r-- 1 nagios nagios 5 Sep 8 16:35 ndo2db.lock
-rw-r--r-- 1 nagios nagios 0 Sep 11 09:34 ndomod.tmp
-rw-r--r-- 1 nagios nagios 2479384 Sep 11 08:00 npcd.log
-rw-r--r-- 1 nagios nagios 69378 Sep 11 09:34 objects.cache
-rw-r--r-- 1 nagios nagios 69378 Sep 11 09:34 objects.precache
-rw------- 1 nagios nagios 78600 Sep 14 07:34 retention.dat
drwxrwsr-x 2 nagios nagcmd 4096 Sep 11 09:34 rw
-rw-r--r-- 1 nagios nagios 1621 Sep 14 07:57 service-perfdata
drwxr-xr-x 5 nagios nagios 4096 Aug 4 12:04 spool
drwxr-xr-x 2 nagios nagios 4096 Sep 8 16:25 stats
-rw-rw-r-- 1 nagios nagios 78848 Sep 14 07:57 status.dat
grep perfdata /usr/local/nagios/etc/pnp/process_perfdata.cfg# Config File for process_perfdata.pl
# $Id: process_perfdata.cfg-sample.in 520 2008-09-16 12:50:10Z pitchfork $
# process_perfdata.pl Timout
RRDPATH = /usr/local/nagios/share/perfdata
LOG_FILE = /usr/local/nagios/var/perfdata.log
You have new mail in /var/mail/root
ls -l /usr/local/nagios/var/total 3196
drwxrwxr-x 2 nagios nagios 4096 Sep 13 23:59 archives
-rw-r--r-- 1 nagios nagios 0 Sep 14 07:57 host-perfdata
-rw-r--r-- 1 nagios nagios 34 Sep 11 09:34 nagios.configtest
-rw-r--r-- 1 nagios nagios 6 Sep 11 09:34 nagios.lock
-rw-r--r-- 1 nagios nagios 449032 Sep 14 07:57 nagios.log
srwxr-xr-x 1 nagios nagios 0 Sep 8 16:35 ndo.sock
-rw-r--r-- 1 nagios nagios 5 Sep 8 16:35 ndo2db.lock
-rw-r--r-- 1 nagios nagios 0 Sep 11 09:34 ndomod.tmp
-rw-r--r-- 1 nagios nagios 2479384 Sep 11 08:00 npcd.log
-rw-r--r-- 1 nagios nagios 69378 Sep 11 09:34 objects.cache
-rw-r--r-- 1 nagios nagios 69378 Sep 11 09:34 objects.precache
-rw------- 1 nagios nagios 78600 Sep 14 07:34 retention.dat
drwxrwsr-x 2 nagios nagcmd 4096 Sep 11 09:34 rw
-rw-r--r-- 1 nagios nagios 1621 Sep 14 07:57 service-perfdata
drwxr-xr-x 5 nagios nagios 4096 Aug 4 12:04 spool
drwxr-xr-x 2 nagios nagios 4096 Sep 8 16:25 stats
-rw-rw-r-- 1 nagios nagios 78848 Sep 14 07:57 status.dat
Regards,
Ranjit W
Ranjit W
Re: Your session has timed out.
It could be that the log_level is set to silent so that is why the perfdata.log file is not in that folder.
If you want, you can check it by running the following.
Here are what the settings mean.
If it is set to slient, you can change that entry to 1 to enable normal logging.
If you want, you can check it by running the following.
Code: Select all
grep LOG_LEVEL /usr/local/nagios/etc/pnp/process_perfdata.cfgCode: Select all
Loglevel 0=silent 1=normal 2=debugBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Your session has timed out.
Hi,
Currently the log_level is set to 0 I have now set the log_level to 1.
grep LOG_LEVEL /usr/local/nagios/etc/pnp/process_perfdata.cfg
LOG_LEVEL = 0
perfdata.log file is not yet created under below location. What kind of activity do I need to perform for getting it logged?
/usr/local/nagios/var/
Many thanks,
Regards,
Ranjit W
Currently the log_level is set to 0 I have now set the log_level to 1.
grep LOG_LEVEL /usr/local/nagios/etc/pnp/process_perfdata.cfg
LOG_LEVEL = 0
perfdata.log file is not yet created under below location. What kind of activity do I need to perform for getting it logged?
/usr/local/nagios/var/
Many thanks,
Regards,
Ranjit W
Regards,
Ranjit W
Ranjit W
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Your session has timed out.
Try restarting npcd:
If that doesn't work you may have too many spooled performance data files to process, please run these commands on your Nagios XI host and send the output:
Code: Select all
service npcd restartCode: Select all
ls -al /usr/local/nagios/var/spool/perfdata/ | wc -l
ls -al /usr/local/nagios/var/spool/xidpe/ | wc -lAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Your session has timed out.
Hi Box293 ,
I have restarted npcd service but still the perfdata.log file is not yet created under /usr/local/nagios/var/
Below is the output for commands:
ls -al /usr/local/nagios/var/spool/perfdata/ | wc -l
9248
ls -al /usr/local/nagios/var/spool/xidpe/ | wc -l
77111
Regards,
Ranjit W
I have restarted npcd service but still the perfdata.log file is not yet created under /usr/local/nagios/var/
Below is the output for commands:
ls -al /usr/local/nagios/var/spool/perfdata/ | wc -l
9248
ls -al /usr/local/nagios/var/spool/xidpe/ | wc -l
77111
Regards,
Ranjit W
Regards,
Ranjit W
Ranjit W
Re: Your session has timed out.
Can you run the following commands again and post the output so we can see if the number of files are different in those folders?
We want to check to see if they are decreasing as that will tell us that the performance data is getting processed.
Can you run this command so we can see the npcd log entries?
The perfdata.log file is generated by the process_perfdata perl script that is run by the nagios process.
Can you post your nagios.cfg file so we can review it?
We want to check to see if they are decreasing as that will tell us that the performance data is getting processed.
Code: Select all
ls -al /usr/local/nagios/var/spool/perfdata/ | wc -l
ls -al /usr/local/nagios/var/spool/xidpe/ | wc -lCode: Select all
tail -50 /usr/local/nagios/var/npcd.logCan you post your nagios.cfg file so we can review it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Your session has timed out.
Hi ,
I have run the below commands again and the output is as follows :
ls -al /usr/local/nagios/var/spool/perfdata/ | wc -l
9248
ls -al /usr/local/nagios/var/spool/xidpe/ | wc -l
87338
I am attaching the nagios.cfg file and tail -50 /usr/local/nagios/var/npcd.log outputs.
Regards,
Ranjit W
I have run the below commands again and the output is as follows :
ls -al /usr/local/nagios/var/spool/perfdata/ | wc -l
9248
ls -al /usr/local/nagios/var/spool/xidpe/ | wc -l
87338
I am attaching the nagios.cfg file and tail -50 /usr/local/nagios/var/npcd.log outputs.
Regards,
Ranjit W
You do not have the required permissions to view the files attached to this post.
Regards,
Ranjit W
Ranjit W
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Your session has timed out.
It looks like the spooled files are increasing. Let's delete the spooled files and see if that fixes the problem:
Wait, this may take some time
Wait, this may take some time
Code: Select all
cd /usr/local/nagios/var/spool/perfdata/
for f in *; do rm -f $f; doneCode: Select all
cd /usr/local/nagios/var/spool/xidpe/
for f in *; do rm -f $f; doneAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Your session has timed out.
Hi Box293 ,
I have performed the activities mentioned below but still perfdata.log file is not yet created under /usr/local/nagios/var/
Regards,
Ranjit W
I have performed the activities mentioned below but still perfdata.log file is not yet created under /usr/local/nagios/var/
Regards,
Ranjit W
Regards,
Ranjit W
Ranjit W
Re: Your session has timed out.
Can you upload the following files? They are the config settings and the perl script that should create / log the performance entries to the log file.
Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfg
/usr/local/nagios/libexec/process_perfdata.plBe sure to check out our Knowledgebase for helpful articles and solutions!