Passive check freshness check not working
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Passive check freshness check not working
I have a set of passive checks that run on various servers every 15 minutes and send data to Nagios. For these checks I have a freshness threshold of 1 hour set so that if no passive results are received after an hour the status is changed to Warning and an alert is sent about it. For some reason all of these checks are running that script (that's only supposed to be ran after the 1 hour threshold is hit) after only 1 minute. Every time I restart the nagios service the checks are greed, and then 1 minute later they all run the freshness check script.
Here's the check settings for the service check: This is XI 5.3.0.
Here's the check settings for the service check: This is XI 5.3.0.
You do not have the required permissions to view the files attached to this post.
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Passive check freshness check not working
I also cannot seem to enable/disable notifications. This is the second time in about a month or so I've had similar issues. Last time the only fix was to reboot the server completely, obviously not ideal. I am probably going to have to do the same here as erroneous alerts are continuing to be sent for checks that should not be alerting.
Edit: Ignore this issue. Just rebooted the server and I seem to be able to enable notifications again. The freshness check issue still remains though.
Edit: Ignore this issue. Just rebooted the server and I seem to be able to enable notifications again. The freshness check issue still remains though.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Passive check freshness check not working
Probably a silly question but let's just cross it off the list, did you do an Apply Configuration?
If so what is the name of host and service which is misbehaving?
XI > Admin > System Profile > Download Profile
Please include the zip file in your response. You can PM myself or other support personnel if you have privacy concerns.
Need the profile to cross reference the host/service.
I remember your previous complaint about enable/disable notifications, we can tackle that later if you wish.
If so what is the name of host and service which is misbehaving?
XI > Admin > System Profile > Download Profile
Please include the zip file in your response. You can PM myself or other support personnel if you have privacy concerns.
Need the profile to cross reference the host/service.
I remember your previous complaint about enable/disable notifications, we can tackle that later if you wish.
Previous Nagios employee
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Passive check freshness check not working
The name of the service is Glodengate Processes and the host names are:
lisaerp01p on lisprod02g
lisdbms13p on lisprod04g
lisdbms14p on lisprod04g
lisdbqy01p on lisprod04g
lisdbqy02p on lisprod04g
lisdbqy13p on lisprod04g
lishadb13p on lisprod02g
lishadb26p on lisprod04g
lisaerp01p on lisprod02g
lisdbms13p on lisprod04g
lisdbms14p on lisprod04g
lisdbqy01p on lisprod04g
lisdbqy02p on lisprod04g
lisdbqy13p on lisprod04g
lishadb13p on lisprod02g
lishadb26p on lisprod04g
Last edited by avandemore on Wed Dec 07, 2016 10:54 am, edited 1 time in total.
Reason: Removed profile
Reason: Removed profile
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Passive check freshness check not working
I have received the profile and am looking through it. Has this worked in the past?
Previous Nagios employee
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Passive check freshness check not working
Has been working fine for a little over a year now. Occasionally Nagios will stop receiving passive results for these checks for unknown reasons, but that's why I implemented the freshness check. Usually when Nagios stops receiving passive results from the script all I have to do is apply config to fix it. That is not the case since yesterday shortly before I started this post.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Passive check freshness check not working
Please set the service to this:
Retain Status information = On
Is Volatile = Off
Test and report the results.
Retain Status information = On
Is Volatile = Off
Test and report the results.
Previous Nagios employee
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Passive check freshness check not working
After making the change and applying config, 3 or 4 of the checks went green for about 30 seconds and then back to the warning: no passive checks received alert.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Passive check freshness check not working
Please set check_interval =< the interval checks are reported, in your case say 20 minutes.
If you look in /usr/local/nagios/var/retention.dat does the service in question have the correct last_check= value?
Also see here:
https://assets.nagios.com/downloads/nag ... tions.html
If you look in /usr/local/nagios/var/retention.dat does the service in question have the correct last_check= value?
Also see here:
https://assets.nagios.com/downloads/nag ... tions.html
Previous Nagios employee
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Passive check freshness check not working
It's already set to 1 minute.
Yes.
And what, specifically am I looking at on this page? I'm mostly confused as to why this check suddenly decided to stop functioning when it's been working fine for over a year and I haven't changed anything that would affect this.
Yes.
And what, specifically am I looking at on this page? I'm mostly confused as to why this check suddenly decided to stop functioning when it's been working fine for over a year and I haven't changed anything that would affect this.