Opened 5 years ago
Closed 16 months ago
#171 closed defect (fixed)
Maybe a bug in CheckWMIValues
| Reported by: | stefan.diegelmann@… | Owned by: | mickem |
|---|---|---|---|
| Priority: | 1 | Milestone: | 0.4.0 |
| Component: | CheckWMI | Version: | 0.4.0-nightly |
| Severity: | Bugs | Keywords: | |
| Cc: |
Description (last modified by mickem)
When I set the warning/critical paramter to a value which is for example 600/800 or 6000/8000 the result is "Injected Result: OK 'OK: WMI Query returned no results.'"
2008-05-08 09:40:17: debug:.\NSClient++.cpp:516: Injecting: CheckWMIValue: Query=select CurrentUsage from Win32_PageFileUsage where Name like 'C%', MaxWarn=600, MaxCrit=800, Check:Disk=CurrentUsage, ShowAll=long 2008-05-08 09:40:17: debug:.\NSClient++.cpp:536: Injected Result: OK 'OK: WMI Query returned no results.' 2008-05-08 09:40:17: debug:.\NSClient++.cpp:537: Injected Performance Result: ''Disk'=485;600;800; ' 2008-05-08 09:40:39: debug:.\NSClient++.cpp:537: Injected Performance Result: '' 2008-05-08 09:41:13: debug:.\NSClient++.cpp:516: Injecting: CheckWMIValue: Query=select CurrentUsage from Win32_PageFileUsage where Name like 'E%', MaxWarn=600, MaxCrit=800, Check:Disk=CurrentUsage, ShowAll=long 2008-05-08 09:41:13: debug:.\NSClient++.cpp:536: Injected Result: OK 'OK: WMI Query returned no results.' 2008-05-08 09:41:13: debug:.\NSClient++.cpp:537: Injected Performance Result: ''Disk'=595;600;800; '
Changing the value to 60/80 everything works well, but it is defined as an critical error.
2008-05-08 09:50:17: debug:.\NSClient++.cpp:516: Injecting: CheckWMIValue: Query=select CurrentUsage from Win32_PageFileUsage where Name like 'C%', MaxWarn=60, MaxCrit=80, Check:Disk=CurrentUsage, ShowAll=long 2008-05-08 09:50:17: debug:.\NSClient++.cpp:536: Injected Result: CRITICAL 'Disk: 568 > critical' 2008-05-08 09:50:17: debug:.\NSClient++.cpp:537: Injected Performance Result: ''Disk'=568;60;80; ' 2008-05-08 09:51:13: debug:.\NSClient++.cpp:516: Injecting: CheckWMIValue: Query=select CurrentUsage from Win32_PageFileUsage where Name like 'E%', MaxWarn=60, MaxCrit=80, Check:Disk=CurrentUsage, ShowAll=long 2008-05-08 09:51:13: debug:.\NSClient++.cpp:536: Injected Result: CRITICAL 'Disk: 704 > critical' 2008-05-08 09:51:13: debug:.\NSClient++.cpp:537: Injected Performance Result: ''Disk'=704;60;80; '
So, I have a problem, to display the correct status.
Stefan
Change History (3)
comment:1 Changed 5 years ago by mickem
- Description modified (diff)
- Status changed from new to assigned
comment:2 Changed 16 months ago by mickem
- Component changed from check_nrpe to CheckWMI
comment:3 Changed 16 months ago by mickem
- Resolution set to fixed
- Status changed from assigned to closed
Fixed...
Note: See
TracTickets for help on using
tickets.









I shall investigate, looks at first glance strange...