Advertisement
Guest User

Untitled

a guest
Jul 31st, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # list the fields that are displayed in the plugin output
  2. # display= settings are triggered once for each row on WMI data
  3. # fields displayed in the order that they are defined and at least one is always required
  4. # the value can be in 3 formats -
  5. # 1) FIELD (where we just display this field like FIELD=xx,
  6. # 2) FIELD|UNITS (where we just display this field like FIELD=xxUNITS,
  7. # 3) FIELD|UNITS|DISPLAY|SEP|DELIM|START|END
  8. # where we display this FIELD like STARTDISPLAYSEPxxUNITSENDDELIM
  9. # the default DELIM is comma space, if DELIM is set to ~ then none will be used
  10. # the default SEP is =, if SEP is set to ~ then none will be used
  11. # DISPLAY normally shows FIELD or whatever you specify as DISPLAY. Set DISPLAY to ~ to show nothing.
  12. # 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
  13. # 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:
  14. # eg BytesSentPersec will be shown as BytesSentPersec=XX,
  15. # eg BytesSentPersec|BYTES will be shown as BytesSentPersec=XXBytes,
  16. # eg _Used%|%|.|.||(|) will be shown as (45.2%)
  17. # There are the following predefined fields -
  18. # _StatusType - shows the status of the check eg OK, Warning etc
  19. # _Triggers - shows which FIELDS triggered a warn/critical state
  20. # _DisplayMsg - is _StatusType combined with _Triggers. We use this one all the time.
  21. # _ChecksOK = the number of WMI checks that completed OK
  22. # _ItemCount = the number of data rows returned by the WMI query
  23. # if processing multi-row WMI output then this is run against each row (unless processallrows=0 is set)
  24. # 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