[f-nsp] OID for TurboIron PowerSupply
Barry O'Donovan
barry+f-nsp at opensolutions.ie
Thu Jan 26 11:45:01 EST 2012
Thanks Lutz (and for the additional notes from Jethro).
I've incorporated those changes now.
- Barry
> On 24/01/12 15:48, Lutz Knabenreich wrote:
>> Barry,
>
>> Am 17.01.2012 08:31, schrieb Barry O'Donovan:
>>>
>>> On 16/01/12 22:45, Frank Bulk wrote:
>>>> If you use NAGIOS, it would be interesting to find out if the
>>>> check_snmp_environment plugin identifies that issue.
>>> I have a first pass at a custom Brocade chassis checker at:
>>>
>>> https://github.com/barryo/nagios-plugins/blob/master/check_chassis_brocade.pl
>>>
>>>
>>>
>>>
> that includes PSU(s) status, memory, CPU, temperature, fans, recent
>>> reboot, and more.
>>>
>
>> thank you for the time and work you spent on that script. I works
>> great for us and we added some minor changes as follows:
>
>> Diff1:
>
>> 246d245 < $t_warning = '64.0' if ($t_warning ==
>> 0);
>
>> This patch fixes rare situations on SuperX and SX Switches where
>> the OID "1.3.6.1.4.1.1991.1.1.1.1.19" [snChasWarningTemperatur] is
>> presented as "0". I have set this value to '64.0' since this is the
>> default value I have seen on other devices where this OID is set
>> correctly.
>
>> After patching this miror thing the script works fine for SuperX or
>> SX at our site.
>
>> Diff2:
>
>> 617,618c616 < # return sprintf( "%0.1f", ( $t - 32.0 ) / 1.8 );
>> < return sprintf( "%0.1f", ( $t ) / 2 ); ---
>>> return sprintf( "%0.1f", ( $t - 32.0 ) / 1.8 );
>
>> As far as I know the OID output is 0.5 Degrees Celsius each unit
>> and not Fahrenheit, means OID Value 160 turns to be 80 Degrees
>> Celsius. If you like to add some Fahrenheit Support this could be
>> easily done by just adding a few lines.
>
>> Again thank you for the great script.
>
>> Best regards Mit freundlichen Gruessen Lutz Knabenreich
>
>
More information about the foundry-nsp
mailing list