[rancid] Force10 FTOS 9 still triggering alerts due to flash mod time changing and fan speed
Heasley
heas at shrubbery.net
Tue Jan 31 06:34:57 UTC 2017
> Am 30.01.2017 um 17:16 schrieb Doug Hughes <doug.hughes at keystonenap.com>:
>
>
> Yes, this is relatively easy to fix.
>
> for the first I'd add a line in your ShowFlash proc near the other 'next if' lines like so:
>
> next if / \.?$/;
> (that will skip the . and .. entries.)
>
Doesnt that skip any line with an end?
> for the next it'd be in the ShowChassis procedure you could do something similar, however if you care about the fan status but not the speed (reasonable), you have to do a little more processing. There are ways you could do this with more work by eliminating the speed, but the simple answer might be:
>
> next if / up /;
>
> It's a little bit scattershot, but it will quiet the noise unless something important comes up with a fan or a power supply. (It's also easier than testing the alternate)
>
>> On 1/30/2017 5:30 PM, Vinny.Abello at nttdata.com wrote:
>> Hello all,
>>
>> I’ve got RANCID pointed at various Force10 switches all running some release of OS 9. RANCID continually sees changes from doing a directory listing. This has been discussed before here:
>>
>> http://www.shrubbery.net/pipermail/rancid-discuss/2013-August/006995.html
>>
>> It seemed like this was a new issue with OS 9 and a patch was issued to address it. However, I’m running RANCID 3.6.2 and can see in f10rancid that it is patched in this manner, but it seems to have no effect for me. I continually get diffs every time rancid-run fires.
>>
>> An example:
>>
>> @@ -25,9 +25,9 @@
>> !Boot Variables: BOOT INTERFACE GATEWAY IP ADDRESS = variable does not exist
>> !Boot Variables: Reload Mode = normal-reload
>> !
>> !Flash: flash: 1 drwx 4096 Dec 31 1979 16:00:00 -08:00 .
>> - !Flash: flash: 2 drwx 3584 Jan 30 2017 13:03:18 -08:00 ..
>> + !Flash: flash: 2 drwx 3584 Jan 30 2017 14:03:26 -08:00 ..
>> !Flash: flash: 3 drwx 4096 Sep 08 2015 22:11:08 -08:00 TRACE_LOG_DIR
>> !Flash: flash: 4 drwx 4096 Sep 08 2015 22:11:08 -08:00 CONFD_LOG_DIR
>> !Flash: flash: 5 drwx 4096 Sep 08 2015 22:11:08 -08:00 CORE_DUMP_DIR
>> !Flash: flash: 6 d--- 4096 Sep 08 2015 22:11:08 -08:00 ADMIN_DIR
>>
>>
>> Additionally, I think it was also mentioned somewhere on this list, some of the output captured includes the RPM reading of the fans in the chassis when checking the power supplies and it is comparing these values which should be ignored.
>>
>> Here is an example of that:
>>
>> @@ -56,9 +56,9 @@
>> !Chassis: No Of MACs : 3
>> !Chassis: -- Power Supplies --
>> !Chassis: Unit Bay Status Type FanStatus FanSpeed(rpm)
>> !Chassis: 1 1 up AC up 10288
>> - !Chassis: 1 2 up AC up 10256
>> + !Chassis: 1 2 up AC up 10288
>> !Chassis: -- Fan Status --
>> !Chassis: 1 up
>> !Chassis: 1 up
>> !Chassis: 1 up
>>
>>
>> Is there something I can change in f10rancid to have it ignore these two things and can this be pushed into a future release? I’d be happy to test anything against a myriad of Force10 gear I have.
>>
>> Thanks!
>>
>> -Vinny
>>
>> ______________________________________________________________________
>> Disclaimer: This email and any attachments are sent in strictest confidence
>> for the sole use of the addressee and may contain legally privileged,
>> confidential, and proprietary data. If you are not the intended recipient,
>> please advise the sender by replying promptly to this email and then delete
>> and destroy this email and any attachments without any further use, copying
>> or forwarding.
>>
>>
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss at shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
> --
> Doug Hughes
> Keystone NAP
> Fairless Hills, PA
> 1.844.KEYBLOCK (539.2562) <keystone-nap.png>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170130/f16be715/attachment.html>
More information about the Rancid-discuss
mailing list