Page 1 of 1

Re: [Nagios-devel] 2.0rc1 contact definition docco V.S. daemon

Posted: Fri Jan 06, 2006 1:33 pm
by Guest
--=-bt3JNI/EOeewO5EloheV
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2006-01-06 at 15:20 -0600, Marc Powell wrote:
> I ended up with --
>=20
> define contact {
> contact_name test
> alias Marc
> service_notification_period none
> host_notification_period none
> service_notification_options n
> host_notification_options n
> email [email protected]
> service_notification_commands service-notify-by-email
> host_notification_commands host-notify-by-email
> }

If you want to just dump emails into a black hole, use ':blackhole:' as
the email address (I forget where I found that little tidbit, but both
sendmail and qmail (at least) know that means to ignore it).

so:

...
host_notification_options n
email :blackhole:
service_notification_commands service-notify-by-email
...

I use this, myself.

--=-bt3JNI/EOeewO5EloheV
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDvuIV2Lh5h/NRnWwRAhosAKC+Judf9PdZ8Gb1h8p+mv1UnoHfyQCgvY8X
LQVRR44Tn2by39G344pgd98=
=u1wQ
-----END PGP SIGNATURE-----

--=-bt3JNI/EOeewO5EloheV--






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]