[Cialug] The systemd Init System
Jeffrey Ollie
jeff at ocjtech.us
Wed Dec 9 15:44:24 CST 2015
The named status is actually kind of boring. This is what RANCID looks
like during a polling run. No way in heck that "service rancid status" was
ever going to show this sort of thing.
# systemctl status rancid at ankeny
● rancid at ankeny.service - RANCID ankeny
Loaded: loaded (/etc/systemd/system/rancid at .service; static; vendor
preset: disabled)
Active: active (running) since Wed 2015-12-09 15:40:50 CST; 4s ago
Main PID: 16406 (control_rancid)
CGroup: /system.slice/system-rancid.slice/rancid at ankeny.service
├─16406 /bin/sh /usr/libexec/rancid/control_rancid ankeny
├─16738 par -q -n 10 -c rancid-fe "{}"
/srv/rancid/ankeny/routers.up
├─16739 /usr/bin/perl /usr/libexec/rancid/rancid -t cisco
ankeny-b01-em-stk1.dmacc.net
├─16740 /usr/bin/perl /usr/libexec/rancid/rancid -t cisco
ankeny-b01-em-stk2.dmacc.net
├─16741 /usr/bin/perl /usr/libexec/rancid/rancid -t cisco
ankeny-b01-r47j-stk1.dmacc.net
├─16742 /usr/bin/perl /usr/libexec/rancid/rancid -t cisco
ankeny-b01-wm-stk1.dmacc.net
├─16743 /usr/bin/perl /usr/libexec/rancid/rancid -t cisco
ankeny-b02-sw1.dmacc.net
├─16744 /usr/bin/perl /usr/libexec/rancid/rancid -t cisco
ankeny-b03e-r101-stk1.dmacc.net
├─16745 /usr/bin/perl /usr/libexec/rancid/rancid -t cisco
ankeny-b03e-r103e-idf-1.dmacc.net
├─16746 /usr/bin/perl /usr/libexec/rancid/rancid -t cisco
ankeny-b03e-r103e-stk1.dmacc.net
├─16747 /usr/bin/perl /usr/libexec/rancid/rancid -t cisco
ankeny-b03e-r103e-sw1.dmacc.net
├─16748 /usr/bin/perl /usr/libexec/rancid/rancid -t cisco
ankeny-b03e-r103e-sw2.dmacc.net
├─16749 sh -c clogin -t 90 -c "show version;show redundancy
secondary;show idprom backplane;show inst...
├─16750 sh -c clogin -t 90 -c "show version;show redundancy
secondary;show idprom backplane;show inst...
├─16751 sh -c clogin -t 90 -c "show version;show redundancy
secondary;show idprom backplane;show inst...
├─16752 /usr/bin/expect -- /usr/libexec/rancid/clogin -t 90 -c
show version;show redundancy secondary...
├─16754 /usr/bin/expect -- /usr/libexec/rancid/clogin -t 90 -c
show version;show redundancy secondary...
├─16755 /usr/bin/expect -- /usr/libexec/rancid/clogin -t 90 -c
show version;show redundancy secondary...
├─16756 sh -c clogin -t 90 -c "show version;show redundancy
secondary;show idprom backplane;show inst...
├─16757 ssh -c
aes256-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc -x -l rancid
ankeny-b01-em-stk2.d...
├─16763 sh -c clogin -t 90 -c "show version;show redundancy
secondary;show idprom backplane;show inst...
├─16764 ssh -c
aes256-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc -x -l rancid
ankeny-b03e-r103e-st...
├─16765 /usr/bin/expect -- /usr/libexec/rancid/clogin -t 90 -c
show version;show redundancy secondary...
├─16768 ssh -c
aes256-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc -x -l rancid
ankeny-b01-r47j-stk1...
├─16774 sh -c clogin -t 90 -c "show version;show redundancy
secondary;show idprom backplane;show inst...
├─16775 ssh -c
aes256-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc -x -l rancid
ankeny-b01-em-stk1.d...
├─16777 /usr/bin/expect -- /usr/libexec/rancid/clogin -t 90 -c
show version;show redundancy secondary...
├─16781 sh -c clogin -t 90 -c "show version;show redundancy
secondary;show idprom backplane;show inst...
├─16782 /usr/bin/expect -- /usr/libexec/rancid/clogin -t 90 -c
show version;show redundancy secondary...
├─16783 ssh -c
aes256-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc -x -l rancid
ankeny-b03e-r101-stk...
├─16788 sh -c clogin -t 90 -c "show version;show redundancy
secondary;show idprom backplane;show inst...
├─16789 /usr/bin/expect -- /usr/libexec/rancid/clogin -t 90 -c
show version;show redundancy secondary...
├─16790 ssh -c
aes256-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc -x -l rancid
ankeny-b03e-r103e-id...
├─16795 ssh -c
aes256-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc -x -l rancid
ankeny-b01-wm-stk1.d...
├─16797 sh -c clogin -t 90 -c "show version;show redundancy
secondary;show idprom backplane;show inst...
├─16799 /usr/bin/expect -- /usr/libexec/rancid/clogin -t 90 -c
show version;show redundancy secondary...
├─16802 sh -c clogin -t 90 -c "show version;show redundancy
secondary;show idprom backplane;show inst...
├─16803 /usr/bin/expect -- /usr/libexec/rancid/clogin -t 90 -c
show version;show redundancy secondary...
├─16805 /usr/bin/expect -- /usr/libexec/rancid/clogin -t 90 -c
show version;show redundancy secondary...
├─16806 ssh -c
aes256-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc -x -l rancid
ankeny-b03e-r103e-sw...
└─16812 ssh -c
aes256-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc -x -l rancid
ankeny-b03e-r103e-sw...
Dec 09 15:40:50 nms10.dmacc.net systemd[1]: Started RANCID ankeny.
Dec 09 15:40:50 nms10.dmacc.net systemd[1]: Starting RANCID ankeny...
Dec 09 15:40:54 nms10.dmacc.net control_rancid[16406]: Trying to get all of
the configs.
--
Jeff Ollie
More information about the Cialug
mailing list