This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Universal Device Poller when the temperature hits below 0 degrees celsius

Hi

I'm making a poller that polls the temperature on cisco equipment, which works fine until the temperature gets below zero. When this occurs it seems that NPM creates a totally wrong value, heres an example:

If the cisco switch reports -2 degrees celsius, then the UDP reads this as 254. Looks like it takes 256 and subtracts the temperature that the switch actually has.

Is there a way I can get NPM to report negative values?

The transform function will not work because then it will report negative values no matter what.

The high values in the picture is when the switch is below zero, cold in Norway nowadays ;-)

 

Thanks in advance,

Roy O.