Rhn-Catalog - Red Hat NETWORK 4.0 Reference Manual

Hide thumbs Also See for NETWORK 4.0:
Table of Contents

Advertisement

168
The
--commandline
retrieves everything else, including alert thresholds and notification intervals and
--dump
methods.
The command above will result in output similar to:
5 ServiceProbe on example4.redhat.com (199.168.36.175
linux:cpu usage
Run as: Unix::CPU.pm --critical=90 --sshhost=199.168.36.175
--warn=70 --timeout=15 --sshuser=nocpulse
--shell=SSHRemoteCommandShell --sshport=4545
Now that you have the ID, you use it with
Refer to Section 7.6.2 Viewing the output of
7.6.2. Viewing the output of
Now that you have obtained the probe ID with
to examine the complete output of the probe. Note that by default,
rhn-runprobe
works in test mode, meaning no results are entered in the database. Here
rhn-runprobe
are its options:
Option
--help
--probe=PROBE_ID
--prob_arg=PARAMETER
--module=PERL_MODULE
--log=all=LEVEL
--debug=LEVEL
--live
Table 7-1.
rhn-runprobe
At a minimum, you should include the
for each. The
--probe
the value "all" (for all run levels) and a numeric verbosity level as its values. Here is an
example:
rhn-runprobe --probe=5 --log=all=4
option yields the command parameters set for the probe, while
rhn-runprobe
Description
List the available options and exit.
Run the probe with this ID.
Override any probe parameters from the database.
Package name of alternate code to run.
Set log level for a package or package prefix.
Set numeric debugging level.
Execute the probe, enqueue data and send out
notifications (if needed).
Options
--probe
option takes the probeID as its value and the
to examine the probe's output.
rhn-rhnprobe
for instructions.
rhn-runprobe

rhn-catalog

option, the
Chapter 7. Monitoring
):
, use it in conjunction with
option, and values
--log
option takes
--log

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents