I am new to Nagios and I have a question

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

I am new to Nagios and I have a question

Postby rvaede » Fri Mar 11, 2011 3:49 pm

An alert has generated because a server has not been rebooted for 90 days
I was looking into the configuration files in a client.

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$
Posts: 6
Joined: Fri Mar 11, 2011 3:41 pm

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

Postby mguthrie » Tue Mar 15, 2011 3:21 pm

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.
Posts: 4384
Joined: Mon Jun 14, 2010 10:21 am

Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 25 guests