max_check_result_file_age

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Re: max_check_result_file_age

Postby scottwilkerson » Wed Nov 13, 2019 9:05 am

That looks correct
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 17023
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: max_check_result_file_age

Postby sandeepatil » Fri Nov 15, 2019 11:37 am

Still not having issue.

Final confirmation will be on Monday
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am

Re: max_check_result_file_age

Postby scottwilkerson » Fri Nov 15, 2019 12:34 pm

sandeepatil wrote:Still not having issue.

Final confirmation will be on Monday

Sounds good, let us know
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 17023
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: max_check_result_file_age

Postby sandeepatil » Tue Nov 19, 2019 7:06 am

Today we are facing same issue, with below permissions.

[nagios@server spool]$
[nagios@server spool]$ pwd
/opt/app/nagios/var/spool
[nagios@server spool]$ ls -l
total 93280
drwxrwxr-x 2 nagios nagios 95514624 Nov 19 07:05 checkresults
[nagios@server spool]$
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am

Re: max_check_result_file_age

Postby scottwilkerson » Tue Nov 19, 2019 7:40 am

Please attach a copy of your nagios.cfg
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 17023
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: max_check_result_file_age

Postby sandeepatil » Tue Nov 19, 2019 12:00 pm

Please find attached nagios.cfg
Attachments
nagios.cfg.txt
Nagjos config file
(5.24 KiB) Downloaded 3 times
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am

Re: max_check_result_file_age

Postby scottwilkerson » Tue Nov 19, 2019 12:07 pm

Do these get picked up at all or does the file count only increase?
if you run this multiple time does it only go up?
Code: Select all
ls /opt/app/nagios/var/spool/checkresults |wc -l


Do you see any errors in the nagios.log pertaining to the checkresults ?

What is the output of these commands?
Code: Select all
ls -ld /opt/app/nagios/var/spool
ls -ld /opt/app/nagios/var
ls -ld /opt/app/nagios
ls -ld /opt/app
ls -ld /opt
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 17023
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: max_check_result_file_age

Postby sandeepatil » Tue Nov 19, 2019 12:15 pm

No error found in nagios.log

[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
1458
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
2269
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
3512
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
3919
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
5088
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
5896
[nagios@server etc]$
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
4637
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
3065
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
1970
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
3220
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
3691
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
4745
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
6167
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
5882
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
3548
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
3037
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
3941
[nagios@server etc]$ ls /opt/app/nagios/var/spool/checkresults |wc -l
4932
[nagios@server etc]$



[nagios@server etc]$ ls -ld /opt/app/nagios/var/spool
drwxrwxr-x 3 nagios nagios 4096 Nov 19 08:01 /opt/app/nagios/var/spool
[nagios@server etc]$ ls -ld /opt/app/nagios/var/
drwxrwxr-x 7 nagios nagios 4096 Nov 19 12:12 /opt/app/nagios/var/
[nagios@server etc]$ ls -ld /opt/app/nagios/
drwxrwxr-x 13 nagios nagios 4096 Jul 3 12:01 /opt/app/nagios/
[nagios@server etc]$ ls -ld /opt/app/
drwxr-xr-x 9 root root 4096 Dec 28 2018 /opt/app/
[nagios@server etc]$ ls -ld /opt/
drwxr-xr-x 13 root root 4096 Mar 15 2019 /opt/
[nagios@server etc]$
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am

Re: max_check_result_file_age

Postby scottwilkerson » Tue Nov 19, 2019 12:35 pm

So it does appear they are being picked up by the nagios process
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 17023
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: max_check_result_file_age

Postby sandeepatil » Tue Nov 19, 2019 1:11 pm

I not getting what you are saying.

Please explain details,
sandeepatil
 
Posts: 196
Joined: Tue Dec 27, 2016 3:12 am

PreviousNext

Return to Nagios Core

Who is online

Users browsing this forum: Alan and 21 guests