[rancid] Dell D4012 Switches anyone?

Gauthier, Chris cgauthier at comscore.com
Tue Aug 22 21:30:02 UTC 2017


Take a look at the .raw file.  It’s very useful.

Chris Gauthier, CCNP R&S, CCNA Security, BACP
Senior Network Engineer
comScore, Inc.
(503) 331-2704 (Single # Reach)
cgauthier at comscore.com<mailto:cgauthier at comscore.com>

“To invent an airplane is nothing. To build one is something. To fly is everything.”
          – Ferdinand Ferber, 1908



Chris GauthierSenior Network Engineer | comScore, Inc.
o +1 503-331-2704cgauthier at comscore.com
317 SW Alder St, Suite 500 | Portland | OR97204
............................................................................................................................................................................................................................

From: Alexander Griesser <AGriesser at anexia-it.com>
Date: Tuesday, August 22, 2017 at 2:23 PM
To: "Gauthier, Chris" <cgauthier at comscore.com>, "rancid-discuss at shrubbery.net" <rancid-discuss at shrubbery.net>
Subject: AW: [rancid] Dell D4012 Switches anyone?

Ah damn…
Thanks for pointing that out.
I don’t use them normally too, but this customer has them running and I’m trying to at least store the config in an automated way…

Output looks different now:

$ export NOPIPE=yes;rancid -d -t dellglump 10.100.55.251
loadtype: device type dellglump
loadtype: found device type dellglump in /etc/rancid/rancid.types.conf
executing dlogin -t 300 -c"show system;show running-config" 10.100.55.251
HIT COMMAND:d4012-01.domain...#show system
    In GetSystem: d4012-01.domain...#show system
HIT COMMAND:d4012-01.domain...#show running-config
    In GetConf: d4012-01.domain...#show running-config
10.100.55.251: End of run not found
eee enable

Does that help?

Alexander Griesser
Head of Systems Operations

ANEXIA Internetdienstleistungs GmbH

E-Mail: AGriesser at anexia-it.com<mailto:AGriesser at anexia-it.com>
Web: http://www.anexia-it.com<http://www.anexia-it.com/>

Anschrift Hauptsitz Klagenfurt: Feldkirchnerstraße 140, 9020 Klagenfurt
Geschäftsführer: Alexander Windbichler
Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601

Von: Gauthier, Chris [mailto:cgauthier at comscore.com]
Gesendet: Dienstag, 22. August 2017 23:19
An: Alexander Griesser <AGriesser at anexia-it.com>; rancid-discuss at shrubbery.net
Betreff: Re: [rancid] Dell D4012 Switches anyone?

There is a typo in there between “dellgLump” and “dellgump”  ☺  May be my error in typing earlier.  I don’t use dell normally.

Chris Gauthier, CCNP R&S, CCNA Security, BACP
Senior Network Engineer
comScore, Inc.
(503) 331-2704 (Single # Reach)
cgauthier at comscore.com<mailto:cgauthier at comscore.com>

“To invent an airplane is nothing. To build one is something. To fly is everything.”
          – Ferdinand Ferber, 1908



Chris Gauthier



Senior Network Engineer

 |

comScore, Inc.


o +1

503-331-2704<tel:503-331-2704>



cgauthier at comscore.com<mailto:cgauthier at comscore.com>


317 SW Alder St, Suite 500 | Portland | OR 97204


............................................................................................................................................................................................................................





From: Alexander Griesser <AGriesser at anexia-it.com<mailto:AGriesser at anexia-it.com>>
Date: Tuesday, August 22, 2017 at 2:08 PM
To: "Gauthier, Chris" <cgauthier at comscore.com<mailto:cgauthier at comscore.com>>, "rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>" <rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>>
Subject: AW: [rancid] Dell D4012 Switches anyone?

Thanks, Chris.

Doesn’t work though and maybe that’s also the reason why the collection doesn’t work:

$ export NOPIPE=YES;rancid -d -t dellgump 10.100.55.251
loadtype: device type dellgump
login script not defined for device type dellgump

Although this has been defined as far as I can see…

$ grep dellglump /etc/rancid/rancid.types.conf
dellglump;script;rancid -t dellglump
dellglump;login;dlogin
dellglump;module;dell
dellglump;inloop;dell::inloop
dellglump;command;dell::GetSystem;show system
dellglump;command;dell::GetConf;show running-config

Alexander Griesser
Head of Systems Operations

ANEXIA Internetdienstleistungs GmbH

E-Mail: AGriesser at anexia-it.com<mailto:AGriesser at anexia-it.com>
Web: http://www.anexia-it.com<http://www.anexia-it.com/>

Anschrift Hauptsitz Klagenfurt: Feldkirchnerstraße 140, 9020 Klagenfurt
Geschäftsführer: Alexander Windbichler
Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601

Von: Gauthier, Chris [mailto:cgauthier at comscore.com]
Gesendet: Dienstag, 22. August 2017 23:04
An: Alexander Griesser <AGriesser at anexia-it.com<mailto:AGriesser at anexia-it.com>>; rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>
Betreff: Re: [rancid] Dell D4012 Switches anyone?

I would set up the debug environment:

(on CentOS 7):

rancid at host ~# export NOPIPE=YES; /usr/local/rancid/bin/rancid -d -t dellglump switch.fqdn.example.com

Look for the switch.fqdn.example.com.raw file.  That will help.  There will also be a switch.fqdn.example.com.new file that will contain info.

Since you know the login works, above is where I would start.

Cheers,

Chris Gauthier, CCNP R&S, CCNA Security, BACP
Senior Network Engineer
comScore, Inc.
(503) 331-2704 (Single # Reach)
cgauthier at comscore.com<mailto:cgauthier at comscore.com>

“To invent an airplane is nothing. To build one is something. To fly is everything.”
          – Ferdinand Ferber, 1908



Chris Gauthier



Senior Network Engineer

 |

comScore, Inc.


o +1

503-331-2704<tel:503-331-2704>



cgauthier at comscore.com<mailto:cgauthier at comscore.com>


317 SW Alder St, Suite 500 | Portland | OR 97204


............................................................................................................................................................................................................................





From: Rancid-discuss <rancid-discuss-bounces at shrubbery.net<mailto:rancid-discuss-bounces at shrubbery.net>> on behalf of Alexander Griesser <AGriesser at anexia-it.com<mailto:AGriesser at anexia-it.com>>
Date: Tuesday, August 22, 2017 at 1:22 PM
To: "rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>" <rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>>
Subject: [rancid] Dell D4012 Switches anyone?

Hey there,

has anyone ever succeeded in monitoring Dell D4012 switches?
They are a somewhat crippled version of the more feature-rich Dell PowerConnect Switches and do only offer limited capabilities on the GUI, but rancid is able do `dlogin´ into those switches and I’ve created a new device template in rancid.types.conf for them with commands that are definitely working after `dlogin` to the switches:

dellglump;script;rancid -t dellglump
dellglump;login;dlogin
dellglump;module;dell
dellglump;inloop;dell::inloop
dellglump;command;dell::GetSystem;show system
dellglump;command;dell::GetConf;show running-config

But still, rancid seems to time out when trying to fetch data from them.
This is what gets printed to the logs:

Trying to get all of the configs.
10.100.55.251: End of run not found
eee enable
10.100.55.252: End of run not found
eee enable
=====================================
Getting missed routers: round 1.
10.100.55.252: End of run not found
eee enable
10.100.55.251: End of run not found
eee enable
=====================================
Getting missed routers: round 2.
10.100.55.251: End of run not found
eee enable
10.100.55.252: End of run not found
eee enable
=====================================
Getting missed routers: round 3.
10.100.55.252: End of run not found
eee enable
10.100.55.251: End of run not found
eee enable
=====================================
Getting missed routers: round 4.
10.100.55.251: End of run not found
eee enable
10.100.55.252: End of run not found
eee enable

Any idea where to start my investigation?

Best,

Alexander Griesser
Head of Systems Operations

ANEXIA Internetdienstleistungs GmbH

E-Mail: AGriesser at anexia-it.com<mailto:AGriesser at anexia-it.com>
Web: http://www.anexia-it.com<http://www.anexia-it.com/>

Anschrift Hauptsitz Klagenfurt: Feldkirchnerstraße 140, 9020 Klagenfurt
Geschäftsführer: Alexander Windbichler
Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170822/2a1c0c81/attachment.html>


More information about the Rancid-discuss mailing list