Dependencies and event handlers
Mark Maas
mark at menem.mine.nu
Wed Nov 24 07:55:03 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBpDBH8SFyUHWnEvMRAvfBAKCrs/rqL5/hgpyrgmCibo5TJsvMCgCghtCT
zxdqBrARQJT8CBqJI00/TZo=
=xnDW
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mark.vcf
Type: text/x-vcard
Size: 1699 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041124/17e41f86/attachment.vcf>
More information about the Users
mailing list