[Nagiosplug-help] custom check scripts on windows
Ian Rarity
Ian.Rarity at espc.com
Mon Feb 2 10:39:36 CET 2009
Hi Rick,
Just make sure that your script exits with an appropriate return code (0=OK, 1=Warning, 2=Critical, 3=Unknown), then call them from NRPE, or whatever remote execution method you prefer. There are some good guidelines at http://nagiosplug.sourceforge.net/developer-guidelines.html.
Ta,
IR.
*******************
Ian Rarity
Technical Engineer
ESPC (UK) Ltd.
T: (44)131 624 8000
F: (44)131 624 8509
http://www.espc.com
From: Rick Garland [mailto:Rick.Garland at quantum.com]
Sent: 01 February 2009 04:10
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] custom check scripts on windows
Hi All:
Running Nagios 3.x on a Centos server.
I have some custom check scripts on a WIN 2003 server that I would like to incorporate into nagios checks.
The scripts are bash shell scripts running under cygwin. The scripts work fine but how do I get nagios to run them and check the result?
Rick Garland
*******************************************************************
Private and Confidential: This e-mail transmission is strictly
confidential and intended solely for the addressee. It may contain
privileged and confidential information and if you are not the
intended recipient, you must not copy, disclose, distribute or
take any action in reliance on it. If you have received this
e-mail in error, please delete it and notify our E-mail Systems
Administrator on +44 (0) 131 624 8000. ESPC (UK) Ltd does not
accept any liability for any harm that may be caused to the
recipient's system or data by this message or any attachment.
ESPC (UK) Ltd is a company registered under the Companies
Acts in Scotland (Registered Number SC203535), and having its
registered office at 90A George Street, Edinburgh, Midlothian
EH2 3DF.
ESPC (UK) Limited is authorised and regulated by the Financial
Services Authority.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090202/2fe5ccae/attachment.html>
More information about the Help
mailing list