[Nagiosplug-help] nagios plugins

Stephen Vaughan stephenvaughan at gmail.com
Wed Feb 3 15:12:58 CET 2010


it's not hard.. i mean really, a little digging around on google, or even
just reading the nagios docs should show you how to do it.



On Wed, Feb 3, 2010 at 8:59 PM, mostafa yasin <mostafayasin at hotmail.co.uk>wrote:

>  Dear Sir;
>
> Thank you very much for your help. I have copied the script into
> /usr/local/nagios/libexec
> and it 's executable and owned by root user. when i run the script
> manually, it 's running.
> But how to:
>
> -          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.
>
>
>
> ---
>
> Best Regards,,
>
>
>
> *Mostafa Yasin*
>
> Linux System Engineer.
>
>
>
>
> ------------------------------
> From: Ian.Rarity at espc.com
>
> To: nagiosplug-help at lists.sourceforge.net
> Date: Wed, 3 Feb 2010 09:10:24 +0000
> Subject: Re: [Nagiosplug-help] nagios plugins
>
>
>  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.
>
> ------------------------------
> Not got a Hotmail account? Sign-up now - Free<http://clk.atdmt.com/UKM/go/197222280/direct/01/>
>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>


-- 
Best Regards,
Stephen
Sent from Sydney, Nsw, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100204/dd2cde38/attachment.html>


More information about the Help mailing list