[Nagiosplug-help] custom check scripts on windows
Rick Garland
Rick.Garland at quantum.com
Mon Feb 2 14:25:34 CET 2009
Thanks Ian.
But I ask the question, is there an NRPE for WIN 2003 Server?
I have been using the check_nt.
Rick Garland
Sr System Administrator
Quantum, Corp.
8560 Upland Dr.
Englewood, CO 80112
office 720-249-5984
cell 720-210-4671
rick.garland at quantum.com
________________________________
From: Ian Rarity [mailto:Ian.Rarity at espc.com]
Sent: Monday, February 02, 2009 2:40 AM
To: 'Nagios Plugin Help List'
Subject: Re: [Nagiosplug-help] custom check scripts on windows
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.
-----------------------------------------------------------
The information contained in this transmission may be
confidential. Any disclosure, copying, or further
distribution of confidential information is not permitted
unless such privilege is explicitly granted in writing by
Quantum Corporation. Furthermore, Quantum Corporation is not
responsible for the proper and complete transmission of the
substance of this communication or for any delay in its
receipt.
------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090202/90c29cd6/attachment.html>
More information about the Help
mailing list