Requirements — The Red Hat Network Monitoring Daemon (
rhnmd
) must be running on the
monitored system to execute this probe.
Field
Value
Command*
OK Exit Status*
0
Warning Exit Status*
1
Critical Exit Status*
2
Timeout
15
Table C.9. General::Remote Program settings
4.2. General::Remote Program with Data
The General::Remote Program with Data probe allows you to run any command or script on
your system and obtain a value, as well as a status string. To use this probe, you must include
XML code in the body of your script. This probe supports the following XML tags:
• <perldata> </perldata>
• <hash> </hash>
• <item key =" "> </item>
The remote program will need to output some iteration of the following code to
STDOUT
:
<perldata> <hash> <item
key="data">10</item> <item
key="status_message">status message here</item>
</hash> </perldata>
The required value for
data
is the data point to be inserted in the database for time-series
trending. The
status_message
is optional and can be whatever text string is desired with a
maximum length of 1024 bytes. Remote programs that do not include a
status_message
still
report the value and status returned.
Requirements — The Red Hat Network Monitoring Daemon (
rhnmd
) must be running on the
monitored system to execute this probe. XML is case-sensitive. The
data
item key name cannot
be changed and it must collect a number as its value.
Field
Value
Command*
General::Remote Program with Data
231
Содержание NETWORK SATELLITE 5.1.0 - CHANNEL MANAGEMENT
Страница 1: ...Red Hat Network Satellite Reference Guide 5 1 0 5 1 ISBN Publication date ...
Страница 2: ...Red Hat Network Satellite ...
Страница 4: ...Red Hat Network Satellite ...
Страница 12: ...xii ...
Страница 22: ...8 ...
Страница 35: ...Figure 2 11 Available Package Updates Available Package Updates 21 ...
Страница 52: ...38 ...
Страница 74: ...Figure 5 15 Text Mode Welcome Screen Chapter 5 Red Hat Network Registration Client 60 ...
Страница 176: ...162 ...
Страница 202: ...188 ...
Страница 220: ...206 ...
Страница 286: ...Field Value Warning Maximum Users Table C 74 RHN Satellite Server Users settings Appendix C Probes 272 ...
Страница 300: ...Your Preferences 71 Index 286 ...