You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to format the output (not the perf data).
For example I want the output in this case to be something like:
C:_FreeSpace 27199328256 |'C: FreeSpace'=27199328256B;1000000 - just like in the performance data to have a label next to my values.
This way my status in Nagios will be more meaningful
I guess I need to play with detail-syntax, but not sure how to use it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I'm using WMI to get some data. The issue I have is that the output doesn't contain labels for the selected items.
For example:
check_wmi query="select DeviceID, FreeSpace FROM Win32_LogicalDisk" perf-config="*(unit:B)" warn="FreeSpace > 1000000"
C:, 27199328256 |'C: FreeSpace'=27199328256B;1000000
I want to format the output (not the perf data).
For example I want the output in this case to be something like:
C:_FreeSpace 27199328256 |'C: FreeSpace'=27199328256B;1000000 - just like in the performance data to have a label next to my values.
This way my status in Nagios will be more meaningful
I guess I need to play with detail-syntax, but not sure how to use it.
Thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions