Hello,
I have some sensors like:
system health fan system health power supply system health temperature
I want to set limits for errors/warnings for these sensors, but there will be only accept numbers as value, but the sensor transmitted values like: normal, warning, not present, shutdown, critcal and not functioning.
What can I do?
Best Regards C.M.
Article Comments
The status message can contain strings, but those strings are derived from numbers.
How can I get the numbers, which are behind these strings (warning, normal, ...)?
Jun, 2014 - Permalink
Dear Christian
That depends on the sensor. Which sensor are you using? On which device it is attached?
Jun, 2014 - Permalink
Cisco Catalyst 3750: system health power supply, fan Cisco Catalyst 2960: system health power supply Cisco 3800: system health power supply, fan Cisco 3900: system health power supply, fan
Jun, 2014 - Permalink
Dear Christian
If you open the channel configuration, you have the option to pick a lookup file. If you set it to "none", you see actual numerical values instead of the strings from the lookup table. These values are evaluated for limits. This works even when a lookup table is active.
Jun, 2014 - Permalink
Dear Christian
Only numerical values can be used as trigger for limits. Anything PRTG monitors is a number. The status message can contain strings, but those strings are derived from numbers.
If you use a sensor which only returns strings which directly go to the status message, no actual data is logged. In that case, you could write a custom script which uses the API to get the sensor info, process the status message and generates a numeric value which then can be used to trigger a notification.
Jun, 2014 - Permalink