difference between Hard state and Soft state

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
alidar
Posts: 26
Joined: Wed Apr 11, 2018 7:15 am

difference between Hard state and Soft state

Post by alidar »

Hello,

Please tell me in easy way what is the difference between hard state and soft state. thanks
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: difference between Hard state and Soft state

Post by mcapra »

Here's the official documentation:
https://assets.nagios.com/downloads/nag ... types.html

The official documentation includes all of the cases in which HARD/SOFT states are triggered. There's nothing much shorter that is also comprehensive.

In brief:
SOFT states: When a problem is detected, but the number of times that problem has been detected is less than the max_check_attempts directive.
HARD states: When a problem is detected and the number of times that problem has been detected exceeds the max_check_attempts directive.
Former Nagios employee
https://www.mcapra.com/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: difference between Hard state and Soft state

Post by scottwilkerson »

Thanks @mcapra
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
alidar
Posts: 26
Joined: Wed Apr 11, 2018 7:15 am

Re: difference between Hard state and Soft state

Post by alidar »

Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: difference between Hard state and Soft state

Post by scottwilkerson »

Locking Thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked