Xymon Mailing List Archive search

[devmon] Problem with thresholds - Use of uninitialized value in numeric gt

list Trent Melcher
Fri, 20 Jul 2007 13:27:17 -0500
Message-Id: <1184956037.31123.31.camel@tmelcher2>

On Fri, 2007-07-20 at 19:03 +0200, Martijn Moret wrote:
Hi,

I'm trying to write a template for the Brocade silkworm 3900/4100.

All is going well, except for the thresholds.

Here is my config:
Example for the fans:
oids
FanDescr        : .1.3.6.1.4.1.1588.2.1.1.1.10.3.1.4.2  : branch
FanState        : .1.3.6.1.4.1.1588.2.1.1.1.10.3.1.5.2  : branch

message
TABLE:
Fan location|Fan state
{FanDescr}|{FanState.color}{FanState}

threshold
FanState        : red   : 3200 : High rpm
This should be   >3200   

Trent
When running devmon in the forground, the following message appears when
activating this threshold:
Use of uninitialized value in numeric gt (>) at
/home/hobbit/devmon-0.3.0-beta2/modules/dm_tests.pm line 2314,
<$__ANONIO__> line 21894.
Use of uninitialized value in numeric gt (>) at
/home/hobbit/devmon-0.3.0-beta2/modules/dm_tests.pm line 2314,
<$__ANONIO__> line 21894.
Use of uninitialized value in numeric gt (>) at
/home/hobbit/devmon-0.3.0-beta2/modules/dm_tests.pm line 2314,
<$__ANONIO__> line 21894.
Use of uninitialized value in numeric gt (>) at
/home/hobbit/devmon-0.3.0-beta2/modules/dm_tests.pm line 2314,
<$__ANONIO__> line 21894.
Use of uninitialized value in numeric gt (>) at
/home/hobbit/devmon-0.3.0-beta2/modules/dm_tests.pm line 2314,
<$__ANONIO__> line 21894.
Use of uninitialized value in numeric gt (>) at
/home/hobbit/devmon-0.3.0-beta2/modules/dm_tests.pm line 2314,
<$__ANONIO__> line 21894.

There are six fans, this line appears one time for each fan.

Any help?
Regards
Martijn