Yesterday Curtis Doty said:

> Tomorrow Mihai Tanasescu said:
>
>> I have some C3750 and C2960 equipments and I'm trying to get some
>> temperature status info out of them.
>>
>> As far as I've seen these 2 models don't have a sensor built-in for more
>> specific information(numerical temp. values) but from the CLI I can observe:
>> #show env  temperature
>> TEMPERATURE is OK
>>
>
> Also don't miss this:
>
>       #show env temp stat
>       Temperature Value: 37 Degree Celsius
>       Temperature State: GREEN
>       Yellow Threshold : 45 Degree Celsius
>       Red Threshold    : 65 Degree Celsius
>

Correction. I was looking at a C3560G instead of it's sibling 
C2960G/C3750G models, which both return this:

        #show env temp status
        Temperature Value: Not Supported
        Temperature State: Not Supported

>>
>> Is there any SNMP OID that I can query to get an integer value like 1
>> for OK, 2 for something else ?
>>
>
> Here are two possibilities:
>
> CISCO-STACK-MIB::chassisTempAlarm.0 = INTEGER: off(1)
> CISCO-ENVMON-MIB::ciscoEnvMonTemperatureState.1005 = INTEGER: normal(1)
>

Only the first OID works on my C2960G/C3750G units.

../C

_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to