nsca query

Hugo van der Kooij hvdkooij at vanderkooij.org
Mon Dec 18 08:26:11 CET 2006


On Mon, 18 Dec 2006, Barton, Murray M. wrote:

> I have setup nsca and I can send alerts to nagios OK.  Here is the
> problem I have-
>
> 1. send critical/warning alert to nagios
> 2. confirm alert is displayed
> 3. send OK status to nagios
> 4. confirm nagios displays status OK
> 5. time passes
> 6. nagios displays the item in warning status with alarm message from 1.
> previously.
>
>
> I have pasted the section out of the nagios services.cfg below (it's
> basically straight out of the doco...)

Did you check out the passive mode section of the manual
http://nagios.sourceforge.net/docs/2_0/passivechecks.html ?

> What I really want nagios to do at point 6 is to keep on displaying
> what-ever it was sent last until I send it something else.  (I have over
> 200 hosts with many services and I don't want all of them polling nagios
> every x minutes).  Is there are a configuration option to do thist?

Unless I am mistaken this should the default with your config. But I 
suggest you put everything in your service definition first before you 
start playing with templates.

And which Nagios version are you running?

Hugo.

-- 
 	hvdkooij at vanderkooij.org	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.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