Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # list the fields that are displayed in the plugin output
- # display= settings are triggered once for each row on WMI data
- # fields displayed in the order that they are defined and at least one is always required
- # the value can be in 3 formats -
- # 1) FIELD (where we just display this field like FIELD=xx,
- # 2) FIELD|UNITS (where we just display this field like FIELD=xxUNITS,
- # 3) FIELD|UNITS|DISPLAY|SEP|DELIM|START|END
- # where we display this FIELD like STARTDISPLAYSEPxxUNITSENDDELIM
- # the default DELIM is comma space, if DELIM is set to ~ then none will be used
- # the default SEP is =, if SEP is set to ~ then none will be used
- # DISPLAY normally shows FIELD or whatever you specify as DISPLAY. Set DISPLAY to ~ to show nothing.
- # if units is prefixed with # then we use a function to convert it to a scaled based figure using prefixes like K, M, G etc - the calculation is influenced by the BYTEFACTOR setting
- # In DISPLAY/START/END anything enclosed in {} will be substituted by the value of that item of that name eg {DeviceID} will replace by the value contained in DeviceID eg C:
- # eg BytesSentPersec will be shown as BytesSentPersec=XX,
- # eg BytesSentPersec|BYTES will be shown as BytesSentPersec=XXBytes,
- # eg _Used%|%|.|.||(|) will be shown as (45.2%)
- # There are the following predefined fields -
- # _StatusType - shows the status of the check eg OK, Warning etc
- # _Triggers - shows which FIELDS triggered a warn/critical state
- # _DisplayMsg - is _StatusType combined with _Triggers. We use this one all the time.
- # _ChecksOK = the number of WMI checks that completed OK
- # _ItemCount = the number of data rows returned by the WMI query
- # if processing multi-row WMI output then this is run against each row (unless processallrows=0 is set)
- # display=_DisplayMsg||~|~| - || # in this example we use predisplay= to show the same thing, you could use display= as there is only one row of WMI data in this example
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement