August 13, 2020

On large Linux Debian installations, I usually configure an APT proxy to optimize upgrades. I’m used to configuring APT-Cached NG in the following way: on /etc/apt-cacher-ng/acng.conf file: CacheDir: /proxydata/cache/apt-cacher-ng LogDir: /var/log/apt-cacher-ng SupportDir: /usr/lib/apt-cacher-ng Port:3142 Remap-debrep: file:deb_mirror*.

Post cover
December 17, 2018

A few months ago I prepared a short introduction to automation for a small group of colleagues. Now I would like to summarize in a few posts what I explained to them just to share an overview.

Post cover
September 11, 2018

A question comes up to my mind few weeks ago: can enterprises operate on networks like they are doing with software today? In other words: can enterprise start to automate things without buying additional solutions?

Post cover
March 28, 2017

NetBrain is a famous software that allows network discovery (and management). Let’s focus now on network discovery and documentation: we want to automatically discover network devices, and how they’re connected, and store everything into a version control repository (GIT/CVS).

Post cover
February 17, 2017

After installing Ansible (see previous post), it’s now time to manage how to send multiple commands (and check) to Cisco IOS devices. This post will explain a playbook (recipe) for clock and NTP configuration.

Post cover
March 06, 2014

My Internet connection is cheap enough and a little bit crappy. Cisco provides Embedded Event Manager (EEM), useful to manage a situation like mine: event manager applet RESTART_ATM event interface name "ATM0" parameter input_errors_crc entry-val 3000 entry-op gt entry-val-is-increment true exit-comb or exit-val 1 exit-op le exit-val-is-increment true exit-time 5 poll-interval 3600 maxrun 10 action 1.

Post cover
August 12, 2013

I replaced most of my Bash script with Python but sometimes I still need Bash. The following script requires uuencode and sends an email with attachments using Bash: #!/bin/bash PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" EMAIL_OK="dainese@example.

Post cover