I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid.
Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db
or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp:
-rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification
Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification
Username: rancid Password: % Login invalid
Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4: missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4: End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
It overwrote your old hosts file.
Following installation instruction on an existing install was... Inadvisable :)
It seems its trying to use a username and password which doesn't exist on your switches.
What is in the .clogin file?
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com
On 18 July 2015 8:55:08 am Ryan Milton ryan.milton@fareportal.com wrote:
I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid.
Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db
or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp:
-rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification
Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification
Username: rancid Password: % Login invalid
Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4: missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4: End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1}
add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1}
add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1}
add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong adama@memetic.org wrote:
It overwrote your old hosts file.
Following installation instruction on an existing install was... Inadvisable :)
It seems its trying to use a username and password which doesn't exist on your switches.
What is in the .clogin file?
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com
On 18 July 2015 8:55:08 am Ryan Milton ryan.milton@fareportal.com wrote:
I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid.
Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db
or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp:
-rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification
Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification
Username: rancid Password: % Login invalid
Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4: missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4: End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
You probably just want to replace those with *, assuming the passwords are all the same.
Otherwise replace all of the IPs with the hostnames observium knows.
adam. On 18/07/2015 09:01:09, Ryan Milton ryan.milton@fareportal.com wrote: For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1}
add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1}
add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1}
add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton Network Engineer 135 W 50th Street, 5th Floor New York, NY-10020 Direct - 212-763-0453 Internal - 85080 Please visit our website at www.Fareportal.com [http://www.Fareportal.com]. Download the CheapOair App iPhone, iPad, Android, Windows Phone Disclaimer The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
It overwrote your old hosts file. Following installation instruction on an existing install was... Inadvisable :) It seems its trying to use a username and password which doesn't exist on your switches. What is in the .clogin file? Adam. Sent with AquaMail for Android http://www.aqua-mail.com [http://www.aqua-mail.com] On 18 July 2015 8:55:08 am Ryan Milton <ryan.milton@fareportal.com [mailto:ryan.milton@fareportal.com]> wrote: I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid.
Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db
or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp:
-rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification
Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification
Username: rancid Password: % Login invalid
Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4 [http://172.18.5.4]: missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4 [http://172.18.5.4]: End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
_______________________________________________ observium mailing list observium@observium.org [mailto:observium%40observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Are there any other likely permissions that I would need? Thinking because some users just use rancid.
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 4:13 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: You probably just want to replace those with *, assuming the passwords are all the same. Otherwise replace all of the IPs with the hostnames observium knows. adam.On 18/07/2015 09:01:09, Ryan Milton ryan.milton@fareportal.com wrote:
For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1} add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1} add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1} add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
[cid:image002.jpg@01CFCC02.44E28310]
Please visit our website at www.Fareportal.com [http://www.Fareportal.com] .
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: It overwrote your old hosts file.
Following installation instruction on an existing install was... Inadvisable :)
It seems its trying to use a username and password which doesn't exist on your switches.
What is in the .clogin file?
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com [http://www.aqua-mail.com]
On 18 July 2015 8:55:08 am Ryan Milton < ryan.milton@fareportal.com [ryan.milton@fareportal.com] > wrote:
I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid. Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp: -rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification Username: rancid Password: % Login invalid Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4 [http://172.18.5.4] : missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4 [http://172.18.5.4] : End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
_______________________________________________ observium mailing list observium@observium.org [about:blank] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
I don't understand the question :)
adam. On 18/07/2015 16:55:25, Ryan Milton ryan.milton@fareportal.com wrote: Are there any other likely permissions that I would need? Thinking because some users just use rancid. Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 4:13 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
You probably just want to replace those with *, assuming the passwords are all the same.
Otherwise replace all of the IPs with the hostnames observium knows.
adam. On 18/07/2015 09:01:09, Ryan Milton ryan.milton@fareportal.com wrote: For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1}
add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1}
add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1}
add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton Network Engineer 135 W 50th Street, 5th Floor New York, NY-10020 Direct - 212-763-0453 Internal - 85080 Please visit our website at www.Fareportal.com [http://www.Fareportal.com]. Download the CheapOair App iPhone, iPad, Android, Windows Phone Disclaimer The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
It overwrote your old hosts file. Following installation instruction on an existing install was... Inadvisable :) It seems its trying to use a username and password which doesn't exist on your switches. What is in the .clogin file? Adam. Sent with AquaMail for Android http://www.aqua-mail.com [http://www.aqua-mail.com] On 18 July 2015 8:55:08 am Ryan Milton <ryan.milton@fareportal.com [mailto:ryan.milton@fareportal.com]> wrote: I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid.
Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db
or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp:
-rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification
Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification
Username: rancid Password: % Login invalid
Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4 [http://172.18.5.4]: missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4 [http://172.18.5.4]: End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
_______________________________________________ observium mailing list observium@observium.org [about:blank] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Sorry. As I said earlier, the changes I made following the observium guide broke my rancid.
This was my rancid deployment: https://nsrc.org/workshops/2014/nsrc-tein-ait/raw-attachment/wiki/Agenda/ran...
Ryan
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: I don't understand the question :) adam.On 18/07/2015 16:55:25, Ryan Milton ryan.milton@fareportal.com wrote:
Are there any other likely permissions that I would need? Thinking because some users just use rancid.
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 4:13 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: You probably just want to replace those with *, assuming the passwords are all the same. Otherwise replace all of the IPs with the hostnames observium knows. adam.On 18/07/2015 09:01:09, Ryan Milton ryan.milton@fareportal.com wrote:
For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1} add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1} add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1} add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
[cid:image002.jpg@01CFCC02.44E28310]
Please visit our website at www.Fareportal.com [http://www.Fareportal.com] .
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: It overwrote your old hosts file.
Following installation instruction on an existing install was... Inadvisable :)
It seems its trying to use a username and password which doesn't exist on your switches.
What is in the .clogin file?
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com [http://www.aqua-mail.com]
On 18 July 2015 8:55:08 am Ryan Milton < ryan.milton@fareportal.com [ryan.milton@fareportal.com] > wrote:
I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid. Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp: -rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification Username: rancid Password: % Login invalid Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4 [http://172.18.5.4] : missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4 [http://172.18.5.4] : End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
_______________________________________________ observium mailing list observium@observium.org [about:blank] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
The only problem you've shown so far is that hostnames didn't match the IPs in your .clogin file.
It's been many years since I used RANCID.
adam. On 18/07/2015 17:36:10, Ryan Milton ryan.milton@fareportal.com wrote: Sorry. As I said earlier, the changes I made following the observium guide broke my rancid. This was my rancid deployment: https://nsrc.org/workshops/2014/nsrc-tein-ait/raw-attachment/wiki/Agenda/ran...
Ryan
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
I don't understand the question :)
adam. On 18/07/2015 16:55:25, Ryan Milton ryan.milton@fareportal.com wrote: Are there any other likely permissions that I would need? Thinking because some users just use rancid. Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 4:13 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
You probably just want to replace those with *, assuming the passwords are all the same.
Otherwise replace all of the IPs with the hostnames observium knows.
adam. On 18/07/2015 09:01:09, Ryan Milton ryan.milton@fareportal.com wrote: For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1}
add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1}
add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1}
add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton Network Engineer 135 W 50th Street, 5th Floor New York, NY-10020 Direct - 212-763-0453 Internal - 85080 Please visit our website at www.Fareportal.com [http://www.Fareportal.com]. Download the CheapOair App iPhone, iPad, Android, Windows Phone Disclaimer The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
It overwrote your old hosts file. Following installation instruction on an existing install was... Inadvisable :) It seems its trying to use a username and password which doesn't exist on your switches. What is in the .clogin file? Adam. Sent with AquaMail for Android http://www.aqua-mail.com [http://www.aqua-mail.com] On 18 July 2015 8:55:08 am Ryan Milton <ryan.milton@fareportal.com [mailto:ryan.milton@fareportal.com]> wrote: I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid.
Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db
or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp:
-rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification
Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification
Username: rancid Password: % Login invalid
Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4 [http://172.18.5.4]: missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4 [http://172.18.5.4]: End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
_______________________________________________ observium mailing list observium@observium.org [about:blank] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Ok.
I ask, because for some reason rancid stopped updating.
I have a habit of "over-fixing".
;)
Ryan On Sat, Jul 18, 2015 at 12:53 PM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: The only problem you've shown so far is that hostnames didn't match the IPs in your .clogin file. It's been many years since I used RANCID. adam.On 18/07/2015 17:36:10, Ryan Milton ryan.milton@fareportal.com wrote:
Sorry. As I said earlier, the changes I made following the observium guide broke my rancid.
This was my rancid deployment: https://nsrc.org/workshops/2014/nsrc-tein-ait/raw-attachment/wiki/Agenda/ran...
Ryan
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: I don't understand the question :) adam.On 18/07/2015 16:55:25, Ryan Milton ryan.milton@fareportal.com wrote:
Are there any other likely permissions that I would need? Thinking because some users just use rancid.
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 4:13 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: You probably just want to replace those with *, assuming the passwords are all the same. Otherwise replace all of the IPs with the hostnames observium knows. adam.On 18/07/2015 09:01:09, Ryan Milton ryan.milton@fareportal.com wrote:
For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1} add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1} add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1} add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
[cid:image002.jpg@01CFCC02.44E28310]
Please visit our website at www.Fareportal.com [http://www.Fareportal.com] .
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: It overwrote your old hosts file.
Following installation instruction on an existing install was... Inadvisable :)
It seems its trying to use a username and password which doesn't exist on your switches.
What is in the .clogin file?
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com [http://www.aqua-mail.com]
On 18 July 2015 8:55:08 am Ryan Milton < ryan.milton@fareportal.com [ryan.milton@fareportal.com] > wrote:
I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid. Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp: -rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification Username: rancid Password: % Login invalid Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4 [http://172.18.5.4] : missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4 [http://172.18.5.4] : End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
_______________________________________________ observium mailing list observium@observium.org [about:blank] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
I'm still confused as to what the problem is. Are you saying that RANCID *still* isn't working, as opposed to starting working at some point and then stopped working again?
adam. On 18/07/2015 17:55:48, Ryan Milton ryan.milton@fareportal.com wrote: Ok. I ask, because for some reason rancid stopped updating. I have a habit of "over-fixing". ;) Ryan
On Sat, Jul 18, 2015 at 12:53 PM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
The only problem you've shown so far is that hostnames didn't match the IPs in your .clogin file.
It's been many years since I used RANCID.
adam. On 18/07/2015 17:36:10, Ryan Milton ryan.milton@fareportal.com wrote: Sorry. As I said earlier, the changes I made following the observium guide broke my rancid. This was my rancid deployment: https://nsrc.org/workshops/2014/nsrc-tein-ait/raw-attachment/wiki/Agenda/ran...
Ryan
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
I don't understand the question :)
adam. On 18/07/2015 16:55:25, Ryan Milton ryan.milton@fareportal.com wrote: Are there any other likely permissions that I would need? Thinking because some users just use rancid. Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 4:13 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
You probably just want to replace those with *, assuming the passwords are all the same.
Otherwise replace all of the IPs with the hostnames observium knows.
adam. On 18/07/2015 09:01:09, Ryan Milton ryan.milton@fareportal.com wrote: For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1}
add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1}
add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1}
add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton Network Engineer 135 W 50th Street, 5th Floor New York, NY-10020 Direct - 212-763-0453 Internal - 85080 Please visit our website at www.Fareportal.com [http://www.Fareportal.com]. Download the CheapOair App iPhone, iPad, Android, Windows Phone Disclaimer The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
It overwrote your old hosts file. Following installation instruction on an existing install was... Inadvisable :) It seems its trying to use a username and password which doesn't exist on your switches. What is in the .clogin file? Adam. Sent with AquaMail for Android http://www.aqua-mail.com [http://www.aqua-mail.com] On 18 July 2015 8:55:08 am Ryan Milton <ryan.milton@fareportal.com [mailto:ryan.milton@fareportal.com]> wrote: I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid.
Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db
or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp:
-rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification
Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification
Username: rancid Password: % Login invalid
Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4 [http://172.18.5.4]: missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4 [http://172.18.5.4]: End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
_______________________________________________ observium mailing list observium@observium.org [about:blank] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Stopped populating diffs after integrating with observium.
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 12:59 PM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: I'm still confused as to what the problem is. Are you saying that RANCID *still* isn't working, as opposed to starting working at some point and then stopped working again? adam.On 18/07/2015 17:55:48, Ryan Milton ryan.milton@fareportal.com wrote:
Ok.
I ask, because for some reason rancid stopped updating.
I have a habit of "over-fixing".
;)
Ryan On Sat, Jul 18, 2015 at 12:53 PM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: The only problem you've shown so far is that hostnames didn't match the IPs in your .clogin file. It's been many years since I used RANCID. adam.On 18/07/2015 17:36:10, Ryan Milton ryan.milton@fareportal.com wrote:
Sorry. As I said earlier, the changes I made following the observium guide broke my rancid.
This was my rancid deployment: https://nsrc.org/workshops/2014/nsrc-tein-ait/raw-attachment/wiki/Agenda/ran...
Ryan
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: I don't understand the question :) adam.On 18/07/2015 16:55:25, Ryan Milton ryan.milton@fareportal.com wrote:
Are there any other likely permissions that I would need? Thinking because some users just use rancid.
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 4:13 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: You probably just want to replace those with *, assuming the passwords are all the same. Otherwise replace all of the IPs with the hostnames observium knows. adam.On 18/07/2015 09:01:09, Ryan Milton ryan.milton@fareportal.com wrote:
For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1} add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1} add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1} add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
[cid:image002.jpg@01CFCC02.44E28310]
Please visit our website at www.Fareportal.com [http://www.Fareportal.com] .
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong < adama@memetic.org [adama@memetic.org] > wrote: It overwrote your old hosts file.
Following installation instruction on an existing install was... Inadvisable :)
It seems its trying to use a username and password which doesn't exist on your switches.
What is in the .clogin file?
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com [http://www.aqua-mail.com]
On 18 July 2015 8:55:08 am Ryan Milton < ryan.milton@fareportal.com [ryan.milton@fareportal.com] > wrote:
I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid. Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp: -rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification Username: rancid Password: % Login invalid Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4 [http://172.18.5.4] : missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4 [http://172.18.5.4] : End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
_______________________________________________ observium mailing list observium@observium.org [about:blank] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Well, it's never going to update those diffs again, since you overwrote your routers.db.
Is RANCID actually successfully running?
adam. On 18/07/2015 18:00:35, Ryan Milton ryan.milton@fareportal.com wrote: Stopped populating diffs after integrating with observium. Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 12:59 PM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
I'm still confused as to what the problem is. Are you saying that RANCID *still* isn't working, as opposed to starting working at some point and then stopped working again?
adam. On 18/07/2015 17:55:48, Ryan Milton ryan.milton@fareportal.com wrote: Ok. I ask, because for some reason rancid stopped updating. I have a habit of "over-fixing". ;) Ryan
On Sat, Jul 18, 2015 at 12:53 PM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
The only problem you've shown so far is that hostnames didn't match the IPs in your .clogin file.
It's been many years since I used RANCID.
adam. On 18/07/2015 17:36:10, Ryan Milton ryan.milton@fareportal.com wrote: Sorry. As I said earlier, the changes I made following the observium guide broke my rancid. This was my rancid deployment: https://nsrc.org/workshops/2014/nsrc-tein-ait/raw-attachment/wiki/Agenda/ran...
Ryan
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
I don't understand the question :)
adam. On 18/07/2015 16:55:25, Ryan Milton ryan.milton@fareportal.com wrote: Are there any other likely permissions that I would need? Thinking because some users just use rancid. Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 4:13 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
You probably just want to replace those with *, assuming the passwords are all the same.
Otherwise replace all of the IPs with the hostnames observium knows.
adam. On 18/07/2015 09:01:09, Ryan Milton ryan.milton@fareportal.com wrote: For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1}
add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1}
add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1}
add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton Network Engineer 135 W 50th Street, 5th Floor New York, NY-10020 Direct - 212-763-0453 Internal - 85080 Please visit our website at www.Fareportal.com [http://www.Fareportal.com]. Download the CheapOair App iPhone, iPad, Android, Windows Phone Disclaimer The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
It overwrote your old hosts file. Following installation instruction on an existing install was... Inadvisable :) It seems its trying to use a username and password which doesn't exist on your switches. What is in the .clogin file? Adam. Sent with AquaMail for Android http://www.aqua-mail.com [http://www.aqua-mail.com] On 18 July 2015 8:55:08 am Ryan Milton <ryan.milton@fareportal.com [mailto:ryan.milton@fareportal.com]> wrote: I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid.
Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db
or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp:
-rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification
Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification
Username: rancid Password: % Login invalid
Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4 [http://172.18.5.4]: missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4 [http://172.18.5.4]: End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
_______________________________________________ observium mailing list observium@observium.org [about:blank] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
RANCID isn't running at this point. I keep getting the lockfile in /tmp.
What I am attempting to do is not use the php script and I've commented out the cron. Then I've replaced the original router.db file that I had. Not sure if that will work.
php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/observium/router.db
#hourly router dump 50 23 * * * /usr/bin/find /var/lib/rancid/logs -type f -mtime +2 -exec rm {} ;
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 1:01 PM, Adam Armstrong adama@memetic.org wrote:
Well, it's never going to update those diffs again, since you overwrote your routers.db.
Is RANCID actually successfully running?
adam.
On 18/07/2015 18:00:35, Ryan Milton ryan.milton@fareportal.com wrote:
Stopped populating diffs after integrating with observium. Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 12:59 PM, Adam Armstrong adama@memetic.org wrote:
I'm still confused as to what the problem is. Are you saying that RANCID *still* isn't working, as opposed to starting working at some point and then stopped working again?
adam.
On 18/07/2015 17:55:48, Ryan Milton ryan.milton@fareportal.com wrote:
Ok.
I ask, because for some reason rancid stopped updating.
I have a habit of "over-fixing".
;) Ryan On Sat, Jul 18, 2015 at 12:53 PM, Adam Armstrong adama@memetic.org wrote:
The only problem you've shown so far is that hostnames didn't match the IPs in your .clogin file.
It's been many years since I used RANCID.
adam.
On 18/07/2015 17:36:10, Ryan Milton ryan.milton@fareportal.com wrote:
Sorry. As I said earlier, the changes I made following the observium guide broke my rancid.
This was my rancid deployment: https://nsrc.org/workshops/2014/nsrc-tein-ait/raw-attachment/wiki/Agenda/ran... Ryan
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong adama@memetic.org wrote:
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong adama@memetic.org wrote:
I don't understand the question :)
adam.
On 18/07/2015 16:55:25, Ryan Milton ryan.milton@fareportal.com wrote:
Are there any other likely permissions that I would need? Thinking because some users just use rancid. Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 4:13 AM, Adam Armstrong adama@memetic.org wrote:
You probably just want to replace those with *, assuming the passwords are all the same.
Otherwise replace all of the IPs with the hostnames observium knows.
adam.
On 18/07/2015 09:01:09, Ryan Milton ryan.milton@fareportal.com wrote: For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1}
add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1}
add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1}
add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong adama@memetic.org wrote:
It overwrote your old hosts file.
Following installation instruction on an existing install was... Inadvisable :)
It seems its trying to use a username and password which doesn't exist on your switches.
What is in the .clogin file?
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com
On 18 July 2015 8:55:08 am Ryan Milton ryan.milton@fareportal.com wrote:
I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid.
Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db
or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp:
-rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification
Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification
Username: rancid Password: % Login invalid
Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4: missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4: End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Adam,
Is there a way to "undo' this: php /opt/observium/scripts/generate-rancid.php
/var/lib/rancid/observium/router.db
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Mon, Jul 20, 2015 at 8:03 AM, Ryan Milton ryan.milton@fareportal.com wrote:
RANCID isn't running at this point. I keep getting the lockfile in /tmp.
What I am attempting to do is not use the php script and I've commented out the cron. Then I've replaced the original router.db file that I had. Not sure if that will work.
php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/observium/router.db
#hourly router dump 50 23 * * * /usr/bin/find /var/lib/rancid/logs -type f -mtime +2 -exec rm {} ;
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 1:01 PM, Adam Armstrong adama@memetic.org wrote:
Well, it's never going to update those diffs again, since you overwrote your routers.db.
Is RANCID actually successfully running?
adam.
On 18/07/2015 18:00:35, Ryan Milton ryan.milton@fareportal.com wrote:
Stopped populating diffs after integrating with observium. Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 12:59 PM, Adam Armstrong adama@memetic.org wrote:
I'm still confused as to what the problem is. Are you saying that RANCID *still* isn't working, as opposed to starting working at some point and then stopped working again?
adam.
On 18/07/2015 17:55:48, Ryan Milton ryan.milton@fareportal.com wrote:
Ok.
I ask, because for some reason rancid stopped updating.
I have a habit of "over-fixing".
;) Ryan On Sat, Jul 18, 2015 at 12:53 PM, Adam Armstrong adama@memetic.org wrote:
The only problem you've shown so far is that hostnames didn't match the IPs in your .clogin file.
It's been many years since I used RANCID.
adam.
On 18/07/2015 17:36:10, Ryan Milton ryan.milton@fareportal.com wrote:
Sorry. As I said earlier, the changes I made following the observium guide broke my rancid.
This was my rancid deployment: https://nsrc.org/workshops/2014/nsrc-tein-ait/raw-attachment/wiki/Agenda/ran... Ryan
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong adama@memetic.org wrote:
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong adama@memetic.org wrote:
I don't understand the question :)
adam.
On 18/07/2015 16:55:25, Ryan Milton ryan.milton@fareportal.com wrote:
Are there any other likely permissions that I would need? Thinking because some users just use rancid. Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 4:13 AM, Adam Armstrong adama@memetic.org wrote:
You probably just want to replace those with *, assuming the passwords are all the same.
Otherwise replace all of the IPs with the hostnames observium knows.
adam.
On 18/07/2015 09:01:09, Ryan Milton ryan.milton@fareportal.com wrote: For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1}
add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1}
add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1}
add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong adama@memetic.org wrote:
It overwrote your old hosts file.
Following installation instruction on an existing install was... Inadvisable :)
It seems its trying to use a username and password which doesn't exist on your switches.
What is in the .clogin file?
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com
On 18 July 2015 8:55:08 am Ryan Milton ryan.milton@fareportal.com wrote:
I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid.
Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db
or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp:
-rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification
Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification
Username: rancid Password: % Login invalid
Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4: missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4: End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Restore router.db from your backup.
On 2015-07-20 16:20, Ryan Milton wrote:
Adam,
Is there a way to "undo' this: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/observium/router.db
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com http://www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Mon, Jul 20, 2015 at 8:03 AM, Ryan Milton <ryan.milton@fareportal.com mailto:ryan.milton@fareportal.com> wrote:
RANCID isn't running at this point. I keep getting the lockfile in /tmp. What I am attempting to do is not use the php script and I've commented out the cron. Then I've replaced the original router.db file that I had. Not sure if that will work. php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/observium/router.db #hourly router dump 50 23 * * * /usr/bin/find /var/lib/rancid/logs -type f -mtime +2 -exec rm {} \; Ryan Milton Network Engineer 135 W 50th Street, 5th Floor New York, NY-10020 Direct - 212-763-0453 Internal - 85080 Please visit our website at www.Fareportal.com <http://www.Fareportal.com>. Download the CheapOair App iPhone, iPad, Android, Windows Phone Disclaimer The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail. On Sat, Jul 18, 2015 at 1:01 PM, Adam Armstrong <adama@memetic.org <mailto:adama@memetic.org>> wrote: Well, it's never going to update those diffs again, since you overwrote your routers.db. Is RANCID actually successfully running? adam.
On 18/07/2015 18:00:35, Ryan Milton <ryan.milton@fareportal.com <mailto:ryan.milton@fareportal.com>> wrote: Stopped populating diffs after integrating with observium. Ryan Milton Network Engineer 135 W 50th Street, 5th Floor New York, NY-10020 Direct - 212-763-0453 Internal ext - x85080 Please visit our website at www.Fareportal.com <http://www.Fareportal.com>. Download the CheapOair App iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 12:59 PM, Adam Armstrong <adama@memetic.org <mailto:adama@memetic.org>> wrote: I'm still confused as to what the problem is. Are you saying that RANCID *still* isn't working, as opposed to starting working at some point and then stopped working again? adam. On 18/07/2015 17:55:48, Ryan Milton <ryan.milton@fareportal.com <mailto:ryan.milton@fareportal.com>> wrote: Ok. I ask, because for some reason rancid stopped updating. I have a habit of "over-fixing". ;) Ryan On Sat, Jul 18, 2015 at 12:53 PM, Adam Armstrong <adama@memetic.org <mailto:adama@memetic.org>> wrote: The only problem you've shown so far is that hostnames didn't match the IPs in your .clogin file. It's been many years since I used RANCID. adam. On 18/07/2015 17:36:10, Ryan Milton <ryan.milton@fareportal.com <mailto:ryan.milton@fareportal.com>> wrote: Sorry. As I said earlier, the changes I made following the observium guide broke my rancid. This was my rancid deployment: https://nsrc.org/workshops/2014/nsrc-tein-ait/raw-attachment/wiki/Agenda/rancid-exercise.htm#lets-make-rancid-run-automatically-every-30-minutes-from-using-cron Ryan On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong <adama@memetic.org <mailto:adama@memetic.org>> wrote: On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong <adama@memetic.org <mailto:adama@memetic.org>> wrote: I don't understand the question :) adam. On 18/07/2015 16:55:25, Ryan Milton <ryan.milton@fareportal.com <mailto:ryan.milton@fareportal.com>> wrote: Are there any other likely permissions that I would need? Thinking because some users just use rancid. Ryan Milton Network Engineer 135 W 50th Street, 5th Floor New York, NY-10020 Direct - 212-763-0453 Internal ext - x85080 Please visit our website at www.Fareportal.com <http://www.Fareportal.com>. Download the CheapOair App iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 4:13 AM, Adam Armstrong <adama@memetic.org <mailto:adama@memetic.org>> wrote: You probably just want to replace those with *, assuming the passwords are all the same. Otherwise replace all of the IPs with the hostnames observium knows. adam. On 18/07/2015 09:01:09, Ryan Milton <ryan.milton@fareportal.com <mailto:ryan.milton@fareportal.com>> wrote: For example: add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1} add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1} add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1} add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1} add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1} add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1} Ryan Milton Network Engineer 135 W 50th Street, 5th Floor New York, NY-10020 Direct - 212-763-0453 Internal - 85080 Please visit our website at www.Fareportal.com <http://www.Fareportal.com>. Download the CheapOair App iPhone, iPad, Android, Windows Phone Disclaimer The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail. On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong <adama@memetic.org <mailto:adama@memetic.org>> wrote: It overwrote your old hosts file. Following installation instruction on an existing install was... Inadvisable :) It seems its trying to use a username and password which doesn't exist on your switches. What is in the .clogin file? Adam. Sent with AquaMail for Android http://www.aqua-mail.com On 18 July 2015 8:55:08 am Ryan Milton <ryan.milton@fareportal.com <mailto:ryan.milton@fareportal.com>> wrote: I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid. Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db or fix rancid's ability to read the etc/hosts file I now keep getting this in /tmp: -rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'. User Access Verification Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'. User Access Verification Username: rancid Password: % Login invalid Username: rancid errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015 Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4 <http://172.18.5.4>: missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4 <http://172.18.5.4>: End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached Ryan _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
That worked. I had to remove the cronjob that was plugging it all in. Thanks.
Ryan
On Mon, Jul 20, 2015 at 10:33 AM, Tom Laermans tom.laermans@powersource.cx wrote:
Restore router.db from your backup.
On 2015-07-20 16:20, Ryan Milton wrote:
Adam,
Is there a way to "undo' this: php /opt/observium/scripts/generate-rancid.php
/var/lib/rancid/observium/router.db
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Mon, Jul 20, 2015 at 8:03 AM, Ryan Milton ryan.milton@fareportal.com wrote:
RANCID isn't running at this point. I keep getting the lockfile in /tmp.
What I am attempting to do is not use the php script and I've commented out the cron. Then I've replaced the original router.db file that I had. Not sure if that will work.
php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/observium/router.db
#hourly router dump 50 23 * * * /usr/bin/find /var/lib/rancid/logs -type f -mtime +2 -exec rm {} ;
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 1:01 PM, Adam Armstrong adama@memetic.org wrote:
Well, it's never going to update those diffs again, since you overwrote your routers.db.
Is RANCID actually successfully running?
adam.
On 18/07/2015 18:00:35, Ryan Milton ryan.milton@fareportal.com wrote:
Stopped populating diffs after integrating with observium. Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 12:59 PM, Adam Armstrong adama@memetic.org wrote:
I'm still confused as to what the problem is. Are you saying that RANCID *still* isn't working, as opposed to starting working at some point and then stopped working again?
adam.
On 18/07/2015 17:55:48, Ryan Milton ryan.milton@fareportal.com wrote:
Ok.
I ask, because for some reason rancid stopped updating.
I have a habit of "over-fixing".
;) Ryan On Sat, Jul 18, 2015 at 12:53 PM, Adam Armstrong adama@memetic.org wrote:
The only problem you've shown so far is that hostnames didn't match the IPs in your .clogin file.
It's been many years since I used RANCID.
adam.
On 18/07/2015 17:36:10, Ryan Milton ryan.milton@fareportal.com wrote:
Sorry. As I said earlier, the changes I made following the observium guide broke my rancid.
This was my rancid deployment: https://nsrc.org/workshops/2014/nsrc-tein-ait/raw-attachment/wiki/Agenda/ran... Ryan
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong adama@memetic.org wrote:
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong adama@memetic.org wrote:
I don't understand the question :)
adam.
On 18/07/2015 16:55:25, Ryan Milton ryan.milton@fareportal.com wrote:
Are there any other likely permissions that I would need? Thinking because some users just use rancid. Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 4:13 AM, Adam Armstrong adama@memetic.org wrote:
You probably just want to replace those with *, assuming the passwords are all the same.
Otherwise replace all of the IPs with the hostnames observium knows.
adam.
On 18/07/2015 09:01:09, Ryan Milton ryan.milton@fareportal.com wrote: For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1}
add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1}
add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1}
add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong adama@memetic.org wrote:
It overwrote your old hosts file.
Following installation instruction on an existing install was... Inadvisable :)
It seems its trying to use a username and password which doesn't exist on your switches.
What is in the .clogin file?
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com
On 18 July 2015 8:55:08 am Ryan Milton ryan.milton@fareportal.com wrote:
I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid.
Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db
or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp:
-rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification
Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification
Username: rancid Password: % Login invalid
Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4: missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4: End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan _______________________________________________
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hmm, I am getting an odd issue on the rancid running again.
I see this still in my rancid, when I look at the /var/lib/rancid/observium/router.db, I have the below. However, I don't see device like the 10.1.3.2 in the configs. So there is still some talking between observium and rancid. I need to undo that. [image: Inline image 1]
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Mon, Jul 20, 2015 at 4:31 PM, Ryan Milton ryan.milton@fareportal.com wrote:
That worked. I had to remove the cronjob that was plugging it all in. Thanks.
Ryan
On Mon, Jul 20, 2015 at 10:33 AM, Tom Laermans < tom.laermans@powersource.cx> wrote:
Restore router.db from your backup.
On 2015-07-20 16:20, Ryan Milton wrote:
Adam,
Is there a way to "undo' this: php /opt/observium/scripts/generate-rancid.php
/var/lib/rancid/observium/router.db
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Mon, Jul 20, 2015 at 8:03 AM, Ryan Milton ryan.milton@fareportal.com wrote:
RANCID isn't running at this point. I keep getting the lockfile in /tmp.
What I am attempting to do is not use the php script and I've commented out the cron. Then I've replaced the original router.db file that I had. Not sure if that will work.
php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/observium/router.db
#hourly router dump 50 23 * * * /usr/bin/find /var/lib/rancid/logs -type f -mtime +2 -exec rm {} ;
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 1:01 PM, Adam Armstrong adama@memetic.org wrote:
Well, it's never going to update those diffs again, since you overwrote your routers.db.
Is RANCID actually successfully running?
adam.
On 18/07/2015 18:00:35, Ryan Milton ryan.milton@fareportal.com wrote:
Stopped populating diffs after integrating with observium. Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 12:59 PM, Adam Armstrong adama@memetic.org wrote:
I'm still confused as to what the problem is. Are you saying that RANCID *still* isn't working, as opposed to starting working at some point and then stopped working again?
adam.
On 18/07/2015 17:55:48, Ryan Milton ryan.milton@fareportal.com wrote:
Ok.
I ask, because for some reason rancid stopped updating.
I have a habit of "over-fixing".
;) Ryan On Sat, Jul 18, 2015 at 12:53 PM, Adam Armstrong adama@memetic.org wrote:
The only problem you've shown so far is that hostnames didn't match the IPs in your .clogin file.
It's been many years since I used RANCID.
adam.
On 18/07/2015 17:36:10, Ryan Milton ryan.milton@fareportal.com wrote:
Sorry. As I said earlier, the changes I made following the observium guide broke my rancid.
This was my rancid deployment: https://nsrc.org/workshops/2014/nsrc-tein-ait/raw-attachment/wiki/Agenda/ran... Ryan
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong adama@memetic.org wrote:
On Sat, Jul 18, 2015 at 11:57 AM, Adam Armstrong adama@memetic.org wrote:
I don't understand the question :)
adam.
On 18/07/2015 16:55:25, Ryan Milton ryan.milton@fareportal.com wrote:
Are there any other likely permissions that I would need? Thinking because some users just use rancid. Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453 Internal ext - x85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone On Sat, Jul 18, 2015 at 4:13 AM, Adam Armstrong adama@memetic.org wrote:
You probably just want to replace those with *, assuming the passwords are all the same.
Otherwise replace all of the IPs with the hostnames observium knows.
adam.
On 18/07/2015 09:01:09, Ryan Milton ryan.milton@fareportal.com wrote: For example:
add autoenable 10.50.1.3 {1} add method 10.50.1.3 {ssh} add user 10.50.1.3 {rancid} add password 10.50.1.3 {Fareportal1}
add autoenable 10.50.1.10 {1} add method 10.50.1.10 {ssh} add user 10.50.1.10 {rancid} add password 10.50.1.10 {Fareportal1}
add autoenable 192.168.1.10 {1} add method 192.168.1.10 {ssh} add user 192.168.1.10 {rancid} add password 192.168.1.10 {Fareportal1}
add method 192.168.77.5 {ssh} add user 192.168.77.5 {rancid} add password 192.168.77.5 {Fareportal1}
add method 192.168.80.1 {ssh} add user 192.168.80.1 {rancid} add password 192.168.80.1 {Fareportal1}
add autoenable 10.90.90.10 {1} add method 10.90.90.10 {ssh} add user 10.90.90.10 {rancid} add password 10.90.90.10 {Fareportal1}
Ryan Milton
Network Engineer
135 W 50th Street, 5th Floor
New York, NY-10020
Direct - 212-763-0453
Internal - 85080
Please visit our website at www.Fareportal.com.
Download the CheapOair App
iPhone, iPad, Android, Windows Phone
Disclaimer
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.
On Sat, Jul 18, 2015 at 3:57 AM, Adam Armstrong adama@memetic.org wrote:
It overwrote your old hosts file.
Following installation instruction on an existing install was... Inadvisable :)
It seems its trying to use a username and password which doesn't exist on your switches.
What is in the .clogin file?
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com
On 18 July 2015 8:55:08 am Ryan Milton ryan.milton@fareportal.com wrote:
I attempted the rancid integration from the configuration options. I had a separate rancid configuration that I attempted to modify following the guide that seems to have broken my rancid.
Please help. Either I need a way to reverse the effect of this command: php /opt/observium/scripts/generate-rancid.php > /var/lib/rancid/networking/router.db
or fix rancid's ability to read the etc/hosts file
I now keep getting this in /tmp:
-rw-r----- 1 rancid rancid 0 Jul 18 03:45 .networking.run.lock
I think my rancid can't read the /etc/hosts or something, because testing clogin results like this: rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin 192.168.80.1 192.168.80.1 spawn telnet 192.168.80.1 Trying 192.168.80.1... Connected to 192.168.80.1. Escape character is '^]'.
User Access Verification
Username: rancid Password: FP-B-3750-01-TX# FP-B-3750-01-TX#exit Connection closed by foreign host. rancid@rancid:/var/lib/rancid/logs$ /usr/lib/rancid/bin/clogin FP-3750-TX fp-3750-tx spawn telnet fp-3750-tx Trying 192.168.80.1... Connected to FP-3750-TX. Escape character is '^]'.
User Access Verification
Username: rancid Password: % Login invalid
Username: rancid
errors in rancid logs (/var/lib/rancid/logs): starting: Sat Jul 18 03:30:01 EDT 2015
Trying to get all of the configs. fp-3750-nj clogin error: Error: Invalid login: fp-3750-nj fp-3750-nj: missed cmd(s): dir /all nvram:,show controllers,dir /all sec-slot0:,dir /all harddiskb:,dir /all harddisk:,dir /all sec-disk2:,dir /all disk2:,dir /all sec-disk1:,dir /all slot2:,show spe version,dir /all slavebootflash:,dir /all sup-bootflash:,dir /all slaveslot0:,show flash,show vtp status,write term,show inventory raw,show vlan-switch,dir /all slavenvram:,show boot,show variables boot,dir /all sup-microcode:,show diagbus,dir /all sec-nvram:,dir /all sec-disk0:,show debug,dir /all bootflash:,show bootvar,dir /all sec-slot1:,dir /all slavedisk2:,show shun,show diag,dir /all slavedisk1:,show c7200,show vlan,dir /all disk0:,dir /all harddiska:,dir /all disk1:,show redundancy secondary,show running-config view full,dir /all slaveslot2:,show env all,dir /all sec-bootflash:,show controllers cbus,show rsp chassis-info,show install active,dir /all slot0:,dir /all slot1:,dir /all sec-slot2:,show gsr chassis,dir /all sup-bootdisk:,show idprom backplane,more system:running-config,show version,show module,dir /all slavedisk0:,show capture,dir /all slavesup-bootflash:,dir /all slaveslot1:,show diag chassis-info,show running-config fp-3750-nj: End of run not found ! fp-3750-tx clogin error: Error: Invalid login: fp-3750-tx fp-3750-tx: missed cmd(s): dir /all slavedisk0:,show controllers cbus,dir /all disk1:,show c7200,show idprom backplane,show diagbus,dir /all nvram:,show boot,show module,dir /all slot2:,dir /all slavedisk1:,dir /all sup-bootdisk:,show rsp chassis-info,dir /all slavebootflash:,dir /all slavesup-bootflash:,dir /all slaveslot1:,show install active,show flash,show inventory raw,show vlan,dir /all sec-disk0:,dir /all sec-disk1:,dir /all sec-nvram:,dir /all slaveslot0:,show spe version,show controllers,dir /all slavenvram:,show bootvar,dir /all disk2:,show env all,dir /all bootflash:,show gsr chassis,dir /all harddiska:,dir /all sec-slot1:,dir /all slot1:,dir /all disk0:,show variables boot,show shun,show diag,show running-config view full,dir /all sec-disk2:,show version,more system:running-config,dir /all sec-slot0:,show diag chassis-info,dir /all sup-bootflash:,write term,dir /all harddisk:,dir /all sec-bootflash:,dir /all slot0:,show capture,show vtp status,show redundancy secondary,show debug,dir /all sec-slot2:,dir /all slavedisk2:,dir /all harddiskb:,show running-config,show vlan-switch,dir /all slaveslot2:,dir /all sup-microcode: fp-3750-tx: End of run not found ! qfx_ex-vc-telx_nj jlogin error: Error: Couldn't login qfx_ex-vc-telx_nj: missed cmd(s): show chassis alarms,show chassis hardware detail,show version detail,show chassis clocks,show chassis fpc detail,show chassis scb,show system core-dumps,show system boot-messages,show chassis routing-engine,show chassis ssb,show chassis cfeb,show chassis feb,show configuration,show chassis sfm detail,show chassis firmware,show system license,show chassis feb detail,show chassis environment qfx_ex-vc-telx_nj: End of run not found # 172.18.5.4 clogin error: Error: TIMEOUT reached 172.18.5.4: missed cmd(s): show running-config,show environment fex all fan,dir usb2:,show version build-info all,show inventory,show module xbar,show boot,term no monitor-force,dir logflash:,show module,show vlan,show system redundancy status,show environment clock,dir bootflash:,show environment fan,show processes log vdc-all,dir slot0:,show version,show license,dir debug:,show vtp status,show license usage,dir volatile:,show environment temperature,show license host-id,show debug,show environment power,dir usb1:,show cores vdc-all 172.18.5.4: End of run not found /usr/bin/tail: cannot open ‘172.18.5.4.new’ for reading: No such file or directory srx-pune jlogin error: Error: Check your password for srx-pune srx-pune: missed cmd(s): show chassis ssb,show chassis routing-engine,show chassis firmware,show chassis scb,show system core-dumps,show version detail,show configuration,show chassis sfm detail,show system license,show chassis hardware detail,show chassis environment,show chassis cfeb,show chassis feb,show chassis fpc detail,show chassis feb detail,show chassis clocks,show system boot-messages,show chassis alarms srx-pune: End of run not found # ipt-nj-asa clogin error: Error: TIMEOUT reached ipt-nj-asa: missed cmd(s): show module,dir /all sec-slot0:,dir /all slot1:,more system:running-config,dir /all slavedisk1:,show spe version,show diag chassis-info,dir /all sec-disk0:,dir /all nvram:,dir /all slavedisk2:,dir /all harddisk:,dir /all sec-bootflash:,show c7200,dir /all slavenvram:,dir /all disk2:,show idprom backplane,show vlan,show diagbus,dir /all slaveslot0:,dir /all sec-slot2:,show redundancy secondary,show install active,show gsr chassis,dir /all sup-bootflash:,show variables boot,dir /all sup-bootdisk:,dir /all harddiskb:,dir /all slot0:,dir /all bootflash:,dir /all slavebootflash:,show boot,dir /all disk0:,show version,dir /all sec-slot1:,show running-config,show capture,show running-config view full,dir /all slaveslot1:,dir /all sec-nvram:,show controllers,dir /all sup-microcode:,dir /all disk1:,dir /all slavedisk0:,show vtp status,dir /all slavesup-bootflash:,dir /all harddiska:,dir /all slaveslot2:,show debug,show rsp chassis-info,show inventory raw,show flash,dir /all sec-disk1:,dir /all sec-disk2:,show controllers cbus,show diag,dir /all slot2:,write term,show bootvar,show vlan-switch,show env all,show shun ipt-nj-asa: End of run not found ipt-tx-asa clogin error: Error: TIMEOUT reached ipt-tx-asa: missed cmd(s): show variables boot,show capture,dir /all disk1:,dir /all slot2:,show install active,dir /all slot1:,dir /all bootflash:,dir /all sup-microcode:,dir /all harddiskb:,show diag,show running-config,dir /all slaveslot1:,show boot,dir /all sup-bootdisk:,show spe version,show vlan,show gsr chassis,dir /all sec-slot2:,show vtp status,show diag chassis-info,dir /all slot0:,dir /all sec-disk2:,show shun,dir /all disk0:,dir /all sec-slot0:,dir /all nvram:,dir /all harddiska:,dir /all sec-disk0:,write term,show rsp chassis-info,dir /all slavedisk1:,show running-config view full,dir /all sec-disk1:,dir /all slavedisk2:,show controllers,dir /all slavebootflash:,show debug,dir /all slavedisk0:,more system:running-config,show bootvar,dir /all sup-bootflash:,show vlan-switch,dir /all slavenvram:,show controllers cbus,show idprom backplane,dir /all sec-nvram:,show c7200,show env all,dir /all sec-slot1:,dir /all sec-bootflash:,dir /all slaveslot2:,dir /all disk2:,show inventory raw,dir /all slaveslot0:,show version,show diagbus,show redundancy secondary,show flash,dir /all harddisk:,show module,dir /all slavesup-bootflash: ipt-tx-asa: End of run not found srx-364 jlogin error: Error: TIMEOUT reached srx-364: missed cmd(s): show chassis routing-engine,show chassis cfeb,show chassis sfm detail,show chassis environment,show chassis feb,show version detail,show chassis scb,show chassis ssb,show chassis alarms,show chassis fpc detail,show chassis feb detail,show configuration,show chassis firmware,show chassis hardware detail,show chassis clocks,show system core-dumps,show system boot-messages,show system license srx-364: End of run not found srx-mx jlogin error: Error: TIMEOUT reached
Ryan _______________________________________________
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Adam Armstrong
-
Ryan Milton
-
Tom Laermans