Re: [Nagios-users] Sending Notifications on Soft (from Passive Checks)

2007-01-16 Thread Hugo van der Kooij
On Tue, 16 Jan 2007, Brian A. Seklecki wrote:


 Nevermind -- just Submit 3 passive service checks and the state
 transitions from Soft - Hard;

 What a PITA from the web interface.  A macro would be great; a checkbox.

Wouldn't this be related to the default retry counter? If you set the 
retry counter to 1 will it change the amount of passive check results one 
has to submit?

Haven't tried anything but just thinking out loud.

Hugo.

-- 
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
This message is using 100% recycled electrons.

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Sending Notifications on Soft (from Passive Checks)

2007-01-16 Thread Brian A. Seklecki

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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Sending Notifications on Soft (from Passive Checks)

2007-01-16 Thread Andy Shellam (Mailing Lists)
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.phpp=sourceforgeCID=DEVDEV
 ___
 Nagios-users mailing list
 Nagios-users@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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Sending Notifications on Soft (from Passive Checks)

2007-01-16 Thread Andy Shellam (Mailing Lists)
Hugo van der Kooij wrote:
 On Tue, 16 Jan 2007, Brian A. Seklecki wrote:

   
 Nevermind -- just Submit 3 passive service checks and the state
 transitions from Soft - Hard;

 What a PITA from the web interface.  A macro would be great; a checkbox.
 

 Wouldn't this be related to the default retry counter? If you set the 
 retry counter to 1 will it change the amount of passive check results one 
 has to submit?

 Haven't tried anything but just thinking out loud.

 Hugo.
   

Ah, hadn't seen your reply Hugo before I replied - yep that's basically 
what I've suggested.
My system currently has a retry of 1 for each service, and when you 
submit a passive check through the web interface, it does result in a 
HARD state as opposed to SOFT - as expected.


-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Sending Notifications on Soft (from Passive Checks)

2007-01-16 Thread Brian A. Seklecki

Nevermind -- just Submit 3 passive service checks and the state 
transitions from Soft - Hard;

What a PITA from the web interface.  A macro would be great; a checkbox.

~BAS

On Tue, 16 Jan 2007, 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.


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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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