NMS


auto-upgrade pip in Ansible role/task

Lets say you have an Ansible role in which you create a virtual-environment using Python 3.x: – name: Install python venv and requirements environment: http_proxy: http://proxy.domain.com:8080 https_proxy: http://proxy.domain.com:8080 HTTP_PROXY: http://proxy.domain.com:8080 HTTPS_PROXY: http://proxy.domain.com:8080 pip: extra_args: ‘–trusted-host pypi.python.org’ requirements: /path/to/requirements.txt virtualenv: /path/to/venv virtualenv_command: /opt/python-3.7.0/bin/python3.7 -m venv If your requirements.txt only contains the modules you really need for […]


lambdatrail hardware

Monitoring DeltaNet Lambdatrail WDM devices

DeltaNet has cool WDM products that one of our customer has deployed in a life-cycle project for a large WAN. In collaboration with the DeltaNet engineer, I have implemented a Zenoss ZenPack to monitor the specifics of their Lambdatrail XWDM multiplexers. The ZenPack provide these features: devices located under their own device class collect all […]


A Zenoss zenpack to monitor Fortinet FortiGate firewalls

This is a Zenpack for Fortinet FortiGate firewalls. The Fortigate MIB is very well-designed and allowed for a comprehensive Zenpack implementation using zenpacklib. Features: serial number and firmware version interface traffic CPU load memory load disk usage session count IPS statistics Sensors (voltage, temperature, fans, PSU) Vdoms Per Vdom : interface traffic CPU load memory […]


get device status within a zenoss event transform

Event transformation is a cool feature of Zenoss, but care must be taken to avoid slowing down Zenoss too much, as badly performing event transformations applied to a large number of events might slow down Zenoss. Besides, any exception within an event transformation ends up in $ZENHOME/log/zeneventd.log, so your code needs extra care to avoid […]


Using Ansible to Fetch Information from IOS Devices

In this article, we’ll look at various Ansible modules that can be used to fetch information from Cisco IOS devices: ios_facts, snmp_facts and ios_command. Regardless of the used module, we’ll store the output in a JSON file that can easily be used in other tools. ios_facts ios_facts is the obvious choice. It connects to the […]