How to set hard state from passive service check?
Marc Powell
marc at ena.com
Mon Feb 8 16:44:36 CET 2010
On Feb 8, 2010, at 8:49 AM, Peter Klausner wrote:
> I want passive checks to set a HARD state immediately. Active checks should apply
> the max_check_attempts setting.
>
> Is there a way to achieve this?
Not that I know of without creating a separate service definition. Passive service checks are treated exactly the same as active service checks in this regard.
> I found passive_host_checks_are_soft, but it applies only to hosts.
Any passive host check results in an immediate hard state. This option makes them more service-like for those who want/need that functionality. There are historical reasons why host checks are treated this way that never applied to services...
--
Marc
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list