Sending Notifications on Soft (from Passive Checks)

Andy Shellam (Mailing Lists) andy.shellam-lists at mailnetwork.co.uk
Tue Jan 16 20:13:26 CET 2007


Set a maximum attempts to 1 in your service definitions, then any change 
in state results in a HARD state.



Brian A. Seklecki wrote:
> Whenver the CGI submits passive check results; the state transition is 
> always "SOFT".
>
> If you submit a "Critical" down passive result, you then get "SERVICE 
> ALERT" as state "SOFT", which does not result in actually exec'ing the 
> CONTACT commands.
>
> Is there any way to make these external command result result in "HARD"?
>
>
> [1168966519] EXTERNAL COMMAND: 
> PROCESS_SERVICE_CHECK_RESULT;NCCluster04;Foo Web Cluster Health 
> Check;2;TestPagers|TestPagers
>
> [1168966525] SERVICE ALERT: NCCluster04;Foo Web Cluster Health 
> Check;CRITICAL;SOFT;1;TestPagers
>
> TIA,
>
> l8*
>  	-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
>  	       http://www.spiritual-machines.org/
>
> "...from back in the heady days when "helpdesk" meant nothing, "diskquota"
> meant everything, and lives could be bought and sold for a couple of pages
> of laser printout - and frequently were."
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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
>
> !DSPAM:37,45ad1505137103131262399!
>
>
>   


-- 
Andy Shellam
NetServe Support Team

the Mail Network
"an alternative in a standardised world"

p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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