Charles Bueche

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: https_proxy: HTTP_PROXY: HTTPS_PROXY: pip: extra_args: ‘–trusted-host’ 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 […]

returning JSON from a view in CakePHP 1.1

I know CakePHP 3.5 is out, and before CakePHP 2.x and even before CakePHP 1.3 allowed to render JSON easily. But suppose you have a large code-base in CakePHP 1.1 you have to maintain, and suddenly someone wants JSON out of it… If upgrading your CakePHP version is possible, do it. Else, consider the code […]

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 […]

lambdatrail hardware

Nextcloud scanning

Having installed the latest Netxcloud on my server, I added ModSecurity and CRS 3 on the Apache instance. After some tuning and the configuration of geoIP with the help of our very own Christian Folini, I watched the logs fly by during a few hours and noticed accessing my /status.php. By going to this /status.php […]