Why "Current Attempt" unchanged?

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
xerez
Posts: 77
Joined: Wed Apr 22, 2015 7:50 am

Why "Current Attempt" unchanged?

Post by xerez »

I turn off a host and its status changed to "DOWN" and the state to "SOFT". All is fine until the state changed to "HARD". Then the "Current Attempt" is "1/10" but no changes. Why?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Why "Current Attempt" unchanged?

Post by tmcdonald »

What version of Core are you using?
Former Nagios employee
xerez
Posts: 77
Joined: Wed Apr 22, 2015 7:50 am

Re: Why "Current Attempt" unchanged?

Post by xerez »

Nagios® Core™ 4.0.4
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Why "Current Attempt" unchanged?

Post by jdalrymple »

That's the logic of Nagios. When a host/service is in a HARD state the check_attempt counter does NOT increment:

http://nagios.sourceforge.net/docs/nagi ... types.html
xerez
Posts: 77
Joined: Wed Apr 22, 2015 7:50 am

Re: Why "Current Attempt" unchanged?

Post by xerez »

Thanks.
Locked