[Nagiosplug-help] Installation of a Single Plugin

Ian Rarity Ian.Rarity at espc.com
Fri Feb 10 10:17:49 CET 2012


Hi James,

For a plugin that just consists of a bash/perl script, the basic process is:


-          Drop the plugin into your Nagios plugins directory (/usr/local/nagios/libexec by default), and make sure it can be executed by whatever user your Nagios instance runs as.

-          Add a command to commands.cfg (located in /usr/local/nagios/etc by default) to call the plugin and pass it any parameters it needs.

-          Add a service definition to services.cfg (same dir as above) that uses the command to check a service on a host.

-          Profit.

If you look at existing service/command definitions that are already in those files, you should get the idea; "install" is an awfully strong word for it if you come from a Windows background.

Ta,
IR.

==================
Ian Rarity
IT Services Engineer
ESPC (UK) Ltd.
ian.rarity at espc.com<mailto:ian.rarity at espc.com>
http://www.espc.com
==================

From: Pietan, James J (HSS) [mailto:james.pietan at alaska.gov]
Sent: 09 February 2012 19:29
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] Installation of a Single Plugin


Recently, Nagios was added to my plate to maintain and update/upgrade as and when needed.

Having limited exposure to Nagios and Linux, I need a little help.

There are several plugins that I would like to install from the different Nagios web sites.

However, I lack some basic information -

How do I install a single plugin, whether it is a .pl or .sh

When all that is given is the command.... ?

Any help you would give is greatly appreciated.

If you have any questions, please contact me.

James Pietan

Network Specialist II

(907) - 465-8122  or  (907) 321-1655

Corripe Cervisiam or Carpe Diem

IMPORTANT WARNING: This message is intended for the use of the person or entity to which it is addressed and may contain information that is confidential.  If you are not the intended recipient or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, forwarding or distribution of this information is STRICTLY PROHIBITED.  If you have received this electronic message by error, please notify the sender and immediately delete all copies from your computer system to prevent further disclosure.


Click here<https://www.mailcontrol.com/sr/vjAJQiQdc1LTndxI!oX7Up2F0f+S6NySSRdNrVJpEsnubQwsyDNv0v3pOM!83jtSnKLrywimic8pdY6WjzZSeg==> to report this email as spam.

________________________________
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/20120210/d123a0cd/attachment.html>


More information about the Help mailing list