check_nwc_health
check_nwc_health copied to clipboard
not walking cisco fexes on Nexus5K
Hi,
Script is not walking through multiple FEXes on Cisco Nexuss 5K environment.
On my configuration, Fex number 4 is missing a power-supply but script says :
OK - environmental hardware working fine | 'sens_celsius_101021590'=34;55;65;; 'sens_celsius_101021592'=47;55;65;; 'sens_celsius_101021593'=55;85;100;; 'sens_celsius_111021590'=24;55;65;; 'sens_celsius_111021592'=33;55;65;; 'sens_celsius_111021593'=41;85;100;; 'sens_celsius_112021590'=23;55;65;; 'sens_celsius_112021592'=32;55;65;; 'sens_celsius_112021593'=38;85;100;; 'sens_celsius_121021590'=29;55;65;; 'sens_celsius_121021592'=41;55;65;; 'sens_celsius_121021593'=52;85;100;; 'sens_celsius_122021590'=30;45;57;; 'sens_celsius_122021593'=37;85;95;; 'sens_celsius_21598'=46;58;67;; 'sens_voltsAC_25816'=0;;;; 'sens_amperes_25818'=0;;;; 'sens_celsius_25821'=0;;;; 'sens_dBm_25827'=0;;;; 'sens_dBm_25828'=0;;;; 'sens_voltsAC_25928'=3231;;;; 'sens_amperes_25930'=39896;;;; 'sens_celsius_25933'=57750;;;; 'sens_dBm_25939'=-4306;;;; 'sens_dBm_25940'=-3635;;;; 'sens_voltsAC_25944'=3216;;;; 'sens_amperes_25946'=38204;;;; 'sens_celsius_25949'=58000;;;; 'sens_dBm_25955'=-5622;;;; 'sens_dBm_25956'=-4045;;;; 'sens_voltsAC_25976'=3235;;;; 'sens_amperes_25978'=41696;;;; 'sens_celsius_25981'=57750;;;; 'sens_dBm_25987'=-3788;;;; 'sens_dBm_25988'=-3297;;;; 'sens_voltsAC_25992'=3250;;;; 'sens_amperes_25994'=42162;;;; 'sens_celsius_25997'=57500;;;; 'sens_dBm_26003'=-4881;;;; 'sens_dBm_26004'=-3757;;;; 'sens_voltsAC_26280'=3266;;;; 'sens_amperes_26282'=41140;;;; 'sens_celsius_26285'=46328;;;; 'sens_dBm_26291'=-6819;;;; 'sens_dBm_26292'=-2798;;;;
When removing power-supply from other Fex :
CRITICAL - power supply 111000471 (Fex-111 A/C,110/220v 200W ) admin status is on, oper status is offDenied, fan/tray 111000536 (Fex-111 PowerSupply-2 Fan-1) status is down
Thanks,
When you run –mode list-fexes, do you see the missing fex? Gesendet von https://go.microsoft.com/fwlink/?LinkId=550986 Mail für Windows 10 Von: mailto:[email protected] Gaetan Allart Gesendet: Montag, 11. Dezember 2017 12:39 An: mailto:[email protected] lausser/check_nwc_health Cc: mailto:[email protected] Subscribed Betreff: [lausser/check_nwc_health] not walking cisco fexes on Nexus5K (#156)Hi,
Script is not walking through multiple FEXes on Cisco Nexuss 5K environment.
On my configuration, Fex number 4 is missing a power-supply but script says :
OK - environmental hardware working fine | 'sens_celsius_101021590'=34;55;65;; 'sens_celsius_101021592'=47;55;65;; 'sens_celsius_101021593'=55;85;100;; 'sens_celsius_111021590'=24;55;65;; 'sens_celsius_111021592'=33;55;65;; 'sens_celsius_111021593'=41;85;100;; 'sens_celsius_112021590'=23;55;65;; 'sens_celsius_112021592'=32;55;65;; 'sens_celsius_112021593'=38;85;100;; 'sens_celsius_121021590'=29;55;65;; 'sens_celsius_121021592'=41;55;65;; 'sens_celsius_121021593'=52;85;100;; 'sens_celsius_122021590'=30;45;57;; 'sens_celsius_122021593'=37;85;95;; 'sens_celsius_21598'=46;58;67;; 'sens_voltsAC_25816'=0;;;; 'sens_amperes_25818'=0;;;; 'sens_celsius_25821'=0;;;; 'sens_dBm_25827'=0;;;; 'sens_dBm_25828'=0;;;; 'sens_voltsAC_25928'=3231;;;; 'sens_amperes_25930'=39896;;;; 'sens_celsius_25933'=57750;;;; 'sens_dBm_25939'=-4306;;;; 'sens_dBm_25940'=-3635;;;; 'sens_voltsAC_25944'=3216;;;; 'sens_amperes_25946'=38204;;;; 'sens_celsius_25949'=58000;;;; 'sens_dBm_25955'=-5622;;;; 'sens_dBm_25956'=-4045;;;; 'sens_voltsAC_25976'=3235;;;; 'sens_amperes_25978'=41696;;;; 'sens_celsius_25981'=57750;;;; 'sens_dBm_25987'=-3788;;;; 'sens_dBm_25988'=-3297;;;; 'sens_voltsAC_25992'=3250;;;; 'sens_amperes_25994'=42162;;;; 'sens_celsius_25997'=57500;;;; 'sens_dBm_26003'=-4881;;;; 'sens_dBm_26004'=-3757;;;; 'sens_voltsAC_26280'=3266;;;; 'sens_amperes_26282'=41140;;;; 'sens_celsius_26285'=46328;;;; 'sens_dBm_26291'=-6819;;;; 'sens_dBm_26292'=-2798;;;;
When removing power-supply from other Fex :
CRITICAL - power supply 111000471 (Fex-111 A/C,110/220v 200W ) admin status is on, oper status is offDenied, fan/tray 111000536 (Fex-111 PowerSupply-2 Fan-1) status is down
Thanks,
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/lausser/check_nwc_health/issues/156
UNKNOWN - mode list-fexes
Do you mean watch-fexes
?
If yes, i sees 6 FEXes :
OK - found 6 FEXes | 'num_fexes'=6;;;;
Oh, i thought i once implemented a list-fexes:)
What i wanted to know, does the cisco expose all oft he fexes through snmp? Please check with
snmpwalk … 1.3.6.1.4.1.9.9.691.1.1.2.1.3
This should output all the serial numbers. Does the count differ from the count you get with watch-fexes?
Von: Gaetan Allart [mailto:[email protected]] Gesendet: Dienstag, 12. Dezember 2017 00:40 An: lausser/check_nwc_health [email protected] Cc: Gerhard Lausser [email protected]; Comment [email protected] Betreff: Re: [lausser/check_nwc_health] not walking cisco fexes on Nexus5K (#156)
Do you mean watch-fexes ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lausser/check_nwc_health/issues/156#issuecomment-350895096 , or mute the thread https://github.com/notifications/unsubscribe-auth/AAMJOO9zUm1qTcMXgoPr4dANTqUjtqNDks5s_b1AgaJpZM4Q9Qgk . https://github.com/notifications/beacon/AAMJONugOAKY3qXfS-vZqaaraeOXVlf0ks5s_b1AgaJpZM4Q9Qgk.gif
This snmpwalk lists FEXes :
SNMPv2-SMI::enterprises.9.9.691.1.1.2.1.3.101 = ""
SNMPv2-SMI::enterprises.9.9.691.1.1.2.1.3.111 = ""
SNMPv2-SMI::enterprises.9.9.691.1.1.2.1.3.112 = ""
SNMPv2-SMI::enterprises.9.9.691.1.1.2.1.3.113 = ""
SNMPv2-SMI::enterprises.9.9.691.1.1.2.1.3.121 = ""
SNMPv2-SMI::enterprises.9.9.691.1.1.2.1.3.122 = ""
But no Serial numbers.
Gaëtan
No problem, at least we see that it has 6 fexes. Which one ist he one with a failed (but not reported) power supply?
You can run
check_nwc_health … --mode walk | bash
and mail me the resulting file (/tmp/..something with snmpwalk…) to [email protected] mailto:[email protected]
I can then simulate your equipment. (Which makes only sense if No.4 PS is still faulted)
Von: Gaetan Allart [mailto:[email protected]] Gesendet: Dienstag, 12. Dezember 2017 10:00 An: lausser/check_nwc_health [email protected] Cc: Gerhard Lausser [email protected]; Comment [email protected] Betreff: Re: [lausser/check_nwc_health] not walking cisco fexes on Nexus5K (#156)
This snmpwalk lists FEXes :
SNMPv2-SMI::enterprises.9.9.691.1.1.2.1.3.101 = "" SNMPv2-SMI::enterprises.9.9.691.1.1.2.1.3.111 = "" SNMPv2-SMI::enterprises.9.9.691.1.1.2.1.3.112 = "" SNMPv2-SMI::enterprises.9.9.691.1.1.2.1.3.113 = "" SNMPv2-SMI::enterprises.9.9.691.1.1.2.1.3.121 = "" SNMPv2-SMI::enterprises.9.9.691.1.1.2.1.3.122 = ""
But no Serial numbers.
Gaëtan
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lausser/check_nwc_health/issues/156#issuecomment-350987448 , or mute the thread https://github.com/notifications/unsubscribe-auth/AAMJONxzFlRfPHhsYw3QaJGNnVpPbk5aks5s_kClgaJpZM4Q9Qgk . https://github.com/notifications/beacon/AAMJOD3oU30W9S3n5x9VHiQPfKECp0_Wks5s_kClgaJpZM4Q9Qgk.gif