[Nagiosplug-devel] CPU Threads

Rick Garland Rick.Garland at quantum.com
Wed Sep 19 21:14:00 CEST 2012


The $ARG$'s would go into the command.cfg on the server and the values would be in your nrpe.cfg

Here is an entry from my commands.cfg
define command{
        command_name    check_proc_by_ssh
        command_line    $USER1$/check_by_ssh -H $HOSTADDRESS$ -C '/usr/local/nagios/libexec/check_procs -w $ARG1$ -c $ARG2$ -a $ARG3$ -u $ARG4$'
        }

The nrpe.cfg would hold the values.



Rick Garland | Sr UNIX Systems Administrator | Quantum, Corp | Office: 720-249-5984 | cell: 720-210-4671

From: Torres-Capeles.Juan [mailto:Juan.Torres-Capeles at IGT.com]
Sent: Wednesday, September 19, 2012 12:02 PM
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] CPU Threads

Support.

I have in nrpe.cfg as follow:
...
command[check_procs]=/usr/lib64/nagios/plugins/check_procs -w $ARG2$ -c $ARG3$ --metric=$ARG4$ $ARG5$ $ARG6$
command[check_proc]=/usr/lib64/nagios/plugins/check_procs -w $ARG2$ -c $ARG3$ -C $ARG4$
...

In what file I set the actual value?

Thanks,
Juan Torres
Sr. Systems & Apps Administrator IV

International Game Technology
405 Howard Street
Suite 600
San Francisco, CA 94105
W: (415) 229-8365
M: (386) 478-8599
Juan.Torres-Capeles at igt.com<mailto:Juan.Torres-Capeles at igt.com>

----------------------------------------------------------------------
The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20120919/f20f0def/attachment.html>


More information about the Devel mailing list