Plugin Setup Notes
Some notes to setup my monitoring plugins.
Dependencies
My plugins come with some dependencies. I’m trying to list them on their website, but sometimes I forget something considered to be obvious. Please notify me if you run into trouble.
Most of the plugins also expect to find the utils.pm
and utils.sh
in /usr/lib/nagios/plugins
(Debian style). If these files are located somewhere else on your machine, you might need to adjust the path in the source. Feel free to ping me if you need some help!
Embedding into Nagios/Icinga
In the following I suppose you have Icinga or Nagios installed. Otherwise I recommend to read the instructions of the software you are using.
Setup with NRPE
On you monitoring server you need to create a service section like:
On the client you also have to define the command SAMPLE_COMMAND
, for example:
Setup on the monitoring server itself
If you want to run the plugin on your monitoring server itself, you need to create a command that executes the plugin:
And also create a service section like:
Disclamer
These installation instructions are just for copy&paste supposes. If you’ve never heard about Icinga I recommend to read some basic documents ;-)
Leave a comment
There are multiple options to leave a comment: