Mailing List Archive

Re: [SPAM?] Cisco NX "chatty" with Power info
ok,

So upgraded to 3.9 with the same behavior.

Built a cisco-nxp personality that had an | exclude OK line on it to remove
the wattage line... but suddenly rancid couldn't log in to those units.
Even though clogin would work fine. Went and modified the cisco-nx
definition... but the exclude is ignored.

So now 2.3 and 3.9 behave identically in this situation...

This is the whole output for the section in question:

Index: configs/10.10.10.114

===================================================================

retrieving revision 1.1157

diff -u -4 -r1.1157 10.10.10.114

@@ -80,10 +80,10 @@

!Env: Power Actual Total

!Env: Supply Model Input Capacity Status

!Env: (Watts ) (Watts )

!Env: ------- ---------- --------------- ------ ----------
--------------------

- !Env: 1 N9K-PAC-1200W-B 192 W 1200 W
Ok

- !Env: 2 N9K-PAC-1200W-B 174 W 1200 W
Ok

+ !Env: 1 N9K-PAC-1200W-B 190 W 1200 W
Ok

+ !Env: 2 N9K-PAC-1200W-B 176 W 1200 W
Ok

!Env: Power Usage Summary:

!Env: --------------------

!Env: Power Supply redundancy mode (configured)
PS-Redundant

!Env: Power Supply redundancy mode (operational)
PS-Redundant

Any suggestions?

Thanks in advance!



On Mon, Mar 11, 2019 at 5:02 PM FF <fusionfoto@gmail.com> wrote:

> Apparently I'm running a massively old version (2.3.8). I'll try upgrading
> to 3.9 first.
>
> thanks in advance
>
> On Mon, Mar 11, 2019 at 4:47 PM heasley <heas@shrubbery.net> wrote:
>
>> Fri, Mar 08, 2019 at 07:06:45PM +0000, Nick Nauwelaerts:
>> > what version of rancid & nx-os are you running?
>>
>> good question.
>>
>> if the answer is 3.9, please show us the complete output of show
>> environment power
>>
>> > i notice you only have 1 column less as me, you seem to miss "actual
>> output".
>> >
>> >
>> > // nick
>> >
>> >
>> >
>> >
>> > From: Rancid-discuss [mailto:rancid-discuss-bounces@shrubbery.net] On
>> Behalf Of FF
>> > Sent: Friday, March 8, 2019 18:05
>> > To: rancid-discuss@shrubbery.net
>> > Subject: [SPAM?] [rancid] Cisco NX "chatty" with Power info
>> >
>> >
>> > !Env: Power Actual Total
>> >
>> > !Env: Supply Model Input Capacity
>> Status
>> >
>> > !Env: (Watts ) (Watts )
>> >
>> > !Env: ------- ---------- --------------- ------ ----------
>> --------------------
>> >
>> > - !Env: 1 N9K-PAC-1200W-B 180 W 1200 W
>> Ok
>> >
>> > + !Env: 1 N9K-PAC-1200W-B 182 W 1200 W
>> Ok
>> >
>> > !Env: 2 N9K-PAC-1200W-B 162 W 1200 W
>> Ok
>> >
>> > !Env: Power Usage Summary:
>> >
>> > Every time Rancid runs, we get erroneous reports because the power
>> usage fluctuates by 1-2 watts per run. Any suggestions on how to keep the
>> good information (availability, etc) without getting this level of detail?
>> >
>> > thanks in advance!
>> >
>> >
>> > --
>> > FF
>> >
>> > ________________________________
>> >
>> > Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV> | Twitter<
>> https://twitter.com/aquafinnv> | YouTube<
>> http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> |
>> LinkedIN<http://www.linkedin.com/company/aquafin/products> | Instagram<
>> https://www.instagram.com/aquafin_nv/>
>> >
>> > In het kader van de uitoefening van onze taken verzamelen we bij
>> Aquafin persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten
>> van de betrokkenen zijn, kan je nalezen in onze privacy policy<
>> https://www.aquafin.be/nl-be/privacy-policy>.
>> >
>> > P Denk aan het milieu. Druk deze mail niet onnodig af.
>>
>> > _______________________________________________
>> > Rancid-discuss mailing list
>> > Rancid-discuss@shrubbery.net
>> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>
>>
>
> --
> FF
>


--
FF
Re: [SPAM?] Cisco NX "chatty" with Power info [ In reply to ]
what model of nexus is this?
On Thu, 2019-06-27 at 00:07 -0400, FF wrote:
> ok,
>
> So upgraded to 3.9 with the same behavior.
>
> Built a cisco-nxp personality that had an | exclude OK line on it to
> remove the wattage line... but suddenly rancid couldn't log in to
> those units.
> Even though clogin would work fine. Went and modified the cisco-nx
> definition... but the exclude is ignored.
>
> So now 2.3 and 3.9 behave identically in this situation...
>
> This is the whole output for the section in question:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Index: configs/10.10.10.114
>
> ===================================================================
>
> retrieving revision 1.1157
>
> diff -u -4 -r1.1157 10.10.10.114
>
> @@ -80,10 +80,10 @@
>
> !Env: Power Actual Total
>
> !Env: Supply Model Input
> Capacity Status
>
> !Env: (Watts
> ) (Watts )
>
> !Env:
> ------- ---------- --------------- ------
> ---------- --------------------
>
> - !Env: 1
> N9K-PAC-1200W-B
> 192 W 1200 W Ok
>
> - !Env: 2
> N9K-PAC-1200W-B
> 174 W 1200 W Ok
>
> + !Env: 1
> N9K-PAC-1200W-B
> 190 W 1200 W Ok
>
> + !Env: 2
> N9K-PAC-1200W-B
> 176 W 1200 W Ok
>
> !Env: Power Usage
> Summary:
>
> !Env:
> --------------------
>
> !Env: Power
> Supply redundancy mode (configured) PS-Redundant
>
> !Env: Power
> Supply redundancy mode (operational) PS-Redundant
>
>
>
>
>
>
>
> Any suggestions?
>
> Thanks in advance!
>
>
>
>
> On Mon, Mar 11, 2019 at 5:02 PM FF <fusionfoto@gmail.com> wrote:
> > Apparently I'm running a massively old version (2.3.8). I'll try
> > upgrading to 3.9 first.
> >
> > thanks in advance
> >
> > On Mon, Mar 11, 2019 at 4:47 PM heasley <heas@shrubbery.net> wrote:
> > > Fri, Mar 08, 2019 at 07:06:45PM +0000, Nick Nauwelaerts:
> > >
> > > > what version of rancid & nx-os are you running?
> > >
> > >
> > >
> > > good question.
> > >
> > >
> > >
> > > if the answer is 3.9, please show us the complete output of show
> > > environment power
> > >
> > >
> > >
> > > > i notice you only have 1 column less as me, you seem to miss
> > > "actual output".
> > >
> > > >
> > >
> > > >
> > >
> > > > // nick
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > > From: Rancid-discuss [mailto:
> > > rancid-discuss-bounces@shrubbery.net] On Behalf Of FF
> > >
> > > > Sent: Friday, March 8, 2019 18:05
> > >
> > > > To: rancid-discuss@shrubbery.net
> > >
> > > > Subject: [SPAM?] [rancid] Cisco NX "chatty" with Power info
> > >
> > > >
> > >
> > > >
> > >
> > > > !Env: Power Actual Total
> > >
> > > >
> > >
> > > > !Env: Supply Model Input Capacity
> > > Status
> > >
> > > >
> > >
> > > > !Env: (Watts ) (Watts
> > > )
> > >
> > > >
> > >
> > > > !Env: ------- ---------- --------------- ------ -------
> > > --- --------------------
> > >
> > > >
> > >
> > > > - !Env: 1 N9K-PAC-1200W-B 180 W
> > > 1200 W Ok
> > >
> > > >
> > >
> > > > + !Env: 1 N9K-PAC-1200W-B 182 W
> > > 1200 W Ok
> > >
> > > >
> > >
> > > > !Env: 2 N9K-PAC-1200W-B 162 W
> > > 1200 W Ok
> > >
> > > >
> > >
> > > > !Env: Power Usage Summary:
> > >
> > > >
> > >
> > > > Every time Rancid runs, we get erroneous reports because the
> > > power usage fluctuates by 1-2 watts per run. Any suggestions on
> > > how to keep the good information (availability, etc) without
> > > getting this level of detail?
> > >
> > > >
> > >
> > > > thanks in advance!
> > >
> > > >
> > >
> > > >
> > >
> > > > --
> > >
> > > > FF
> > >
> > > >
> > >
> > > > ________________________________
> > >
> > > >
> > >
> > > > Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV> |
> > > Twitter<https://twitter.com/aquafinnv> | YouTube<
> > > http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee
> > > > | LinkedIN<http://www.linkedin.com/company/aquafin/products> |
> > > Instagram<https://www.instagram.com/aquafin_nv/>
> > >
> > > >
> > >
> > > > In het kader van de uitoefening van onze taken verzamelen we
> > > bij Aquafin persoonsgegevens. Hoe we omgaan met deze gegevens en
> > > wat de rechten van de betrokkenen zijn, kan je nalezen in onze
> > > privacy policy<https://www.aquafin.be/nl-be/privacy-policy>;.
> > >
> > > >
> > >
> > > > P Denk aan het milieu. Druk deze mail niet onnodig af.
> > >
> > >
> > >
> > > > _______________________________________________
> > >
> > > > Rancid-discuss mailing list
> > >
> > > > Rancid-discuss@shrubbery.net
> > >
> > > > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> > >
> > >
> > >
> >
> > --
> > FF
>
>
> _______________________________________________Rancid-discuss mailing
> listRancid-discuss@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [SPAM?] Cisco NX "chatty" with Power info [ In reply to ]
Hi,

Thanks for responding..

This is:

Software
BIOS: version 07.59
NXOS: version 7.0(3)I7(3)
BIOS compile time: 08/26/2016
NXOS image file is: bootflash:///nxos.7.0.3.I7.3.bin
NXOS compile time: 2/12/2018 13:00:00 [02/12/2018 19:13:48]


Hardware
cisco Nexus9000 C93120TX Chassis
Intel(R) Core(TM) i3- CPU @ 2.50GHz with 16400992 kB of memory.

Thanks for your help!



On Thu, Jun 27, 2019 at 5:01 AM Vacheslav Zouhairy <m_zouhairy@skno.by>
wrote:

> what model of nexus is this?
>
> On Thu, 2019-06-27 at 00:07 -0400, FF wrote:
>
>
> ok,
>
> So upgraded to 3.9 with the same behavior.
>
> Built a cisco-nxp personality that had an | exclude OK line on it to
> remove the wattage line... but suddenly rancid couldn't log in to those
> units.
> Even though clogin would work fine. Went and modified the cisco-nx
> definition... but the exclude is ignored.
>
> So now 2.3 and 3.9 behave identically in this situation...
>
> This is the whole output for the section in question:
>
> Index: configs/10.10.10.114
>
> ===================================================================
>
> retrieving revision 1.1157
>
> diff -u -4 -r1.1157 10.10.10.114
>
> @@ -80,10 +80,10 @@
>
> !Env: Power Actual Total
>
> !Env: Supply Model Input Capacity
> Status
>
> !Env: (Watts ) (Watts )
>
> !Env: ------- ---------- --------------- ------ ----------
> --------------------
>
> - !Env: 1 N9K-PAC-1200W-B 192 W 1200 W
> Ok
>
> - !Env: 2 N9K-PAC-1200W-B 174 W 1200 W
> Ok
>
> + !Env: 1 N9K-PAC-1200W-B 190 W 1200 W
> Ok
>
> + !Env: 2 N9K-PAC-1200W-B 176 W 1200 W
> Ok
>
> !Env: Power Usage Summary:
>
> !Env: --------------------
>
> !Env: Power Supply redundancy mode (configured)
> PS-Redundant
>
> !Env: Power Supply redundancy mode (operational)
> PS-Redundant
>
> Any suggestions?
>
> Thanks in advance!
>
>
>
> On Mon, Mar 11, 2019 at 5:02 PM FF <fusionfoto@gmail.com> wrote:
>
> Apparently I'm running a massively old version (2.3.8). I'll try upgrading
> to 3.9 first.
>
> thanks in advance
>
> On Mon, Mar 11, 2019 at 4:47 PM heasley <heas@shrubbery.net> wrote:
>
> Fri, Mar 08, 2019 at 07:06:45PM +0000, Nick Nauwelaerts:
> > what version of rancid & nx-os are you running?
>
> good question.
>
> if the answer is 3.9, please show us the complete output of show
> environment power
>
> > i notice you only have 1 column less as me, you seem to miss "actual
> output".
> >
> >
> > // nick
> >
> >
> >
> >
> > From: Rancid-discuss [mailto:rancid-discuss-bounces@shrubbery.net] On
> Behalf Of FF
> > Sent: Friday, March 8, 2019 18:05
> > To: rancid-discuss@shrubbery.net
> > Subject: [SPAM?] [rancid] Cisco NX "chatty" with Power info
> >
> >
> > !Env: Power Actual Total
> >
> > !Env: Supply Model Input Capacity
> Status
> >
> > !Env: (Watts ) (Watts )
> >
> > !Env: ------- ---------- --------------- ------ ----------
> --------------------
> >
> > - !Env: 1 N9K-PAC-1200W-B 180 W 1200 W
> Ok
> >
> > + !Env: 1 N9K-PAC-1200W-B 182 W 1200 W
> Ok
> >
> > !Env: 2 N9K-PAC-1200W-B 162 W 1200 W
> Ok
> >
> > !Env: Power Usage Summary:
> >
> > Every time Rancid runs, we get erroneous reports because the power usage
> fluctuates by 1-2 watts per run. Any suggestions on how to keep the good
> information (availability, etc) without getting this level of detail?
> >
> > thanks in advance!
> >
> >
> > --
> > FF
> >
> > ________________________________
> >
> > Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV> | Twitter<
> https://twitter.com/aquafinnv> | YouTube<
> http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> |
> LinkedIN<http://www.linkedin.com/company/aquafin/products> | Instagram<
> https://www.instagram.com/aquafin_nv/>
> >
> > In het kader van de uitoefening van onze taken verzamelen we bij Aquafin
> persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten van de
> betrokkenen zijn, kan je nalezen in onze privacy policy<
> https://www.aquafin.be/nl-be/privacy-policy>.
> >
> > P Denk aan het milieu. Druk deze mail niet onnodig af.
>
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss@shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
>
> --
> FF
>
>
>
> _______________________________________________
>
> Rancid-discuss mailing list
>
> Rancid-discuss@shrubbery.net
>
>
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
>

--
FF
Re: [SPAM?] Cisco NX "chatty" with Power info [ In reply to ]
Thu, Jun 27, 2019 at 12:07:13AM -0400, FF:
> ok,
>
> So upgraded to 3.9 with the same behavior.
>
> Built a cisco-nxp personality that had an | exclude OK line on it to remove
> the wattage line... but suddenly rancid couldn't log in to those units.
> Even though clogin would work fine. Went and modified the cisco-nx
> definition... but the exclude is ignored.
>
> So now 2.3 and 3.9 behave identically in this situation...
>
> This is the whole output for the section in question:
>
> Index: configs/10.10.10.114
>
> ===================================================================
>
> retrieving revision 1.1157
>
> diff -u -4 -r1.1157 10.10.10.114
>
> @@ -80,10 +80,10 @@
>
> !Env: Power Actual Total
>
> !Env: Supply Model Input Capacity Status
>
> !Env: (Watts ) (Watts )
>
> !Env: ------- ---------- --------------- ------ ----------
> --------------------
>
> - !Env: 1 N9K-PAC-1200W-B 192 W 1200 W
> Ok
>
> - !Env: 2 N9K-PAC-1200W-B 174 W 1200 W
> Ok
>
> + !Env: 1 N9K-PAC-1200W-B 190 W 1200 W
> Ok
>
> + !Env: 2 N9K-PAC-1200W-B 176 W 1200 W
> Ok
>
> !Env: Power Usage Summary:
>
> !Env: --------------------
>
> !Env: Power Supply redundancy mode (configured)
> PS-Redundant
>
> !Env: Power Supply redundancy mode (operational)
> PS-Redundant
>
> Any suggestions?
>
> Thanks in advance!
>

i dont see the problem. please send the raw output as an attachment to me.

clogin -c 'show environ power' hostname > output

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [SPAM?] Cisco NX "chatty" with Power info [ In reply to ]
hmm i have almost the same hardware but your software is a bit newer,
but i do not get that in the output. it seems you will have to see what
command produces the offending output and tweak the nxos template not
to run that command
On Thu, 2019-06-27 at 11:14 -0400, FF wrote:
> Hi,
>
> Thanks for responding..
>
> This is:
>
> Software
> BIOS: version 07.59
> NXOS: version 7.0(3)I7(3)
> BIOS compile time: 08/26/2016
> NXOS image file is: bootflash:///nxos.7.0.3.I7.3.bin
> NXOS compile time: 2/12/2018 13:00:00 [02/12/2018 19:13:48]
>
>
> Hardware
> cisco Nexus9000 C93120TX Chassis
> Intel(R) Core(TM) i3- CPU @ 2.50GHz with 16400992 kB of memory.
>
> Thanks for your help!
>
>
>
> On Thu, Jun 27, 2019 at 5:01 AM Vacheslav Zouhairy <
> m_zouhairy@skno.by> wrote:
> > what model of nexus is this?
> > On Thu, 2019-06-27 at 00:07 -0400, FF wrote:
> > > ok,
> > >
> > > So upgraded to 3.9 with the same behavior.
> > >
> > > Built a cisco-nxp personality that had an | exclude OK line on it
> > > to remove the wattage line... but suddenly rancid couldn't log in
> > > to those units.
> > > Even though clogin would work fine. Went and modified the cisco-
> > > nx definition... but the exclude is ignored.
> > >
> > > So now 2.3 and 3.9 behave identically in this situation...
> > >
> > > This is the whole output for the section in question:
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Index: configs/10.10.10.114
> > >
> > > =================================================================
> > > ==
> > >
> > > retrieving revision 1.1157
> > >
> > > diff -u -4 -r1.1157 10.10.10.114
> > >
> > > @@ -80,10 +80,10 @@
> > >
> > > !Env: Power Actual Total
> > >
> > > !Env: Supply Model Input
> > > Capacity Status
> > >
> > > !Env: (Watts
> > > ) (Watts )
> > >
> > > !Env:
> > > ------- ---------- --------------- ------
> > > ---------- --------------------
> > >
> > > - !Env: 1
> > > N9K-PAC-1200W-B
> > > 192 W 1200 W Ok
> > >
> > > - !Env: 2
> > > N9K-PAC-1200W-B
> > > 174 W 1200 W Ok
> > >
> > > + !Env: 1
> > > N9K-PAC-1200W-B
> > > 190 W 1200 W Ok
> > >
> > > + !Env: 2
> > > N9K-PAC-1200W-B
> > > 176 W 1200 W Ok
> > >
> > > !Env: Power Usage
> > > Summary:
> > >
> > > !Env:
> > > --------------------
> > >
> > > !Env: Power
> > > Supply redundancy mode (configured) PS-Redundant
> > >
> > > !Env: Power
> > > Supply redundancy mode (operational) PS-Redundant
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Any suggestions?
> > >
> > > Thanks in advance!
> > >
> > >
> > >
> > > On Mon, Mar 11, 2019 at 5:02 PM FF <fusionfoto@gmail.com> wrote:
> > > > Apparently I'm running a massively old version (2.3.8). I'll
> > > > try upgrading to 3.9 first.
> > > >
> > > > thanks in advance
> > > >
> > > > On Mon, Mar 11, 2019 at 4:47 PM heasley <heas@shrubbery.net>
> > > > wrote:
> > > > > Fri, Mar 08, 2019 at 07:06:45PM +0000, Nick Nauwelaerts:
> > > > >
> > > > > > what version of rancid & nx-os are you running?
> > > > >
> > > > >
> > > > >
> > > > > good question.
> > > > >
> > > > >
> > > > >
> > > > > if the answer is 3.9, please show us the complete output of
> > > > > show environment power
> > > > >
> > > > >
> > > > >
> > > > > > i notice you only have 1 column less as me, you seem to
> > > > > miss "actual output".
> > > > >
> > > > > >
> > > > >
> > > > > >
> > > > >
> > > > > > // nick
> > > > >
> > > > > >
> > > > >
> > > > > >
> > > > >
> > > > > >
> > > > >
> > > > > >
> > > > >
> > > > > > From: Rancid-discuss [mailto:
> > > > > rancid-discuss-bounces@shrubbery.net] On Behalf Of FF
> > > > >
> > > > > > Sent: Friday, March 8, 2019 18:05
> > > > >
> > > > > > To: rancid-discuss@shrubbery.net
> > > > >
> > > > > > Subject: [SPAM?] [rancid] Cisco NX "chatty" with Power info
> > > > >
> > > > > >
> > > > >
> > > > > >
> > > > >
> > > > > > !Env: Power Actual
> > > > > Total
> > > > >
> > > > > >
> > > > >
> > > > > > !Env: Supply Model Input
> > > > > Capacity Status
> > > > >
> > > > > >
> > > > >
> > > > > > !Env: (Watts )
> > > > > (Watts )
> > > > >
> > > > > >
> > > > >
> > > > > > !Env: ------- ---------- --------------- ------ ---
> > > > > ------- --------------------
> > > > >
> > > > > >
> > > > >
> > > > > > - !Env: 1 N9K-PAC-1200W-B 180 W
> > > > > 1200 W Ok
> > > > >
> > > > > >
> > > > >
> > > > > > + !Env: 1 N9K-PAC-1200W-B 182 W
> > > > > 1200 W Ok
> > > > >
> > > > > >
> > > > >
> > > > > > !Env: 2 N9K-PAC-1200W-B 162 W
> > > > > 1200 W Ok
> > > > >
> > > > > >
> > > > >
> > > > > > !Env: Power Usage Summary:
> > > > >
> > > > > >
> > > > >
> > > > > > Every time Rancid runs, we get erroneous reports because
> > > > > the power usage fluctuates by 1-2 watts per run. Any
> > > > > suggestions on how to keep the good information
> > > > > (availability, etc) without getting this level of detail?
> > > > >
> > > > > >
> > > > >
> > > > > > thanks in advance!
> > > > >
> > > > > >
> > > > >
> > > > > >
> > > > >
> > > > > > --
> > > > >
> > > > > > FF
> > > > >
> > > > > >
> > > > >
> > > > > > ________________________________
> > > > >
> > > > > >
> > > > >
> > > > > > Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV
> > > > > > | Twitter<https://twitter.com/aquafinnv> | YouTube<
> > > > > http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee
> > > > > > | LinkedIN<http://www.linkedin.com/company/aquafin/products
> > > > > > | Instagram<https://www.instagram.com/aquafin_nv/>
> > > > >
> > > > > >
> > > > >
> > > > > > In het kader van de uitoefening van onze taken verzamelen
> > > > > we bij Aquafin persoonsgegevens. Hoe we omgaan met deze
> > > > > gegevens en wat de rechten van de betrokkenen zijn, kan je
> > > > > nalezen in onze privacy policy<
> > > > > https://www.aquafin.be/nl-be/privacy-policy>;.
> > > > >
> > > > > >
> > > > >
> > > > > > P Denk aan het milieu. Druk deze mail niet onnodig af.
> > > > >
> > > > >
> > > > >
> > > > > > _______________________________________________
> > > > >
> > > > > > Rancid-discuss mailing list
> > > > >
> > > > > > Rancid-discuss@shrubbery.net
> > > > >
> > > > > > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > FF
> > >
> > > _______________________________________________Rancid-discuss
> > > mailing listRancid-discuss@shrubbery.net
> > > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [SPAM?] Cisco NX "chatty" with Power info [ In reply to ]
Have you tied playing with FILTER_OSC? I haven't, I've just lived with this output, but I remember similar conversations on this topic in the past.



And you’re right – NX-OS a while ago (2012-ish) didn’t have this issue; it was a software update somewhere around 18months ago (30 months ago?) that I started noticing it.



weylin


From: Vacheslav Zouhairy <m_zouhairy@skno.by>
Sent: Friday, June 28, 2019 1:13 AM
To: rancid-discuss@shrubbery.net
Subject: Re: [rancid] [SPAM?] Cisco NX "chatty" with Power info

hmm i have almost the same hardware but your software is a bit newer, but i do not get that in the output. it seems you will have to see what command produces the offending output and tweak the nxos template not to run that command

On Thu, 2019-06-27 at 11:14 -0400, FF wrote:
Hi,

Thanks for responding..

This is:

Software
BIOS: version 07.59
NXOS: version 7.0(3)I7(3)
BIOS compile time: 08/26/2016
NXOS image file is: bootflash:///nxos.7.0.3.I7.3.bin
NXOS compile time: 2/12/2018 13:00:00 [02/12/2018 19:13:48]


Hardware
cisco Nexus9000 C93120TX Chassis
Intel(R) Core(TM) i3- CPU @ 2.50GHz with 16400992 kB of memory.

Thanks for your help!



On Thu, Jun 27, 2019 at 5:01 AM Vacheslav Zouhairy <m_zouhairy@skno.by<mailto:m_zouhairy@skno.by>> wrote:
what model of nexus is this?

On Thu, 2019-06-27 at 00:07 -0400, FF wrote:

ok,

So upgraded to 3.9 with the same behavior.

Built a cisco-nxp personality that had an | exclude OK line on it to remove the wattage line... but suddenly rancid couldn't log in to those units.
Even though clogin would work fine. Went and modified the cisco-nx definition... but the exclude is ignored.

So now 2.3 and 3.9 behave identically in this situation...

This is the whole output for the section in question:


Index: configs/10.10.10.114<http://10.10.10.114>

===================================================================

retrieving revision 1.1157

diff -u -4 -r1.1157 10.10.10.114

@@ -80,10 +80,10 @@

!Env: Power Actual Total

!Env: Supply Model Input Capacity Status

!Env: (Watts ) (Watts )

!Env: ------- ---------- --------------- ------ ---------- --------------------

- !Env: 1 N9K-PAC-1200W-B 192 W 1200 W Ok

- !Env: 2 N9K-PAC-1200W-B 174 W 1200 W Ok

+ !Env: 1 N9K-PAC-1200W-B 190 W 1200 W Ok

+ !Env: 2 N9K-PAC-1200W-B 176 W 1200 W Ok

!Env: Power Usage Summary:

!Env: --------------------

!Env: Power Supply redundancy mode (configured) PS-Redundant

!Env: Power Supply redundancy mode (operational) PS-Redundant

Any suggestions?

Thanks in advance!



On Mon, Mar 11, 2019 at 5:02 PM FF <fusionfoto@gmail.com<mailto:fusionfoto@gmail.com>> wrote:
Apparently I'm running a massively old version (2.3.8). I'll try upgrading to 3.9 first.

thanks in advance

On Mon, Mar 11, 2019 at 4:47 PM heasley <heas@shrubbery.net<mailto:heas@shrubbery.net>> wrote:
Fri, Mar 08, 2019 at 07:06:45PM +0000, Nick Nauwelaerts:
> what version of rancid & nx-os are you running?

good question.

if the answer is 3.9, please show us the complete output of show environment power

> i notice you only have 1 column less as me, you seem to miss "actual output".
>
>
> // nick
>
>
>
>
> From: Rancid-discuss [mailto:rancid-discuss-bounces@shrubbery.net<mailto:rancid-discuss-bounces@shrubbery.net>] On Behalf Of FF
> Sent: Friday, March 8, 2019 18:05
> To: rancid-discuss@shrubbery.net<mailto:rancid-discuss@shrubbery.net>
> Subject: [SPAM?] [rancid] Cisco NX "chatty" with Power info
>
>
> !Env: Power Actual Total
>
> !Env: Supply Model Input Capacity Status
>
> !Env: (Watts ) (Watts )
>
> !Env: ------- ---------- --------------- ------ ---------- --------------------
>
> - !Env: 1 N9K-PAC-1200W-B 180 W 1200 W Ok
>
> + !Env: 1 N9K-PAC-1200W-B 182 W 1200 W Ok
>
> !Env: 2 N9K-PAC-1200W-B 162 W 1200 W Ok
>
> !Env: Power Usage Summary:
>
> Every time Rancid runs, we get erroneous reports because the power usage fluctuates by 1-2 watts per run. Any suggestions on how to keep the good information (availability, etc) without getting this level of detail?
>
> thanks in advance!
>
>
> --
> FF
>
> ________________________________
>
> Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV> | Twitter<https://twitter.com/aquafinnv> | YouTube<http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> | LinkedIN<http://www.linkedin.com/company/aquafin/products> | Instagram<https://www.instagram.com/aquafin_nv/>
>
> In het kader van de uitoefening van onze taken verzamelen we bij Aquafin persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten van de betrokkenen zijn, kan je nalezen in onze privacy policy<https://www.aquafin.be/nl-be/privacy-policy>.
>
> P Denk aan het milieu. Druk deze mail niet onnodig af.

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


--
FF


_______________________________________________

Rancid-discuss mailing list
<mailto:Rancid-discuss@shrubbery.net>

Rancid-discuss@shrubbery.net<mailto:Rancid-discuss@shrubbery.net>

<http://www.shrubbery.net/mailman/listinfo/rancid-discuss>

http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [SPAM?] Cisco NX "chatty" with Power info [ In reply to ]
Hi,

So I haven't messed with FILTER_OSC yet..

I would be glad to drop the power monitoring dialogue, except it seems to
be the only one I've identified that tells me if a power supply has failed
or if we are running in redundant power supply mode.

That's the real challenge. On other platforms, Cisco has an option where
you can just get an "OK" instead of all the hoopla.

I need to see if I can embed a grep or the "| exclude" in the actual
command sent to the N9K to resolve this. The erroneous chatter is a shame.
Maybe there is a way to add it to the definition for FILTER_OSC.

Thanks!

On Fri, Jun 28, 2019 at 4:57 PM Piegorsch, Weylin William <weylin@bu.edu>
wrote:

> Have you tied playing with FILTER_OSC? I haven't, I've just lived with
> this output, but I remember similar conversations on this topic in the past.
>
>
>
> And you’re right – NX-OS a while ago (2012-ish) didn’t have this issue; it
> was a software update somewhere around 18months ago (30 months ago?) that I
> started noticing it.
>
>
>
> weylin
>
>
>
>
>
> *From:* Vacheslav Zouhairy <m_zouhairy@skno.by>
> *Sent:* Friday, June 28, 2019 1:13 AM
> *To:* rancid-discuss@shrubbery.net
> *Subject:* Re: [rancid] [SPAM?] Cisco NX "chatty" with Power info
>
>
>
> hmm i have almost the same hardware but your software is a bit newer, but
> i do not get that in the output. it seems you will have to see what command
> produces the offending output and tweak the nxos template not to run that
> command
>
>
>
> On Thu, 2019-06-27 at 11:14 -0400, FF wrote:
>
> Hi,
>
>
>
> Thanks for responding..
>
>
>
> This is:
>
>
>
> Software
> BIOS: version 07.59
> NXOS: version 7.0(3)I7(3)
> BIOS compile time: 08/26/2016
> NXOS image file is: bootflash:///nxos.7.0.3.I7.3.bin
> NXOS compile time: 2/12/2018 13:00:00 [02/12/2018 19:13:48]
>
>
> Hardware
> cisco Nexus9000 C93120TX Chassis
> Intel(R) Core(TM) i3- CPU @ 2.50GHz with 16400992 kB of memory.
>
>
>
> Thanks for your help!
>
>
>
>
>
>
>
> On Thu, Jun 27, 2019 at 5:01 AM Vacheslav Zouhairy <m_zouhairy@skno.by>
> wrote:
>
> what model of nexus is this?
>
>
>
> On Thu, 2019-06-27 at 00:07 -0400, FF wrote:
>
>
>
> ok,
>
>
>
> So upgraded to 3.9 with the same behavior.
>
>
>
> Built a cisco-nxp personality that had an | exclude OK line on it to
> remove the wattage line... but suddenly rancid couldn't log in to those
> units.
>
> Even though clogin would work fine. Went and modified the cisco-nx
> definition... but the exclude is ignored.
>
>
>
> So now 2.3 and 3.9 behave identically in this situation...
>
>
>
> This is the whole output for the section in question:
>
>
>
> Index: configs/10.10.10.114
>
> ===================================================================
>
> retrieving revision 1.1157
>
> diff -u -4 -r1.1157 10.10.10.114
>
> @@ -80,10 +80,10 @@
>
> !Env: Power Actual Total
>
> !Env: Supply Model Input Capacity Status
>
> !Env: (Watts ) (Watts )
>
> !Env: ------- ---------- --------------- ------ ----------
> --------------------
>
> - !Env: 1 N9K-PAC-1200W-B 192 W 1200
> W Ok
>
> - !Env: 2 N9K-PAC-1200W-B 174 W 1200
> W Ok
>
> + !Env: 1 N9K-PAC-1200W-B 190 W 1200
> W Ok
>
> + !Env: 2 N9K-PAC-1200W-B 176 W 1200
> W Ok
>
> !Env: Power Usage Summary:
>
> !Env: --------------------
>
> !Env: Power Supply redundancy mode (configured)
> PS-Redundant
>
> !Env: Power Supply redundancy mode (operational)
> PS-Redundant
>
>
>
> Any suggestions?
>
>
>
> Thanks in advance!
>
>
>
>
>
>
>
> On Mon, Mar 11, 2019 at 5:02 PM FF <fusionfoto@gmail.com> wrote:
>
> Apparently I'm running a massively old version (2.3.8). I'll try upgrading
> to 3.9 first.
>
>
>
> thanks in advance
>
>
>
> On Mon, Mar 11, 2019 at 4:47 PM heasley <heas@shrubbery.net> wrote:
>
> Fri, Mar 08, 2019 at 07:06:45PM +0000, Nick Nauwelaerts:
> > what version of rancid & nx-os are you running?
>
> good question.
>
> if the answer is 3.9, please show us the complete output of show
> environment power
>
> > i notice you only have 1 column less as me, you seem to miss "actual
> output".
> >
> >
> > // nick
> >
> >
> >
> >
> > From: Rancid-discuss [mailto:rancid-discuss-bounces@shrubbery.net] On
> Behalf Of FF
> > Sent: Friday, March 8, 2019 18:05
> > To: rancid-discuss@shrubbery.net
> > Subject: [SPAM?] [rancid] Cisco NX "chatty" with Power info
> >
> >
> > !Env: Power Actual Total
> >
> > !Env: Supply Model Input Capacity
> Status
> >
> > !Env: (Watts ) (Watts )
> >
> > !Env: ------- ---------- --------------- ------ ----------
> --------------------
> >
> > - !Env: 1 N9K-PAC-1200W-B 180 W 1200 W
> Ok
> >
> > + !Env: 1 N9K-PAC-1200W-B 182 W 1200 W
> Ok
> >
> > !Env: 2 N9K-PAC-1200W-B 162 W 1200 W
> Ok
> >
> > !Env: Power Usage Summary:
> >
> > Every time Rancid runs, we get erroneous reports because the power usage
> fluctuates by 1-2 watts per run. Any suggestions on how to keep the good
> information (availability, etc) without getting this level of detail?
> >
> > thanks in advance!
> >
> >
> > --
> > FF
> >
> > ________________________________
> >
> > Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV> | Twitter<
> https://twitter.com/aquafinnv> | YouTube<
> http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> |
> LinkedIN<http://www.linkedin.com/company/aquafin/products> | Instagram<
> https://www.instagram.com/aquafin_nv/>
> >
> > In het kader van de uitoefening van onze taken verzamelen we bij Aquafin
> persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten van de
> betrokkenen zijn, kan je nalezen in onze privacy policy<
> https://www.aquafin.be/nl-be/privacy-policy>.
> >
> > P Denk aan het milieu. Druk deze mail niet onnodig af.
>
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss@shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
>
> --
>
> FF
>
>
> _______________________________________________
>
> Rancid-discuss mailing list
>
> <Rancid-discuss@shrubbery.net>
>
> *Rancid-discuss@shrubbery.net <Rancid-discuss@shrubbery.net>*
>
>
> <http://www.shrubbery.net/mailman/listinfo/rancid-discuss>
>
> *http://www.shrubbery.net/mailman/listinfo/rancid-discuss <http://www.shrubbery.net/mailman/listinfo/rancid-discuss>*
>
>
>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>


--
FF
Re: [SPAM?] Cisco NX "chatty" with Power info [ In reply to ]
For whomever may be helped by it... I just piggybacked on the filter
passwords concept in /usr/local/libexec/rancid

Here is what the diff looks like. It could be refined to just knock out the
oscillating chatter on that line, or in case there are other PSUs... work
for that. But my goal was to create as little collateral damage as
possible. This seemed to be the easiest way to do it.

Thanks for everyone who offered advice and assistance.


@@ -1684,6 +1684,11 @@ sub WriteTerm {
$lineauto = 1 if /^ modem auto/;
/^ speed / && $lineauto && next; # kill speed on serial lines
/^ clockrate / && next; # kill clockrate on serial interfaces
+
+ if (/N9K-PAC-1200W-B/) {
+ ProcessHistory ("Power Supply Chatter removed\n");
+ next;
+ }
if (/^(enable )?(password|passwd)( level \d+)? / && $filter_pwds >= 1) {
ProcessHistory("ENABLE","","","!$1$2$3 <removed>\n");
next;


On Mon, Jul 1, 2019 at 4:01 PM FF <fusionfoto@gmail.com> wrote:

> Hi,
>
> So I haven't messed with FILTER_OSC yet..
>
> I would be glad to drop the power monitoring dialogue, except it seems to
> be the only one I've identified that tells me if a power supply has failed
> or if we are running in redundant power supply mode.
>
> That's the real challenge. On other platforms, Cisco has an option where
> you can just get an "OK" instead of all the hoopla.
>
> I need to see if I can embed a grep or the "| exclude" in the actual
> command sent to the N9K to resolve this. The erroneous chatter is a shame.
> Maybe there is a way to add it to the definition for FILTER_OSC.
>
> Thanks!
>
> On Fri, Jun 28, 2019 at 4:57 PM Piegorsch, Weylin William <weylin@bu.edu>
> wrote:
>
>> Have you tied playing with FILTER_OSC? I haven't, I've just lived with
>> this output, but I remember similar conversations on this topic in the past.
>>
>>
>>
>> And you’re right – NX-OS a while ago (2012-ish) didn’t have this issue;
>> it was a software update somewhere around 18months ago (30 months ago?)
>> that I started noticing it.
>>
>>
>>
>> weylin
>>
>>
>>
>>
>>
>> *From:* Vacheslav Zouhairy <m_zouhairy@skno.by>
>> *Sent:* Friday, June 28, 2019 1:13 AM
>> *To:* rancid-discuss@shrubbery.net
>> *Subject:* Re: [rancid] [SPAM?] Cisco NX "chatty" with Power info
>>
>>
>>
>> hmm i have almost the same hardware but your software is a bit newer, but
>> i do not get that in the output. it seems you will have to see what command
>> produces the offending output and tweak the nxos template not to run that
>> command
>>
>>
>>
>> On Thu, 2019-06-27 at 11:14 -0400, FF wrote:
>>
>> Hi,
>>
>>
>>
>> Thanks for responding..
>>
>>
>>
>> This is:
>>
>>
>>
>> Software
>> BIOS: version 07.59
>> NXOS: version 7.0(3)I7(3)
>> BIOS compile time: 08/26/2016
>> NXOS image file is: bootflash:///nxos.7.0.3.I7.3.bin
>> NXOS compile time: 2/12/2018 13:00:00 [02/12/2018 19:13:48]
>>
>>
>> Hardware
>> cisco Nexus9000 C93120TX Chassis
>> Intel(R) Core(TM) i3- CPU @ 2.50GHz with 16400992 kB of memory.
>>
>>
>>
>> Thanks for your help!
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Jun 27, 2019 at 5:01 AM Vacheslav Zouhairy <m_zouhairy@skno.by>
>> wrote:
>>
>> what model of nexus is this?
>>
>>
>>
>> On Thu, 2019-06-27 at 00:07 -0400, FF wrote:
>>
>>
>>
>> ok,
>>
>>
>>
>> So upgraded to 3.9 with the same behavior.
>>
>>
>>
>> Built a cisco-nxp personality that had an | exclude OK line on it to
>> remove the wattage line... but suddenly rancid couldn't log in to those
>> units.
>>
>> Even though clogin would work fine. Went and modified the cisco-nx
>> definition... but the exclude is ignored.
>>
>>
>>
>> So now 2.3 and 3.9 behave identically in this situation...
>>
>>
>>
>> This is the whole output for the section in question:
>>
>>
>>
>> Index: configs/10.10.10.114
>>
>> ===================================================================
>>
>> retrieving revision 1.1157
>>
>> diff -u -4 -r1.1157 10.10.10.114
>>
>> @@ -80,10 +80,10 @@
>>
>> !Env: Power Actual Total
>>
>> !Env: Supply Model Input Capacity
>> Status
>>
>> !Env: (Watts ) (Watts )
>>
>> !Env: ------- ---------- --------------- ------ ----------
>> --------------------
>>
>> - !Env: 1 N9K-PAC-1200W-B 192 W 1200
>> W Ok
>>
>> - !Env: 2 N9K-PAC-1200W-B 174 W 1200
>> W Ok
>>
>> + !Env: 1 N9K-PAC-1200W-B 190 W 1200
>> W Ok
>>
>> + !Env: 2 N9K-PAC-1200W-B 176 W 1200
>> W Ok
>>
>> !Env: Power Usage Summary:
>>
>> !Env: --------------------
>>
>> !Env: Power Supply redundancy mode (configured)
>> PS-Redundant
>>
>> !Env: Power Supply redundancy mode (operational)
>> PS-Redundant
>>
>>
>>
>> Any suggestions?
>>
>>
>>
>> Thanks in advance!
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Mar 11, 2019 at 5:02 PM FF <fusionfoto@gmail.com> wrote:
>>
>> Apparently I'm running a massively old version (2.3.8). I'll try
>> upgrading to 3.9 first.
>>
>>
>>
>> thanks in advance
>>
>>
>>
>> On Mon, Mar 11, 2019 at 4:47 PM heasley <heas@shrubbery.net> wrote:
>>
>> Fri, Mar 08, 2019 at 07:06:45PM +0000, Nick Nauwelaerts:
>> > what version of rancid & nx-os are you running?
>>
>> good question.
>>
>> if the answer is 3.9, please show us the complete output of show
>> environment power
>>
>> > i notice you only have 1 column less as me, you seem to miss "actual
>> output".
>> >
>> >
>> > // nick
>> >
>> >
>> >
>> >
>> > From: Rancid-discuss [mailto:rancid-discuss-bounces@shrubbery.net] On
>> Behalf Of FF
>> > Sent: Friday, March 8, 2019 18:05
>> > To: rancid-discuss@shrubbery.net
>> > Subject: [SPAM?] [rancid] Cisco NX "chatty" with Power info
>> >
>> >
>> > !Env: Power Actual Total
>> >
>> > !Env: Supply Model Input Capacity
>> Status
>> >
>> > !Env: (Watts ) (Watts )
>> >
>> > !Env: ------- ---------- --------------- ------ ----------
>> --------------------
>> >
>> > - !Env: 1 N9K-PAC-1200W-B 180 W 1200 W
>> Ok
>> >
>> > + !Env: 1 N9K-PAC-1200W-B 182 W 1200 W
>> Ok
>> >
>> > !Env: 2 N9K-PAC-1200W-B 162 W 1200 W
>> Ok
>> >
>> > !Env: Power Usage Summary:
>> >
>> > Every time Rancid runs, we get erroneous reports because the power
>> usage fluctuates by 1-2 watts per run. Any suggestions on how to keep the
>> good information (availability, etc) without getting this level of detail?
>> >
>> > thanks in advance!
>> >
>> >
>> > --
>> > FF
>> >
>> > ________________________________
>> >
>> > Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV> | Twitter<
>> https://twitter.com/aquafinnv> | YouTube<
>> http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> |
>> LinkedIN<http://www.linkedin.com/company/aquafin/products> | Instagram<
>> https://www.instagram.com/aquafin_nv/>
>> >
>> > In het kader van de uitoefening van onze taken verzamelen we bij
>> Aquafin persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten
>> van de betrokkenen zijn, kan je nalezen in onze privacy policy<
>> https://www.aquafin.be/nl-be/privacy-policy>.
>> >
>> > P Denk aan het milieu. Druk deze mail niet onnodig af.
>>
>> > _______________________________________________
>> > Rancid-discuss mailing list
>> > Rancid-discuss@shrubbery.net
>> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>
>>
>>
>> --
>>
>> FF
>>
>>
>> _______________________________________________
>>
>> Rancid-discuss mailing list
>>
>> <Rancid-discuss@shrubbery.net>
>>
>> *Rancid-discuss@shrubbery.net <Rancid-discuss@shrubbery.net>*
>>
>>
>> <http://www.shrubbery.net/mailman/listinfo/rancid-discuss>
>>
>> *http://www.shrubbery.net/mailman/listinfo/rancid-discuss <http://www.shrubbery.net/mailman/listinfo/rancid-discuss>*
>>
>>
>>
>>
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss@shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>
>
>
> --
> FF
>


--
FF