Re: [Nagios-devel] Nagios send trap event handler question
Posted: Wed Nov 03, 2004 1:20 pm
--L6iaP+gRLNZHKoI4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Nov 03, 2004 at 02:01:31PM -0700, Winkles, William (Bill) wrote:
> Can anyone explain to me how I would setup an event handler to send a trap
> when a service hits a hard state?
The code provided will only send a trap on the third soft CRITICAL
check. You'll want to put the code under 'HARD' under all of
OK,WARNING, and CRITICAL.=20
I'm curious where you are sending the trap too; are you
integrating with another monitoring system?
-Jason Martin
--=20
Put on your seatbelt. I'm gonna try something new.
This message is PGP/MIME signed.
--L6iaP+gRLNZHKoI4
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: --no-verbose
iD8DBQFBiUunl2ODWuqVSBMRArI0AKCXi7rHooiaYQeDO6laoSpOlQ08vgCeOi6h
sCuMXMDkG9XFiO8KBi4cy7c=
=tbuP
-----END PGP SIGNATURE-----
--L6iaP+gRLNZHKoI4--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Nov 03, 2004 at 02:01:31PM -0700, Winkles, William (Bill) wrote:
> Can anyone explain to me how I would setup an event handler to send a trap
> when a service hits a hard state?
The code provided will only send a trap on the third soft CRITICAL
check. You'll want to put the code under 'HARD' under all of
OK,WARNING, and CRITICAL.=20
I'm curious where you are sending the trap too; are you
integrating with another monitoring system?
-Jason Martin
--=20
Put on your seatbelt. I'm gonna try something new.
This message is PGP/MIME signed.
--L6iaP+gRLNZHKoI4
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: --no-verbose
iD8DBQFBiUunl2ODWuqVSBMRArI0AKCXi7rHooiaYQeDO6laoSpOlQ08vgCeOi6h
sCuMXMDkG9XFiO8KBi4cy7c=
=tbuP
-----END PGP SIGNATURE-----
--L6iaP+gRLNZHKoI4--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]