Changes between Version 2 and Version 3 of CheckWMI/CheckWMI


Ignore:
Timestamp:
09/18/09 16:45:14 (4 years ago)
Author:
mickem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CheckWMI/CheckWMI

    v2 v3  
    5252 
    5353== Examples == 
    54 Check to see if there is 2 CPUs present (or cores) 
    55 {{{ 
    56 CheckWMI MaxCrit=3 MinWarn=1 "Query:load=Select * from win32_Processor" 
    57 }}} 
     54=== A sample query === 
     55A not very useful check which serves to illustrate how to use the command. Check to see if there is 2 CPUs present (or cores) 
     56[[NSClientCommand(CheckWMI,MaxCrit=3 MinWarn=1 "Query=Select * from win32_Processor")]] 
     57[[NSClientResult(WARNING,WARNING:: 1 < warning,''=1;0;3;)]] 
     58[[NSClientConfig()]] 
     59 
     60 
    5861 
    5962Check to see that no CPU has less then 2.66GHz frequency