Page 1 of 1

3rd party plugins

Posted: Mon Sep 09, 2013 12:05 pm
by bgee
Is there a standard method to install 3rd party plugins? I tried to install the well liked check_printer from http://exchange.nagios.org/directory/Pl ... es/details . Since it's just a a text file, i'm not sure how to save it and how to install it properly as my attempt won't work.

Re: 3rd party plugins

Posted: Mon Sep 09, 2013 12:57 pm
by abrist
The following document outlines the standard procedure for installing and testing custom plugins:
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
Looks like your plugin is a php file. Make it executable with:

Code: Select all

chmod +x check_printer
Place it in the directory:

Code: Select all

/usr/local/nagios/libexec
Follow the document for the rest of the details for installation (making a command etc.)