Power supply status via SNMP

Latest reply: Aug 18, 2019 20:02:23 5163 14 0 0
Hi everybody.


I'm trying to obtain via SNMP information about power supply status on a S6720 switch. I need to know if any PSU on the switch is Abnormal or without current input.

Using CLI I have this:

#display  device 
S6720-30C-EI-24S-AC's Device status:
Slot Sub  Type                  Online    Power    Register     Status   Role  
-------------------------------------------------------------------------------
0    -    S6720-30C-EI-24S      Present   PowerOn  Registered   Normal   Master
     PWR1 POWER                 Present   PowerOn  Registered   Normal   NA    
     PWR2 POWER                 Present   PowerOff Registered   Abnormal NA    
     FAN1 FAN                   Present   PowerOn  Registered   Normal   NA 


Does anyone know the SNMP OID I can get this information?

Best Regards.
  • x
  • convention:

Jojo_too
Jojo_too Created Aug 18, 2017 09:35:12
"Dear all, Huawei Product Documentation Feedback Experience Activity is ongoing, you are welcome to take part in and win a big prize. http://forum.huawei.com/enterprise/thread-413135.html Use the ""Doc Feedback"" function, yo 
gululu
Admin Created Aug 16, 2017 00:36:12 Helpful(0) Helpful(0)

  • x
  • convention:

Come on!
mangix
Created Aug 16, 2017 01:17:23 Helpful(0) Helpful(0)

the power state info:1.3.6.1.4.1.2011.5.25.31.1.1.18

the slot info:1.3.6.1.2.1.47.1.1.1.1.7

本帖最后由 y00197467 于 2017-08-16 01:28 编辑
  • x
  • convention:

New_Commer--->切换到此号
user_2844477
Created Aug 16, 2017 11:00:44 Helpful(0) Helpful(0)

Hi.

I've tried the OID 1.3.6.1.4.1.2011.5.25.31.1.1.18, but it gets nothing:

iso.3.6.1.4.1.2011.5.25.31.1.1.18 = No Such Object available on this agent at this OID

Do I need to type any configuration on switch?



When I try OID 1.3.6.1.2.1.47.1.1.1.1.7, this is the return:

iso.3.6.1.2.1.47.1.1.1.1.7.67108867 = STRING: "HUAWEI S6720 Routing Switch"
iso.3.6.1.2.1.47.1.1.1.1.7.67108869 = STRING: "Board slot 0"
iso.3.6.1.2.1.47.1.1.1.1.7.67108873 = STRING: "MPU Board 0"
iso.3.6.1.2.1.47.1.1.1.1.7.67125260 = STRING: "Card slot 0/1"
iso.3.6.1.2.1.47.1.1.1.1.7.67141644 = STRING: "Card slot 0/2"
iso.3.6.1.2.1.47.1.1.1.1.7.67158028 = STRING: "Card slot 0/3"
iso.3.6.1.2.1.47.1.1.1.1.7.67174412 = STRING: "Card slot 0/4"
iso.3.6.1.2.1.47.1.1.1.1.7.67190796 = STRING: "Card slot 0/5"
iso.3.6.1.2.1.47.1.1.1.1.7.67190797 = STRING: "POWER Card 0/PWR1"
iso.3.6.1.2.1.47.1.1.1.1.7.67207180 = STRING: "Card slot 0/6"
iso.3.6.1.2.1.47.1.1.1.1.7.67207181 = STRING: "POWER Card 0/PWR2"


Thank you!
  • x
  • convention:

user_2844477
Created Aug 18, 2017 11:46:57 Helpful(0) Helpful(0)

Posted by y00197467 at 2017-08-16 01:17 本帖最后由 y00197467 于 2017-08-16 01:17 编辑 the power state info:1.3.6.1.4.1.2011.5.25.31.1.1.1 ...
Hi.

Is it necessary to enable something on configuration to get this information (OID 1.3.6.1.4.1.2011.5.25.31.1.1.18)?

Thank you.
  • x
  • convention:

mangix
Created Aug 21, 2017 00:25:13 Helpful(0) Helpful(0)

user_2844477 发表于 2017-08-18 11:46 Hi.Is it necessary to enable something on configuration to get this information (OID 1.3.6.1.4.1.2 ...
i think it is not necessary
  • x
  • convention:

New_Commer--->切换到此号
user_2844477
Created Aug 25, 2017 21:01:06 Helpful(0) Helpful(0)

Posted by y00197467 at 2017-08-21 00:25 i think it is not necessary
Hi.

I'm afraid this OID is not working on my switch:
snmpwalk -v2c -c community 10.0.200.31 1.3.6.1.4.1.2011.5.25.31.1.1.18
iso.3.6.1.4.1.2011.5.25.31.1.1.18 = No Such Object available on this agent at this OID

Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (S6720 V200R010C00SPC600)


Could you check if in any of your switches this OID works?


Thank you.
  • x
  • convention:

user_2844477
Created Sep 16, 2017 20:25:53 Helpful(0) Helpful(0)

Posted by y00197467 at 2017-08-16 01:17 本帖最后由 y00197467 于 2017-08-16 01:17 编辑 the power state info:1.3.6.1.4.1.2011.5.25.31.1.1.1 ...
Hi.

Could you check if in any of your switches this OID works? My switch is S6720-EI running VRP V200R010C00SPC600.

Thanks.
  • x
  • convention:

user_2844477
Created Oct 17, 2017 20:58:23 Helpful(0) Helpful(0)

I'm still trying to get via SNMP information about power supply status on a S6720 switch. Has anyone ever done this?
  • x
  • convention:

user_2844477
Created Dec 30, 2017 14:15:36 Helpful(0) Helpful(0)

Posted by mangix at 2017-08-16 01:17 本帖最后由 y00197467 于 2017-08-16 01:17 编辑 the power state info:1.3.6.1.4.1.2011.5.25.31.1.1.1 ...
Could anyone try if this OID replies with PSU status (online or fail)?

My S6720 says this OID doesn't exist.

Thanks.
  • x
  • convention:

12
Back to list

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login