Dependencies and event handlers
Mark Maas
mark at menem.mine.nu
Wed Nov 24 12:37:47 CET 2004
Tedman Eng wrote:
|> 1.) Are services that are associated with a host automagicly
|> dependent on that host? So that if the host goes down, you only get
|> notifications for that host? And not all the services on it? I could
|> try ofcourse, but my users won't be happy ;-)
| 1) You're correct. Services that belong to a host will not notify
if the
| host itself is the one with problems. Host checking, however,
does not
| happen unless one of that host's services is in a non-OK state.
Cool thanks, that's clear now.
|> 2.) Is there an easier way to run event-handlers on remote hosts? Or
|> better put, the even-handler is ofcourse run on the nagios machine
|> itself but can the script/program that get's called by the
|> even-handler for instance restart services on remote hosts?
|
| 2) The methods to use for remote event handlers are the same that
you would
| use for remote plugin execution: nrpe or ssh. My personal
preference is
| SSH, but either way works about the same.
|
So it's SSH I would prefer. Could anyone perhaps share on of there
scripts that is used in conjunction with SSH? And also explain to me
how to exchange key's on both computers so scripts don't need to
enter passwords?
Thanks again!
Mark
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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