I am new to Nagios and I have a question

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rvaede
Posts: 5
Joined: Fri Mar 11, 2011 3:41 pm

I am new to Nagios and I have a question

Post by rvaede »

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$
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: I am new to Nagios and I have a question

Post by mguthrie »

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.
Locked