Flipping not flapping

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
briandent
Posts: 2
Joined: Mon Dec 29, 2014 3:57 pm

Flipping not flapping

Post by briandent »

I have a NAGIOS server running on CentOS 6.7 that periodically flips states between critical and OK. As an example, you have a check-host-alive defined for the LAN side of a router. Ping to the router appears to time out for the max_check_attempts and the state is changed to CRITICAL. NAGIOS sends an email and/or txt message notifying you of a problem. Immediately following, the state returns to OK and NAGIOS sends another email and/or txt message notifying you. This happens so quickly the emails and txts arrive together.

It doesn't make sense that a CRITICAL would immediately be followed by an OK.

Any thoughts on what might cause this would be greatly appreciated. Thank you.
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Flipping not flapping

Post by nozlaf »

share config? in particular flap detection settings?
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Flipping not flapping

Post by rkennedy »

Yes, as @nozlaf mentioned - please post your related host / service definitions. Also post any templates that are inherited by the service.
Former Nagios Employee
Locked