From: Gildas Le N. <gn...@sa...> - 2007-03-30 13:16:18
|
>>A way to test if fuelGaugeStatusNumeric is what we thinks it is is to >>display it: > > > Forcing the display of the fuelGaugeStatusNumericvalue shows a "1", as > shown by the poorly lined wrapped table below. (Note, I changed some of > the titles in that table) > > Power Modules > ------------- > Alarming on (1,2) > Domain Power Domain Status 1st Power Module 2nd Power Module Devmon > gauge value > 1 red 1 - Power domain status is good. Bay 1: 1875W Bay 2: 1875W 1 > 2 red 1 - Power domain status is good. Bay 3: 1875W Bay 4: 1875W 1 > > Running devmon in debug mode and sending the output to the console, I > get the impression that the test is red because it is skipped all > together, possibly because the snmp returns 2 values and the transform > is setup to deal with only 1 value? > > [07-03-30@09:03:29] Entering poll loop > [07-03-30@09:03:29] SUBSTR transform uses only a single oid, a numeric > offset and an optional shift value at > /home/hobbit/server/ext/devmon/templates/bladecenter/power/transforms, > line 1 > [07-03-30@09:03:29] Undefined oid 'fuelGaugeStatusNumeric' referenced in > /home/hobbit/server/ext/devmon/templates/bladecenter/power/thresholds at > line 3 > [07-03-30@09:03:29] Undefined oid 'fuelGaugeStatusNumeric' referenced in > /home/hobbit/server/ext/devmon/templates/bladecenter/power/thresholds at > line 3 > [07-03-30@09:03:29] Undefined oid 'fuelGaugeStatusNumeric' referenced in > /home/hobbit/server/ext/devmon/templates/bladecenter/power/thresholds at > line 3 > [07-03-30@09:03:29] Undefined oid 'fuelGaugeStatusNumeric' at line 17 of > /home/hobbit/server/ext/devmon/templates/bladecenter/power/message, > skipping this test. Yeah I suspect you're right here. Strange it didn't seem to have the same behaviour for me on devmon v0.2.2 thought I also have 4 power modules per bladecenter chassis. Maybe I had the exact same case but the other way round (i-e it was always green)? Which devmon version are you using? Cheers Gildas |