Attribute |
Value |
Description |
Name: |
|
Changing the name will make a copy of the sensor. |
Command: |
|
A command and its arguments that is to be run periodically to update the
value of one or more dynamic attributes as follows: The exit code
from the command will be assigned to the ExitValue dynamic attribute. If
standard output contains only a sequence of <name>=<value>
expressions then each dynamic attribute <name> will be assigned the
value <value>. The <name> may be String, Int32, Uint32, Int64,
Uint64, Float32, or Float64. If the standard output does not contain such
a sequence then the entire standard output will be assigned to the String
dynamic attribute. If the command returns a non-zero exit status then the
exit code, standard output and standard error will be recorded in the Audit
log. |
Description: |
|
A description of the sensor and what it is monitoring. |
UserName: |
|
The user whose privlideges will be used to run the command. The default
is the userid that creates the sensor. |
RefreshInterval: |
|
Defines how often Command is run to update the dynamic attributes of this sensor. It is specified as the number of seconds between updates. If 0 is specified, Command is not run based on interval. Command can be run by RunCommand actions or dynamic attributes can be updated by SetValue action. If non-zero value is specified, the minimum value is 10. |
ErrorExitValue: |
|
Indicates which exit values should be treated as an error as follows:
0 - No exit value is interpreted as an error.
1 - Non-zero exit values will be treated as an error (the default).
2 - Zero exit value will be treated as an error.
If the exit value indicates an error as defined by this attribute, no dynamic
attribute values except ExitValue will be updated and the standard output,
standard error and exit value will be recorded in the Audit log." |
ExitValue: |
$values{ExitValue} |
The most recent exist value of the command. |
String: |
$values{String} |
The output of the most recent invocation of the command (unless the output
specifically set one of the attributes below). |
Int32: |
$values{Int32} |
The most recent value from command output in the form "Int32=value". |
Int64: |
$values{Int64} |
The most recent value from command output in the form "Int64=value". |
Uint32: |
$values{Uint32} |
The most recent value from command output in the form "Uint32=value". |
Uint64: |
$values{Uint64} |
The most recent value from command output in the form "Uint64=value". |
Float32: |
$values{Float32} |
The most recent value from command output in the form "Float32=value". |
Float64: |
$values{Float64} |
The most recent value from command output in the form "Float64=value". |