Mailing List Archive

DELL PowerConnect 70xx Watts Status
Does someone have a solution to avoid this noisy backup in rancid 3.7 for a DELL PowerConnect 70xx series ?

Index: configs/192.168.1.13
===================================================================
retrieving revision 1.209
diff -U 4 -r1.209 192.168.1.13
@@ -54,15 +54,15 @@
! Unit Description Status Average Current Since
! Power Power Date/Time
! (Watts) (Watts)
! ---- ----------- ----------- ---------- -------- -------------------
- ! 1 System OK 0.2 67.0
+ ! 1 System OK 0.8 67.0
! 1 Internal OK N/A N/A 10/05/2017 20:18:35
! 1 Redundant No Power
- ! 2 System OK 0.6 68.8
+ ! 2 System OK 1.2 68.8
! 2 Internal OK N/A N/A 10/05/2017 20:18:35
! 2 Redundant No Power
- ! 3 System OK 0.9 70.6
+ ! 3 System OK 1.6 70.6
! 3 Internal OK N/A N/A 10/05/2017 20:18:23
! 3 Redundant No Power
! USB Port Power Status:
! ----------------------
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: DELL PowerConnect 70xx Watts Status [ In reply to ]
Wed, Nov 29, 2017 at 01:55:42PM -0500, Gerhard Mourani:
> Does someone have a solution to avoid this noisy backup in rancid 3.7 for a DELL PowerConnect 70xx series ?

Can you show the entire output of 'show system' on this device?

> Index: configs/192.168.1.13
> ===================================================================
> retrieving revision 1.209
> diff -U 4 -r1.209 192.168.1.13
> @@ -54,15 +54,15 @@
> ! Unit Description Status Average Current Since
> ! Power Power Date/Time
> ! (Watts) (Watts)
> ! ---- ----------- ----------- ---------- -------- -------------------
> - ! 1 System OK 0.2 67.0
> + ! 1 System OK 0.8 67.0
> ! 1 Internal OK N/A N/A 10/05/2017 20:18:35
> ! 1 Redundant No Power
> - ! 2 System OK 0.6 68.8
> + ! 2 System OK 1.2 68.8
> ! 2 Internal OK N/A N/A 10/05/2017 20:18:35
> ! 2 Redundant No Power
> - ! 3 System OK 0.9 70.6
> + ! 3 System OK 1.6 70.6
> ! 3 Internal OK N/A N/A 10/05/2017 20:18:23
> ! 3 Redundant No Power
> ! USB Port Power Status:
> ! ----------------------
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: DELL PowerConnect 70xx Watts Status [ In reply to ]
Hello,

Sorry for the delay, here the output, thanks.

EliteStack7024#show system

System Description: Dell Ethernet Switch
System Up Time: 60 days, 06h:26m:08s
System Contact: xxx@xxx.xx
System Name: EliteStack7024
System Location: xxxxxxxx
Burned In MAC Address: xxxx.xxxx.xxxx
System Object ID: 1.3.6.1.4.1.674.10895.3035
System Model ID: PCT7048
Machine Type: PowerConnect 7048
Temperature Sensors:

Unit Description Temperature Status
(Celsius)
---- ----------- ----------- ------
1 MAC 31 Good
1 PHY 29 Good
2 MAC 30 Good
2 PHY 28 Good
3 MAC 32 Good
3 PHY 26 Good

Fans:
--More-- or (q)uit

Unit Description Status
---- ----------- ------
1 Fan 1 OK
1 Fan 2 OK
1 Fan 3 OK
2 Fan 1 OK
2 Fan 2 OK
2 Fan 3 OK
3 Fan 1 OK
3 Fan 2 OK
3 Fan 3 OK

Power Supplies:

Unit Description Status Average Current Since
Power Power Date/Time
(Watts) (Watts)
---- ----------- ----------- ---------- -------- -------------------
1 System OK 1.4 65.2
1 Internal OK N/A N/A 10/05/2017 20:18:35
1 Redundant No Power
2 System OK 0.2 67.0
--More-- or (q)uit
2 Internal OK N/A N/A 10/05/2017 20:18:35
2 Redundant No Power
3 System OK 0.7 70.6
3 Internal OK N/A N/A 10/05/2017 20:18:23
3 Redundant No Power

USB Port Power Status:
----------------------
Device Not Present

Gerhard,

> On Dec 1, 2017, at 3:55 PM, heasley <heas@shrubbery.net> wrote:
>
> Wed, Nov 29, 2017 at 01:55:42PM -0500, Gerhard Mourani:
>> Does someone have a solution to avoid this noisy backup in rancid 3.7 for a DELL PowerConnect 70xx series ?
>
> Can you show the entire output of 'show system' on this device?
>
>> Index: configs/192.168.1.13
>> ===================================================================
>> retrieving revision 1.209
>> diff -U 4 -r1.209 192.168.1.13
>> @@ -54,15 +54,15 @@
>> ! Unit Description Status Average Current Since
>> ! Power Power Date/Time
>> ! (Watts) (Watts)
>> ! ---- ----------- ----------- ---------- -------- -------------------
>> - ! 1 System OK 0.2 67.0
>> + ! 1 System OK 0.8 67.0
>> ! 1 Internal OK N/A N/A 10/05/2017 20:18:35
>> ! 1 Redundant No Power
>> - ! 2 System OK 0.6 68.8
>> + ! 2 System OK 1.2 68.8
>> ! 2 Internal OK N/A N/A 10/05/2017 20:18:35
>> ! 2 Redundant No Power
>> - ! 3 System OK 0.9 70.6
>> + ! 3 System OK 1.6 70.6
>> ! 3 Internal OK N/A N/A 10/05/2017 20:18:23
>> ! 3 Redundant No Power
>> ! USB Port Power Status:
>> ! ----------------------
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss@shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: DELL PowerConnect 70xx Watts Status [ In reply to ]
Mon, Dec 04, 2017 at 01:52:20PM -0500, Gerhard Mourani:
> Hello,
>
> Sorry for the delay, here the output, thanks.
>
> EliteStack7024#show system
>
> System Description: Dell Ethernet Switch
> System Up Time: 60 days, 06h:26m:08s
> System Contact: xxx@xxx.xx
> System Name: EliteStack7024
> System Location: xxxxxxxx
> Burned In MAC Address: xxxx.xxxx.xxxx
> System Object ID: 1.3.6.1.4.1.674.10895.3035
> System Model ID: PCT7048
> Machine Type: PowerConnect 7048
> Temperature Sensors:
>
> Unit Description Temperature Status
> (Celsius)
> ---- ----------- ----------- ------
> 1 MAC 31 Good
> 1 PHY 29 Good
> 2 MAC 30 Good
> 2 PHY 28 Good
> 3 MAC 32 Good
> 3 PHY 26 Good
>
> Fans:
> --More-- or (q)uit
>
> Unit Description Status
> ---- ----------- ------
> 1 Fan 1 OK
> 1 Fan 2 OK
> 1 Fan 3 OK
> 2 Fan 1 OK
> 2 Fan 2 OK
> 2 Fan 3 OK
> 3 Fan 1 OK
> 3 Fan 2 OK
> 3 Fan 3 OK
>
> Power Supplies:
>
> Unit Description Status Average Current Since
> Power Power Date/Time
> (Watts) (Watts)
> ---- ----------- ----------- ---------- -------- -------------------
> 1 System OK 1.4 65.2
> 1 Internal OK N/A N/A 10/05/2017 20:18:35
> 1 Redundant No Power
> 2 System OK 0.2 67.0
> --More-- or (q)uit
> 2 Internal OK N/A N/A 10/05/2017 20:18:35
> 2 Redundant No Power
> 3 System OK 0.7 70.6
> 3 Internal OK N/A N/A 10/05/2017 20:18:23
> 3 Redundant No Power
>
> USB Port Power Status:
> ----------------------
> Device Not Present

Does this patch work properly in production?

Index: bin/srancid.in
===================================================================
--- bin/srancid.in (revision 3734)
+++ bin/srancid.in (working copy)
@@ -151,6 +151,35 @@
}
}

+ # filter power rates and tmestamps from 7024 power supply info
+ # Power Supplies:
+ #
+ # Unit Description Status Average Current Since
+ # Power Power Date/Time
+ # (Watts) (Watts)
+ # ---- ----------- ----------- ---------- -------- -------------------
+ # 1 System OK 1.4 65.2
+ # 1 Internal OK N/A N/A 10/05/2017 20:18:35
+ if (/power supplies/i) {
+ ProcessHistory("COMMENTS","keysort","C1",
+ "! Unit\tDescription\tStatus\n");
+ ProcessHistory("COMMENTS","keysort","C1",
+ "! ----\t-----------\t------\n");
+ while (<INPUT>) {
+ s/^\s+\015//g;
+ tr/\015//d;
+ /^(unit\s|--+\s|\s)/i && next;
+ if (/(\d+)\s+(\w+)\s+(\w+(\s\w+)?)\s/) {
+ if (length($2) >= 8) {
+ ProcessHistory("COMMENTS","keysort","C1","! $1\t$2\t$3\n");
+ } else {
+ ProcessHistory("COMMENTS","keysort","C1","! $1\t$2\t\t$3\n");
+ }
+ }
+ /^\s*$/ && last;
+ }
+ }
+
/system description: (.*)/i &&
ProcessHistory("COMMENTS","keysort","A1", "!Chassis type: $1\n") &&
next;

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: DELL PowerConnect 70xx Watts Status [ In reply to ]
Yes, it work! Stoped receiving the annoying diff on it. Thanks again for your continuing help.


> On Dec 5, 2017, at 3:19 PM, heasley <heas@shrubbery.net> wrote:
>
> Mon, Dec 04, 2017 at 01:52:20PM -0500, Gerhard Mourani:
>> Hello,
>>
>> Sorry for the delay, here the output, thanks.
>>
>> EliteStack7024#show system
>>
>> System Description: Dell Ethernet Switch
>> System Up Time: 60 days, 06h:26m:08s
>> System Contact: xxx@xxx.xx
>> System Name: EliteStack7024
>> System Location: xxxxxxxx
>> Burned In MAC Address: xxxx.xxxx.xxxx
>> System Object ID: 1.3.6.1.4.1.674.10895.3035
>> System Model ID: PCT7048
>> Machine Type: PowerConnect 7048
>> Temperature Sensors:
>>
>> Unit Description Temperature Status
>> (Celsius)
>> ---- ----------- ----------- ------
>> 1 MAC 31 Good
>> 1 PHY 29 Good
>> 2 MAC 30 Good
>> 2 PHY 28 Good
>> 3 MAC 32 Good
>> 3 PHY 26 Good
>>
>> Fans:
>> --More-- or (q)uit
>>
>> Unit Description Status
>> ---- ----------- ------
>> 1 Fan 1 OK
>> 1 Fan 2 OK
>> 1 Fan 3 OK
>> 2 Fan 1 OK
>> 2 Fan 2 OK
>> 2 Fan 3 OK
>> 3 Fan 1 OK
>> 3 Fan 2 OK
>> 3 Fan 3 OK
>>
>> Power Supplies:
>>
>> Unit Description Status Average Current Since
>> Power Power Date/Time
>> (Watts) (Watts)
>> ---- ----------- ----------- ---------- -------- -------------------
>> 1 System OK 1.4 65.2
>> 1 Internal OK N/A N/A 10/05/2017 20:18:35
>> 1 Redundant No Power
>> 2 System OK 0.2 67.0
>> --More-- or (q)uit
>> 2 Internal OK N/A N/A 10/05/2017 20:18:35
>> 2 Redundant No Power
>> 3 System OK 0.7 70.6
>> 3 Internal OK N/A N/A 10/05/2017 20:18:23
>> 3 Redundant No Power
>>
>> USB Port Power Status:
>> ----------------------
>> Device Not Present
>
> Does this patch work properly in production?
>
> Index: bin/srancid.in
> ===================================================================
> --- bin/srancid.in (revision 3734)
> +++ bin/srancid.in (working copy)
> @@ -151,6 +151,35 @@
> }
> }
>
> + # filter power rates and tmestamps from 7024 power supply info
> + # Power Supplies:
> + #
> + # Unit Description Status Average Current Since
> + # Power Power Date/Time
> + # (Watts) (Watts)
> + # ---- ----------- ----------- ---------- -------- -------------------
> + # 1 System OK 1.4 65.2
> + # 1 Internal OK N/A N/A 10/05/2017 20:18:35
> + if (/power supplies/i) {
> + ProcessHistory("COMMENTS","keysort","C1",
> + "! Unit\tDescription\tStatus\n");
> + ProcessHistory("COMMENTS","keysort","C1",
> + "! ----\t-----------\t------\n");
> + while (<INPUT>) {
> + s/^\s+\015//g;
> + tr/\015//d;
> + /^(unit\s|--+\s|\s)/i && next;
> + if (/(\d+)\s+(\w+)\s+(\w+(\s\w+)?)\s/) {
> + if (length($2) >= 8) {
> + ProcessHistory("COMMENTS","keysort","C1","! $1\t$2\t$3\n");
> + } else {
> + ProcessHistory("COMMENTS","keysort","C1","! $1\t$2\t\t$3\n");
> + }
> + }
> + /^\s*$/ && last;
> + }
> + }
> +
> /system description: (.*)/i &&
> ProcessHistory("COMMENTS","keysort","A1", "!Chassis type: $1\n") &&
> next;
>

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss