Is there a testing or debugging mode for nagios?

Christian Theil Have christiantheilhave at gmail.com
Thu Jul 28 17:05:16 CEST 2005


Hi

I haven't heard of such tools, but here's a couple of ideas:

You could provoke a state by submitting passive check results instead
of actively performing checks. Combined with active_checks_enabled =
0, this would defeat nagios scheduling...
Take a look at: http://nagios.sourceforge.net/docs/1_0/passivechecks.html

You could have something like a top-level service template with
active_checks_enabled = 0 for testing...

Also, you could change the notification command used. Your contacts
have service_notification_commands and host_notification_commands.
Just make them point to your test notification-command instead.

Hope this was helpful.

Regards,
Christian.

On 7/28/05, Ralph.Grothe at itdz-berlin.de <Ralph.Grothe at itdz-berlin.de> wrote:
> Hello,
> 
> this morning I received the contempt of my fellow admins because
> nagios swamped their mailboxes
> over night.
> Well, it wasn't of course nagios' fault but mine
> because I defined a template service wherein I referenced a
> conact_groups that comprised all of us.
> When later adding new services I simply forgot to override this
> attribute with a contact group that contained only my mail
> account (until I've come to terms with configuring).
> 
> That's why I desperately miss a means to run a nagios daemon that
> isn't scheduling the checks by itself
> but rather by manual invocation.
> I'd also wish to test out alerting and event handling myself by
> raising events (e.g. to see where in the end the notification is
> delivered to).
> 
> Does nagios provide special utilities, or switches to support
> (high level) debugging that way?
> 
> Regards
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO September
> 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> 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
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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