Discussion:
[rancid] Recurring Diffs
Yousef Raffah
2007-08-12 06:44:09 UTC
Permalink
Hello..

I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.

One little thing is bugging me though, one of my routers (6500) is
giving me recurring diffs almost every hour. This is what it shows:

@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config

Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE

Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
Lance
2007-08-12 17:17:14 UTC
Permalink
Yousef,

Just my guess but probably due to some changes that the system is
tracking. I personally ignore the collection of this output. I just
comment out the command.

-Lance
-------- Original Message --------
Subject: [rancid] Recurring Diffs
Date: Sat, August 11, 2007 11:44 pm
Hello..
I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.
One little thing is bugging me though, one of my routers (6500) is
@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config
Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Yousef Raffah
2007-08-12 22:55:42 UTC
Permalink
Post by Lance
Yousef,
Just my guess but probably due to some changes that the system is
tracking. I personally ignore the collection of this output. I just
comment out the command.
I'm sorry but which command to commend and where to comment it?
Thanks in advance...
Post by Lance
-Lance
-------- Original Message --------
Subject: [rancid] Recurring Diffs
Date: Sat, August 11, 2007 11:44 pm
Hello..
I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.
One little thing is bugging me though, one of my routers (6500) is
@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config
Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
Lance
2007-08-13 17:35:16 UTC
Permalink
Yousef,

edit your bin/rancid file. You will want to search for Main. There
should only be one thing that matches that. Comment out the command you
don't want to run.

If that doesn't help you send me your rancid file I will comment it for
you.

-lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 12, 2007 3:55 pm
Post by Lance
Yousef,
Just my guess but probably due to some changes that the system is
tracking. I personally ignore the collection of this output. I just
comment out the command.
I'm sorry but which command to commend and where to comment it?
Thanks in advance...
Post by Lance
-Lance
-------- Original Message --------
Subject: [rancid] Recurring Diffs
Date: Sat, August 11, 2007 11:44 pm
Hello..
I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.
One little thing is bugging me though, one of my routers (6500) is
@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config
Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
Yousef Raffah
2007-08-14 13:02:08 UTC
Permalink
I'm sorry Lance, do you mean /usr/local/bin/rancid-cvs ?

I couldn't figure out what to comment in that file, can you please
help me with that?

Thanks in advance.
Post by Lance
Yousef,
edit your bin/rancid file. You will want to search for Main. There
should only be one thing that matches that. Comment out the command you
don't want to run.
If that doesn't help you send me your rancid file I will comment it for
you.
-lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 12, 2007 3:55 pm
Post by Lance
Yousef,
Just my guess but probably due to some changes that the system is
tracking. I personally ignore the collection of this output. I just
comment out the command.
I'm sorry but which command to commend and where to comment it?
Thanks in advance...
Post by Lance
-Lance
-------- Original Message --------
Subject: [rancid] Recurring Diffs
Date: Sat, August 11, 2007 11:44 pm
Hello..
I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.
One little thing is bugging me though, one of my routers (6500) is
@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config
Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
Lance
2007-08-14 18:40:04 UTC
Permalink
Yousef,

**NOTE**
In this email when I am talking about the application as a WHOLE is say
"RANCID". When I talk about files I will say something like "rancid"
"clogin" "rancid-cvs" etc. Hopefully this makes it easier to understand
what I am talking about.

If you have the default you will have the follow as your install
location for the bin files of RANCID.

/usr/local/rancid/bin/

the file "rancid" in this directory is where you would make the changes.
The "rancid" file is a perl script that makes a system call to an expect
script "clogin". Open up the "rancid" file and do a search for "Main".
You will find below that there is a list of commands. If you are unsure
of what I am talking about send me your "rancid" file. This is a
specific script file that is one of many scripts that come with RANCID.

-Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Tue, August 14, 2007 6:02 am
I'm sorry Lance, do you mean /usr/local/bin/rancid-cvs ?
I couldn't figure out what to comment in that file, can you please
help me with that?
Thanks in advance.
Post by Lance
Yousef,
edit your bin/rancid file. You will want to search for Main. There
should only be one thing that matches that. Comment out the command you
don't want to run.
If that doesn't help you send me your rancid file I will comment it for
you.
-lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 12, 2007 3:55 pm
Post by Lance
Yousef,
Just my guess but probably due to some changes that the system is
tracking. I personally ignore the collection of this output. I just
comment out the command.
I'm sorry but which command to commend and where to comment it?
Thanks in advance...
Post by Lance
-Lance
-------- Original Message --------
Subject: [rancid] Recurring Diffs
Date: Sat, August 11, 2007 11:44 pm
Hello..
I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.
One little thing is bugging me though, one of my routers (6500) is
@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config
Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
Yousef Raffah
2007-08-15 07:25:15 UTC
Permalink
Post by Lance
Yousef,
If you have the default you will have the follow as your install
location for the bin files of RANCID.
/usr/local/rancid/bin/
I'm using FreeBSD and it installs it under /usr/local/libexec/rancind/bin
Post by Lance
the file "rancid" in this directory is where you would make the changes.
The "rancid" file is a perl script that makes a system call to an expect
script "clogin". Open up the "rancid" file and do a search for "Main".
You will find below that there is a list of commands. If you are unsure
of what I am talking about send me your "rancid" file. This is a
specific script file that is one of many scripts that come with RANCID.
I found it, but is this the right line to comment
'dir /all nvram:' => "DirSlotN",

or is it something else?

Thanks a lot for your great help :)
Post by Lance
-Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Tue, August 14, 2007 6:02 am
I'm sorry Lance, do you mean /usr/local/bin/rancid-cvs ?
I couldn't figure out what to comment in that file, can you please
help me with that?
Thanks in advance.
Post by Lance
Yousef,
edit your bin/rancid file. You will want to search for Main. There
should only be one thing that matches that. Comment out the command you
don't want to run.
If that doesn't help you send me your rancid file I will comment it for
you.
-lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 12, 2007 3:55 pm
Post by Lance
Yousef,
Just my guess but probably due to some changes that the system is
tracking. I personally ignore the collection of this output. I just
comment out the command.
I'm sorry but which command to commend and where to comment it?
Thanks in advance...
Post by Lance
-Lance
-------- Original Message --------
Subject: [rancid] Recurring Diffs
Date: Sat, August 11, 2007 11:44 pm
Hello..
I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.
One little thing is bugging me though, one of my routers (6500) is
@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config
Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
Yousef Raffah
2007-08-18 12:24:50 UTC
Permalink
Post by Lance
Yousef,
**NOTE**
In this email when I am talking about the application as a WHOLE is say
"RANCID". When I talk about files I will say something like "rancid"
"clogin" "rancid-cvs" etc. Hopefully this makes it easier to understand
what I am talking about.
If you have the default you will have the follow as your install
location for the bin files of RANCID.
/usr/local/rancid/bin/
the file "rancid" in this directory is where you would make the changes.
The "rancid" file is a perl script that makes a system call to an expect
script "clogin". Open up the "rancid" file and do a search for "Main".
You will find below that there is a list of commands. If you are unsure
of what I am talking about send me your "rancid" file. This is a
specific script file that is one of many scripts that come with RANCID.
Dear Lance and group members,

Once I comment/remove the line
'dir /all nvram:' => "DirSlotN",
rancid can't connect to ANY of my devices, it sends me this E-mail

The following routers have not been successfully contacted for
more than 4 hours.
-rw-r----- 1 rancid netteam 28495 Aug 18 09:00 192.168.10.6

I have attached the rancid file I have, can someone tell me what is
the correct line to comment?

Thanks in advance for your great help...
Post by Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Tue, August 14, 2007 6:02 am
I'm sorry Lance, do you mean /usr/local/bin/rancid-cvs ?
I couldn't figure out what to comment in that file, can you please
help me with that?
Thanks in advance.
Post by Lance
Yousef,
edit your bin/rancid file. You will want to search for Main. There
should only be one thing that matches that. Comment out the command you
don't want to run.
If that doesn't help you send me your rancid file I will comment it for
you.
-lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 12, 2007 3:55 pm
Post by Lance
Yousef,
Just my guess but probably due to some changes that the system is
tracking. I personally ignore the collection of this output. I just
comment out the command.
I'm sorry but which command to commend and where to comment it?
Thanks in advance...
Post by Lance
-Lance
-------- Original Message --------
Subject: [rancid] Recurring Diffs
Date: Sat, August 11, 2007 11:44 pm
Hello..
I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.
One little thing is bugging me though, one of my routers (6500) is
@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config
Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
Lance
2007-08-19 00:17:48 UTC
Permalink
Yousef,

I have attached a version of rancid that has all the dir statement
commented out. I will double check my own version when I get to work on
monday and see exactly what I have. I will let you know.

What error is in the logs? It should not effect any of the connection
scripts and if a command should fail the device will spit back and error
or wait for timeout then continue to the next command.

-Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sat, August 18, 2007 5:24 am
Post by Lance
Yousef,
**NOTE**
In this email when I am talking about the application as a WHOLE is say
"RANCID". When I talk about files I will say something like "rancid"
"clogin" "rancid-cvs" etc. Hopefully this makes it easier to understand
what I am talking about.
If you have the default you will have the follow as your install
location for the bin files of RANCID.
/usr/local/rancid/bin/
the file "rancid" in this directory is where you would make the changes.
The "rancid" file is a perl script that makes a system call to an expect
script "clogin". Open up the "rancid" file and do a search for "Main".
You will find below that there is a list of commands. If you are unsure
of what I am talking about send me your "rancid" file. This is a
specific script file that is one of many scripts that come with RANCID.
Dear Lance and group members,
Once I comment/remove the line
'dir /all nvram:' => "DirSlotN",
rancid can't connect to ANY of my devices, it sends me this E-mail
The following routers have not been successfully contacted for
more than 4 hours.
-rw-r----- 1 rancid netteam 28495 Aug 18 09:00 192.168.10.6
I have attached the rancid file I have, can someone tell me what is
the correct line to comment?
Thanks in advance for your great help...
Post by Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Tue, August 14, 2007 6:02 am
I'm sorry Lance, do you mean /usr/local/bin/rancid-cvs ?
I couldn't figure out what to comment in that file, can you please
help me with that?
Thanks in advance.
Post by Lance
Yousef,
edit your bin/rancid file. You will want to search for Main. There
should only be one thing that matches that. Comment out the command you
don't want to run.
If that doesn't help you send me your rancid file I will comment it for
you.
-lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 12, 2007 3:55 pm
Post by Lance
Yousef,
Just my guess but probably due to some changes that the system is
tracking. I personally ignore the collection of this output. I just
comment out the command.
I'm sorry but which command to commend and where to comment it?
Thanks in advance...
Post by Lance
-Lance
-------- Original Message --------
Subject: [rancid] Recurring Diffs
Date: Sat, August 11, 2007 11:44 pm
Hello..
I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.
One little thing is bugging me though, one of my routers (6500) is
@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config
Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
Yousef Raffah
2007-08-19 08:54:45 UTC
Permalink
Post by Lance
Yousef,
I have attached a version of rancid that has all the dir statement
commented out. I will double check my own version when I get to work on
monday and see exactly what I have. I will let you know.
Thanks a lot for your help.
Post by Lance
What error is in the logs? It should not effect any of the connection
scripts and if a command should fail the device will spit back and error
or wait for timeout then continue to the next command.
It gives this:
The following routers have not been successfully contacted for
more than 4 hours.
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.x
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.y
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.z

It seems like it is affecting the connection scripts somehow!
Post by Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sat, August 18, 2007 5:24 am
Post by Lance
Yousef,
**NOTE**
In this email when I am talking about the application as a WHOLE is say
"RANCID". When I talk about files I will say something like "rancid"
"clogin" "rancid-cvs" etc. Hopefully this makes it easier to understand
what I am talking about.
If you have the default you will have the follow as your install
location for the bin files of RANCID.
/usr/local/rancid/bin/
the file "rancid" in this directory is where you would make the changes.
The "rancid" file is a perl script that makes a system call to an expect
script "clogin". Open up the "rancid" file and do a search for "Main".
You will find below that there is a list of commands. If you are unsure
of what I am talking about send me your "rancid" file. This is a
specific script file that is one of many scripts that come with RANCID.
Dear Lance and group members,
Once I comment/remove the line
'dir /all nvram:' => "DirSlotN",
rancid can't connect to ANY of my devices, it sends me this E-mail
The following routers have not been successfully contacted for
more than 4 hours.
-rw-r----- 1 rancid netteam 28495 Aug 18 09:00 192.168.10.6
I have attached the rancid file I have, can someone tell me what is
the correct line to comment?
Thanks in advance for your great help...
Post by Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Tue, August 14, 2007 6:02 am
I'm sorry Lance, do you mean /usr/local/bin/rancid-cvs ?
I couldn't figure out what to comment in that file, can you please
help me with that?
Thanks in advance.
Post by Lance
Yousef,
edit your bin/rancid file. You will want to search for Main. There
should only be one thing that matches that. Comment out the command you
don't want to run.
If that doesn't help you send me your rancid file I will comment it for
you.
-lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 12, 2007 3:55 pm
Post by Lance
Yousef,
Just my guess but probably due to some changes that the system is
tracking. I personally ignore the collection of this output. I just
comment out the command.
I'm sorry but which command to commend and where to comment it?
Thanks in advance...
Post by Lance
-Lance
-------- Original Message --------
Subject: [rancid] Recurring Diffs
Date: Sat, August 11, 2007 11:44 pm
Hello..
I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.
One little thing is bugging me though, one of my routers (6500) is
@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config
Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
Lance
2007-08-19 16:48:53 UTC
Permalink
Yousef,

You need to check your log file. That would be something similar to
"<rancid path>/var/log/<group>-date"
/usr/local/rancid/var/log/network-20070919

Look in that file and see exactly what it says.

None the less I will check my script at work on monday and let you know.

-Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 19, 2007 1:54 am
Post by Lance
Yousef,
I have attached a version of rancid that has all the dir statement
commented out. I will double check my own version when I get to work on
monday and see exactly what I have. I will let you know.
Thanks a lot for your help.
Post by Lance
What error is in the logs? It should not effect any of the connection
scripts and if a command should fail the device will spit back and error
or wait for timeout then continue to the next command.
The following routers have not been successfully contacted for
more than 4 hours.
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.x
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.y
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.z
It seems like it is affecting the connection scripts somehow!
Post by Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sat, August 18, 2007 5:24 am
Post by Lance
Yousef,
**NOTE**
In this email when I am talking about the application as a WHOLE is say
"RANCID". When I talk about files I will say something like "rancid"
"clogin" "rancid-cvs" etc. Hopefully this makes it easier to understand
what I am talking about.
If you have the default you will have the follow as your install
location for the bin files of RANCID.
/usr/local/rancid/bin/
the file "rancid" in this directory is where you would make the changes.
The "rancid" file is a perl script that makes a system call to an expect
script "clogin". Open up the "rancid" file and do a search for "Main".
You will find below that there is a list of commands. If you are unsure
of what I am talking about send me your "rancid" file. This is a
specific script file that is one of many scripts that come with RANCID.
Dear Lance and group members,
Once I comment/remove the line
'dir /all nvram:' => "DirSlotN",
rancid can't connect to ANY of my devices, it sends me this E-mail
The following routers have not been successfully contacted for
more than 4 hours.
-rw-r----- 1 rancid netteam 28495 Aug 18 09:00 192.168.10.6
I have attached the rancid file I have, can someone tell me what is
the correct line to comment?
Thanks in advance for your great help...
Post by Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Tue, August 14, 2007 6:02 am
I'm sorry Lance, do you mean /usr/local/bin/rancid-cvs ?
I couldn't figure out what to comment in that file, can you please
help me with that?
Thanks in advance.
Post by Lance
Yousef,
edit your bin/rancid file. You will want to search for Main. There
should only be one thing that matches that. Comment out the command you
don't want to run.
If that doesn't help you send me your rancid file I will comment it for
you.
-lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 12, 2007 3:55 pm
Post by Lance
Yousef,
Just my guess but probably due to some changes that the system is
tracking. I personally ignore the collection of this output. I just
comment out the command.
I'm sorry but which command to commend and where to comment it?
Thanks in advance...
Post by Lance
-Lance
-------- Original Message --------
Subject: [rancid] Recurring Diffs
Date: Sat, August 11, 2007 11:44 pm
Hello..
I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.
One little thing is bugging me though, one of my routers (6500) is
@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config
Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
Yousef Raffah
2007-08-20 08:03:20 UTC
Permalink
Post by Lance
Yousef,
You need to check your log file. That would be something similar to
"<rancid path>/var/log/<group>-date"
/usr/local/rancid/var/log/network-20070919
Look in that file and see exactly what it says.
I found something related in one of my groups log file (/

Trying to get all of the configs.
192.168.2.6: found unexpected command - "dir /all nvram:"
write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
"expect -nobrace -re+ { exp_continue } -re {^[^
^M *]*SAVOLAPIX([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} { send_user --
"$expect_out(buffer)"
} -re {^[..."
invoked from within
"expect {
-re "\b+" { exp_continue }
-re "^\[^\n\r *]*$reprompt" { send_user --
"$expect_out(buffer)"
}
-re "^\[^\n\r]*$reprompt." { send..."
invoked from within
"if [ string match "*\;*" "$command" ] {
set commands [split $command \;]
set num_commands [llength $commands]
# the pager can not be turned off on ..."
(procedure "run_commands" line 34)
invoked from within
"run_commands $prompt $command"
("foreach" body line 144)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
send_user "$router\n"

# Figure out prompt.
# Since autoena..."
(file "/usr/local/libexec/rancid//clogin" line 616)
192.168.2.6: missed cmd(s): dir /all slavedisk2:,dir /all
sec-slot2:,show diag,dir /all disk1:,dir /all sec-nvram:,dir /all
disk2:,dir /all sec-bootflash:,s
how spe version,dir /all slaveslot2:,dir /all disk0:,dir /all
slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all
slavenvram:,dir /all sec-disk2:,d
ir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all
harddiskb:,dir /all slavedisk1:,show module,show controllers,show
diagbus,dir /all slavedisk0:,dir
/all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write
term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all
harddisk:,dir /all slot0
:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show
controllers cbus,dir /all slaveslot1:,show running-config,show
c7200,dir /all slot1:
192.168.2.6: End of run not found
!
=====================================
Getting missed routers: round 1.
192.168.2.6: found unexpected command - "dir /all nvram:"
write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
.
.
.
.
and so much more.
Post by Lance
None the less I will check my script at work on monday and let you know.
-Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 19, 2007 1:54 am
Post by Lance
Yousef,
I have attached a version of rancid that has all the dir statement
commented out. I will double check my own version when I get to work on
monday and see exactly what I have. I will let you know.
Thanks a lot for your help.
Post by Lance
What error is in the logs? It should not effect any of the connection
scripts and if a command should fail the device will spit back and error
or wait for timeout then continue to the next command.
The following routers have not been successfully contacted for
more than 4 hours.
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.x
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.y
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.z
It seems like it is affecting the connection scripts somehow!
Post by Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sat, August 18, 2007 5:24 am
Post by Lance
Yousef,
**NOTE**
In this email when I am talking about the application as a WHOLE is say
"RANCID". When I talk about files I will say something like "rancid"
"clogin" "rancid-cvs" etc. Hopefully this makes it easier to understand
what I am talking about.
If you have the default you will have the follow as your install
location for the bin files of RANCID.
/usr/local/rancid/bin/
the file "rancid" in this directory is where you would make the changes.
The "rancid" file is a perl script that makes a system call to an expect
script "clogin". Open up the "rancid" file and do a search for "Main".
You will find below that there is a list of commands. If you are unsure
of what I am talking about send me your "rancid" file. This is a
specific script file that is one of many scripts that come with RANCID.
Dear Lance and group members,
Once I comment/remove the line
'dir /all nvram:' => "DirSlotN",
rancid can't connect to ANY of my devices, it sends me this E-mail
The following routers have not been successfully contacted for
more than 4 hours.
-rw-r----- 1 rancid netteam 28495 Aug 18 09:00 192.168.10.6
I have attached the rancid file I have, can someone tell me what is
the correct line to comment?
Thanks in advance for your great help...
Post by Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Tue, August 14, 2007 6:02 am
I'm sorry Lance, do you mean /usr/local/bin/rancid-cvs ?
I couldn't figure out what to comment in that file, can you please
help me with that?
Thanks in advance.
Post by Lance
Yousef,
edit your bin/rancid file. You will want to search for Main. There
should only be one thing that matches that. Comment out the command you
don't want to run.
If that doesn't help you send me your rancid file I will comment it for
you.
-lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 12, 2007 3:55 pm
Post by Lance
Yousef,
Just my guess but probably due to some changes that the system is
tracking. I personally ignore the collection of this output. I just
comment out the command.
I'm sorry but which command to commend and where to comment it?
Thanks in advance...
Post by Lance
-Lance
-------- Original Message --------
Subject: [rancid] Recurring Diffs
Date: Sat, August 11, 2007 11:44 pm
Hello..
I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.
One little thing is bugging me though, one of my routers (6500) is
@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config
Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
Lance
2007-08-20 16:25:12 UTC
Permalink
Yousef,

I know why it is bitching. It is cause you are running the stable while
I run the alpha. Meaning in the alpha there not a separate Hash, it is
created from the array. So Try the file I have attached. I think this
should do the trick for you.

-Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Mon, August 20, 2007 1:03 am
Post by Lance
Yousef,
You need to check your log file. That would be something similar to
"<rancid path>/var/log/<group>-date"
/usr/local/rancid/var/log/network-20070919
Look in that file and see exactly what it says.
I found something related in one of my groups log file (/
Trying to get all of the configs.
192.168.2.6: found unexpected command - "dir /all nvram:"
write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
"expect -nobrace -re+ { exp_continue } -re {^[^
^M *]*SAVOLAPIX([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} { send_user --
"$expect_out(buffer)"
} -re {^[..."
invoked from within
"expect {
-re "\b+" { exp_continue }
-re "^\[^\n\r *]*$reprompt" { send_user --
"$expect_out(buffer)"
}
-re "^\[^\n\r]*$reprompt." { send..."
invoked from within
"if [ string match "*\;*" "$command" ] {
set commands [split $command \;]
set num_commands [llength $commands]
# the pager can not be turned off on ..."
(procedure "run_commands" line 34)
invoked from within
"run_commands $prompt $command"
("foreach" body line 144)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
send_user "$router\n"
# Figure out prompt.
# Since autoena..."
(file "/usr/local/libexec/rancid//clogin" line 616)
192.168.2.6: missed cmd(s): dir /all slavedisk2:,dir /all
sec-slot2:,show diag,dir /all disk1:,dir /all sec-nvram:,dir /all
disk2:,dir /all sec-bootflash:,s
how spe version,dir /all slaveslot2:,dir /all disk0:,dir /all
slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all
slavenvram:,dir /all sec-disk2:,d
ir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all
harddiskb:,dir /all slavedisk1:,show module,show controllers,show
diagbus,dir /all slavedisk0:,dir
/all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write
term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all
harddisk:,dir /all slot0
:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show
controllers cbus,dir /all slaveslot1:,show running-config,show
192.168.2.6: End of run not found
!
=====================================
Getting missed routers: round 1.
192.168.2.6: found unexpected command - "dir /all nvram:"
write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
.
.
.
.
and so much more.
Post by Lance
None the less I will check my script at work on monday and let you know.
-Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 19, 2007 1:54 am
Post by Lance
Yousef,
I have attached a version of rancid that has all the dir statement
commented out. I will double check my own version when I get to work on
monday and see exactly what I have. I will let you know.
Thanks a lot for your help.
Post by Lance
What error is in the logs? It should not effect any of the connection
scripts and if a command should fail the device will spit back and error
or wait for timeout then continue to the next command.
The following routers have not been successfully contacted for
more than 4 hours.
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.x
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.y
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.z
It seems like it is affecting the connection scripts somehow!
Post by Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sat, August 18, 2007 5:24 am
Post by Lance
Yousef,
**NOTE**
In this email when I am talking about the application as a WHOLE is say
"RANCID". When I talk about files I will say something like "rancid"
"clogin" "rancid-cvs" etc. Hopefully this makes it easier to understand
what I am talking about.
If you have the default you will have the follow as your install
location for the bin files of RANCID.
/usr/local/rancid/bin/
the file "rancid" in this directory is where you would make the changes.
The "rancid" file is a perl script that makes a system call to an expect
script "clogin". Open up the "rancid" file and do a search for "Main".
You will find below that there is a list of commands. If you are unsure
of what I am talking about send me your "rancid" file. This is a
specific script file that is one of many scripts that come with RANCID.
Dear Lance and group members,
Once I comment/remove the line
'dir /all nvram:' => "DirSlotN",
rancid can't connect to ANY of my devices, it sends me this E-mail
The following routers have not been successfully contacted for
more than 4 hours.
-rw-r----- 1 rancid netteam 28495 Aug 18 09:00 192.168.10.6
I have attached the rancid file I have, can someone tell me what is
the correct line to comment?
Thanks in advance for your great help...
Post by Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Tue, August 14, 2007 6:02 am
I'm sorry Lance, do you mean /usr/local/bin/rancid-cvs ?
I couldn't figure out what to comment in that file, can you please
help me with that?
Thanks in advance.
Post by Lance
Yousef,
edit your bin/rancid file. You will want to search for Main. There
should only be one thing that matches that. Comment out the command you
don't want to run.
If that doesn't help you send me your rancid file I will comment it for
you.
-lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 12, 2007 3:55 pm
Post by Lance
Yousef,
Just my guess but probably due to some changes that the system is
tracking. I personally ignore the collection of this output. I just
comment out the command.
I'm sorry but which command to commend and where to comment it?
Thanks in advance...
Post by Lance
-Lance
-------- Original Message --------
Subject: [rancid] Recurring Diffs
Date: Sat, August 11, 2007 11:44 pm
Hello..
I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.
One little thing is bugging me though, one of my routers (6500) is
@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config
Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
Yousef Raffah
2007-08-22 07:20:47 UTC
Permalink
Thank you so much Lance, this solved it :)
Post by Lance
Yousef,
I know why it is bitching. It is cause you are running the stable while
I run the alpha. Meaning in the alpha there not a separate Hash, it is
created from the array. So Try the file I have attached. I think this
should do the trick for you.
-Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Mon, August 20, 2007 1:03 am
Post by Lance
Yousef,
You need to check your log file. That would be something similar to
"<rancid path>/var/log/<group>-date"
/usr/local/rancid/var/log/network-20070919
Look in that file and see exactly what it says.
I found something related in one of my groups log file (/
Trying to get all of the configs.
192.168.2.6: found unexpected command - "dir /all nvram:"
write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
"expect -nobrace -re+ { exp_continue } -re {^[^
^M *]*SAVOLAPIX([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} { send_user --
"$expect_out(buffer)"
} -re {^[..."
invoked from within
"expect {
-re "\b+" { exp_continue }
-re "^\[^\n\r *]*$reprompt" { send_user --
"$expect_out(buffer)"
}
-re "^\[^\n\r]*$reprompt." { send..."
invoked from within
"if [ string match "*\;*" "$command" ] {
set commands [split $command \;]
set num_commands [llength $commands]
# the pager can not be turned off on ..."
(procedure "run_commands" line 34)
invoked from within
"run_commands $prompt $command"
("foreach" body line 144)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
send_user "$router\n"
# Figure out prompt.
# Since autoena..."
(file "/usr/local/libexec/rancid//clogin" line 616)
192.168.2.6: missed cmd(s): dir /all slavedisk2:,dir /all
sec-slot2:,show diag,dir /all disk1:,dir /all sec-nvram:,dir /all
disk2:,dir /all sec-bootflash:,s
how spe version,dir /all slaveslot2:,dir /all disk0:,dir /all
slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all
slavenvram:,dir /all sec-disk2:,d
ir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all
harddiskb:,dir /all slavedisk1:,show module,show controllers,show
diagbus,dir /all slavedisk0:,dir
/all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write
term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all
harddisk:,dir /all slot0
:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show
controllers cbus,dir /all slaveslot1:,show running-config,show
192.168.2.6: End of run not found
!
=====================================
Getting missed routers: round 1.
192.168.2.6: found unexpected command - "dir /all nvram:"
write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
.
.
.
.
and so much more.
Post by Lance
None the less I will check my script at work on monday and let you know.
-Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 19, 2007 1:54 am
Post by Lance
Yousef,
I have attached a version of rancid that has all the dir statement
commented out. I will double check my own version when I get to work on
monday and see exactly what I have. I will let you know.
Thanks a lot for your help.
Post by Lance
What error is in the logs? It should not effect any of the connection
scripts and if a command should fail the device will spit back and error
or wait for timeout then continue to the next command.
The following routers have not been successfully contacted for
more than 4 hours.
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.x
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.y
-rw-r----- 1 rancid netteam 16919 Aug 18 09:00 192.168.2.z
It seems like it is affecting the connection scripts somehow!
Post by Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sat, August 18, 2007 5:24 am
Post by Lance
Yousef,
**NOTE**
In this email when I am talking about the application as a WHOLE is say
"RANCID". When I talk about files I will say something like "rancid"
"clogin" "rancid-cvs" etc. Hopefully this makes it easier to understand
what I am talking about.
If you have the default you will have the follow as your install
location for the bin files of RANCID.
/usr/local/rancid/bin/
the file "rancid" in this directory is where you would make the changes.
The "rancid" file is a perl script that makes a system call to an expect
script "clogin". Open up the "rancid" file and do a search for "Main".
You will find below that there is a list of commands. If you are unsure
of what I am talking about send me your "rancid" file. This is a
specific script file that is one of many scripts that come with RANCID.
Dear Lance and group members,
Once I comment/remove the line
'dir /all nvram:' => "DirSlotN",
rancid can't connect to ANY of my devices, it sends me this E-mail
The following routers have not been successfully contacted for
more than 4 hours.
-rw-r----- 1 rancid netteam 28495 Aug 18 09:00 192.168.10.6
I have attached the rancid file I have, can someone tell me what is
the correct line to comment?
Thanks in advance for your great help...
Post by Lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Tue, August 14, 2007 6:02 am
I'm sorry Lance, do you mean /usr/local/bin/rancid-cvs ?
I couldn't figure out what to comment in that file, can you please
help me with that?
Thanks in advance.
Post by Lance
Yousef,
edit your bin/rancid file. You will want to search for Main. There
should only be one thing that matches that. Comment out the command you
don't want to run.
If that doesn't help you send me your rancid file I will comment it for
you.
-lance
-------- Original Message --------
Subject: Re: [rancid] Recurring Diffs
Date: Sun, August 12, 2007 3:55 pm
Post by Lance
Yousef,
Just my guess but probably due to some changes that the system is
tracking. I personally ignore the collection of this output. I just
comment out the command.
I'm sorry but which command to commend and where to comment it?
Thanks in advance...
Post by Lance
-Lance
-------- Original Message --------
Subject: [rancid] Recurring Diffs
Date: Sat, August 11, 2007 11:44 pm
Hello..
I'm a new RANCID user who got really impressed by the project. Thanks
a lot for creating such great tools.
One little thing is bugging me though, one of my routers (6500) is
@@ -28,10 +28,10 @@
!BootFlash: Configuration register is 0x2102
!
!Flash: 65536K bytes of Flash internal SIMM (Sector size 512K).
!Flash: Directory of flash:/
- !Flash: 2 -rwx 36 Aug 11 2007 22:26:27 nv_hdr
!Flash: 3 -rwx 5804 Aug 08 2007 13:07:31 config.text
+ !Flash: 4 -rwx 36 Aug 11 2007 23:26:27 nv_hdr
!Flash: 1792000 bytes total (1784320 bytes free)
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram: 513 -rw- 5804 <no date> startup-config
Why does nv_hdr change every hour? Any idea?
I'm using rancind 2.3.1_2 on FreeBSD 6.2-RELEASE
Thanks in advance for any help
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
--
-------------------
|Yousef Raffah|
--------------------------------
http://yousef.raffah.com |
--------------------------------
Loading...