An alert has generated because a server has not been rebooted for 90 days
I was looking into the configuration files in a client.
nrpe.cfg
and noticed that the uptime:
command[check_uptime]=/usr/lib/nagios/plugins/check_uptime $ARG1$
I am not clear how is the parameter passed to $ARG1$
I am new to Nagios and I have a question
Re: I am new to Nagios and I have a question
The command definition for an NRPE command on the server side would look something like this
$USER1$/check_nrpe -H $HOSTADDRESS$ -c check_uptime -a $ARG1$
If you have some NRPE checks up and running, look at the working examples first before making changes. The checks and arguments can be set up a variety of ways.
$USER1$/check_nrpe -H $HOSTADDRESS$ -c check_uptime -a $ARG1$
If you have some NRPE checks up and running, look at the working examples first before making changes. The checks and arguments can be set up a variety of ways.