[Nagiosplug-help] nagios plugins

Ian Rarity Ian.Rarity at espc.com
Wed Feb 3 10:10:24 CET 2010


You'll need to:


-          Copy the script to your plugins directory (/usr/local/nagios/libexec by default) and make sure that it's executable.

-          Write a check command that calls the plugin; if you don't know it already, you'll be able to work out the syntax by looking at some of the other check commands in your nagios /etc/ directory, in commands.cfg.

-          Add a service definition for your iptables host that uses the check command.

Ta,
IR.

=-=-=-=-=-=-=-=-=-=-=
Ian Rarity
IT Services Engineer
ESPC (UK) Ltd.
0131-624-8000
07823-530-317
ian.rarity at espc.com
=-=-=-=-=-=-=-=-=-=-=

From: mostafa yasin [mailto:mostafayasin at hotmail.co.uk]
Sent: 02 February 2010 17:44
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] nagios plugins

Dear All;

I have installed nagios-3.1.2 and i
want a plugin to monitor iptables service. When i searched on the
internet i found a script called check_iptables.sh on the site http://www.monitoringexchange.org/inventory/Check-Plugins/Network/check_iptables

how to use this script as a nagios plugin?

---
Best Regards,,

Mostafa Yasin
Linux System Engineer.

________________________________
Follow us on Twitter at http://twitter.com/espc

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 SC203585), and having its registered office at 90A George Street, Edinburgh, Midlothian EH2 3DF.

ESPC (UK) Ltd is an Appointed Representative of Accord Consultancy which 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/20100203/cf74c1e6/attachment.html>


More information about the Help mailing list