The best way to test notifications

Terry td3201 at gmail.com
Tue Mar 14 18:50:04 CET 2006


I set up a test service in nagios.  The service checks for the webmin
port.  Then just set up in cron to shutdown and startup webmin.  Leave
it shutdown long enough to trigger a notification in nagios.

On 3/14/06, Jason Martin <jhmartin at toger.us> wrote:
> On Tue, Mar 14, 2006 at 09:28:28AM -0800, Mike Koponick wrote:
> > It seems crude to me to perform this function in order to get a "test"
> > notification. Anyone have any suggestions or ideas? Is this something
> > that could be in 3.0?
> You can echo the necessary external commands into the nagios.cmd
> file  to cause Nagios to believe there is a failure. Look up
> 'passive check results'.
>
> -Jason Martin
> --
> You can't go home again, unless you set $HOME.
> This message is PGP/MIME signed.
>
>
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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