[Nagiosplug-help] Remote plug-in reporting to Nagios host

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Aug 26 03:39:16 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 25/08/09 04:09 PM, Adam Robins wrote:
> Hello,
> 
>  
> 
> We are making the move from Big Brother to Nagios.  I have a custom
> plug-in (shell script) running on a remote linux server that parses an
> application log file looking for process failures.  I have successfully
> gotten the plug-in (via NRPE) to report OK, CRITICAL, etc. to the Nagios
> host.
> 
>  
> 
> One very useful thing I could do with Big Brother was to send a text
> block along with the return code from the remote to the host.  For
> example, I would send a tail of the log file.  It would then display on
> that servers web page in the BB display.  Is there a way to accomplish
> this or something similar with Nagios?

Yes and no... Nagios 3 do support extended plugin status (the format is
defined very clearly in the documentation), but neither NRPE or NSCA
support the new format yet.

Unless you can implement your own transport mechanism (maybe
check_by_ssh could allow active checks with multiple lines - I haven't
tested) you're out luck.

You could search around too - Maybe someone else got a workaround.

Regards,

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKlJJE6dZ+Kt5BchYRAmhdAKCnn16G8y+6htsJ1X9TVpoIhKCA/wCguoK5
JH9ILuYbS6kPJxh2I8HR+Ng=
=UzS7
-----END PGP SIGNATURE-----




More information about the Help mailing list