Thanks a lot for the reply.Box293 wrote:Have you seen this documentation?
https://assets.nagios.com/downloads/nag ... nters.html
Yes I have seen that tutorial and found it helpful, but it outlines the steps taken to configure a plugin that's part of the Standard Nagios Plugin Distribution, as I discussed above. And while it gives some good direction, it is not complete and I would like a guided step-by-step for something beyond the standard plugin download and how to install some third party custom plugins. There is tons of info out there for installing plugins on Nagios XI, which I find funny, because it's pretty simple to do there, compared to core, where there's almost nothing.
For instance, I cannot get this check_printer plugin to work, which I need for monitoring our Ricoh printers...and it seems to be the best plugin out there for this that I've been able to find. But, first of all, it's written in German, which doesn't make it any easier, lol.
But beyond that, I don't know exactly what to put in the command.cfg and the printers.cfg files, for instance.
EXAMPLE:
COMMAND.CFG
define command{
command_name check_printer
command_line /usr/bin/php $USER1$/check_printer $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$
}
PRINTER.CFG:
define service{
use generic-ricoh ; Inherit values from a template
host_name Fiery-0517,COPBEN ; The name of the host the service is associated with
service_description Ricoh Status ; The service description
check_command check_printer!-C public ; The command used to monitor the service
normal_check_interval 10 ; Check the service every 10 minutes under normal conditions
retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined
}
** For the check_command, do I keep it as is (check_printer!-C public), or does it need to have the $ARG1$, $ARG2$, etc.?
I've also seen a config someone posted like this:
check_command check_printer!192.168.32.245!public!1!paper!1
Taken from this post:
https://www.reddit.com/r/nagios/comment ... r_to_work/
...This is the only info I was able to find on this plugin, but it is set up to make a new service per check, which is not at all what this plugin is capable of.