I now have a question regarding pnp4nagios in this context.
With NRPE the check command mostly looked like this:
Code: Select all
check_command check_nrpe!check_network!-i enp2s0f0
Code: Select all
#
# Adapt the Template if check_command should not be the PNP Template
#
# check_command check_nrpe!check_network
# ________0__________| |
# ________1________________________|
#
# User ARG1
CUSTOM_TEMPLATE = 1
In our case it would be: where
Code: Select all
/usr/share/nagios/html/pnp4nagios/templates/check_network.php
Code: Select all
check_command check_ncpa!-M interface/enp2s0f0
Regards,