freshness checks stop working periodically

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: freshness checks stop working periodically

Post by WillemDH »

Sean,

I'm having the issue again at this moment and it's again on an event from 07:02.

I've been looking for the SQL query and indeed my password has chaged, so I updated the query which gave me no results..

Code: Select all

echo "select * from nagios_timedevents; select * from nagios_timedeventqueue;" | mysql -pCorrectPassword nagios
So I know at 07:00 exact there is a scheduled apply configuration. As a test I changed the schedule, so it now runs at 07:15 instead of at 07:00.

I added another screenshot. As you can see everything seemed to work well for some time. States were always reset after 5 minutes. Untill 13/05 where freshnesh apprently no longer resets the state..

I did a minor unrelated change which needed an apply and just noticed that suddenly the state did reset to an OK state at 10:32. See screenshot. Please let me know what else I can do to troubleshoot this.

Grtz
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: freshness checks stop working periodically

Post by WillemDH »

So, very weird, but after changing the automatic apply from 07:00 to 07:15, it appears the state gets reset right after the apply configuration... Check the screenshot. Please advice what to do with this and make my XI reset states after 5 minutes as defined in my config by the freshnesh directive..
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: freshness checks stop working periodically

Post by ssax »

Does it happen every time you apply config or just when run through Reactor?
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: freshness checks stop working periodically

Post by WillemDH »

Not sure what you mean.. the apply is not the cause.it seems like the apply is the solution to get it working again?
Nagios XI 5.8.1
https://outsideit.net
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: freshness checks stop working periodically

Post by tgriep »

Do you have active checks enabled for that service?
If the check results is found to be stale, Nagios will force an active check of the host or service by executing the command specified by in the host or service definition.
https://assets.nagios.com/downloads/nag ... hness.html
Check that and see if this helps out on this issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: freshness checks stop working periodically

Post by WillemDH »

Active checks were not enabled for these services Tom, becasue the documentation says:
An active check is executed even if active checks are disabled on a program-wide or host- or service-specific basis.
Anyway I just enabled acive checks for these services. Active check interval is 1440, retry and max check is 1. Who knows it might help..

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: freshness checks stop working periodically

Post by tgriep »

Just trying one more thing to troubleshoot this. Let us know how it works out.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked