HOw to add new plugin to Nagios core
HOw to add new plugin to Nagios core
How to add a new plugin to Nagios core?
Re: HOw to add new plugin to Nagios core
What kind of new plugin you would like to add?
May refer to this http://www.nagios.org/download/addons/
May refer to this http://www.nagios.org/download/addons/
Thanks & Regards,
SHEAN
SHEAN
-
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: HOw to add new plugin to Nagios core
Basically the process goes something like this:
- Find a plugin you want
- Place it on the filesystem of the Nagios server
- Create a command definition pointing to that file with any appropriate arguments
- If using NRPE, create a command definition there too
-
- Posts: 19
- Joined: Tue Apr 12, 2011 6:31 pm
Re: HOw to add new plugin to Nagios core
So there's no pre-defined directory in which to install the plugins? They can go anywhere?tonyyarusso wrote:Basically the process goes something like this:
- Find a plugin you want
- Place it on the filesystem of the Nagios server
- Create a command definition pointing to that file with any appropriate arguments
- If using NRPE, create a command definition there too
Also, in an architecture where Nagios core is running on a single Linux (fedora) server monitoring a dozen Windows servers, does that mean windows binary plugins like check_mssql_nt aren't going to work? With Nagios, are the plugins installed only on the central server rather than on the remote machines?
Thanks in advance for any clarity you may provide,
mrtexasfreedom
-
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: HOw to add new plugin to Nagios core
Yes and no. They can go anywhere, yes. That said, most people do put them all in a particular directory. Depending on how you installed Nagios and on what distro, this is usually one of:mrtexasfreedom wrote:So there's no pre-defined directory in which to install the plugins? They can go anywhere?
- /usr/local/nagios/libexec/
- /usr/lib/nagios/plugins/
- /usr/lib64/nagios/plugins/
- /opt/nagios/libexec/
Plugins can go either on the Nagios server or the target client (or both), depending on how they are intended to work. That particular plugin would go on the client (Windows) side, and you would access it through NRPE by installing something like NSClient++.mrtexasfreedom wrote: Also, in an architecture where Nagios core is running on a single Linux (fedora) server monitoring a dozen Windows servers, does that mean windows binary plugins like check_mssql_nt aren't going to work? With Nagios, are the plugins installed only on the central server rather than on the remote machines?
Re: HOw to add new plugin to Nagios core
I would like to install one of the following plugins http://exchange.nagios.org/directory/Pl ... e-and-Load but I cant find the way.
Do I just copy the .sh file into the directory /usr/local/nagios/libexec and then make it executable?
I just want to monitor the cpu load only in my pc not on a remote host.
After that how do I configure the service? I found that http://www.thegeekstuff.com/2008/06/how ... nagios-30/ in the 3rd section. Is that ok?
Please help!!!
Do I just copy the .sh file into the directory /usr/local/nagios/libexec and then make it executable?
I just want to monitor the cpu load only in my pc not on a remote host.
After that how do I configure the service? I found that http://www.thegeekstuff.com/2008/06/how ... nagios-30/ in the 3rd section. Is that ok?
Please help!!!