It’s not hard to install Icinga on FreeBSD, at least if you’re satisfied with default options.
Should you however require Icinga with IDOUtils and MySQL support, then you need to take additional steps.
VpnInit AppleScript: Override and Restore Default VPN-Routes on OS X
Years ago I wrote a small script to restore local default route after connecting the RAS VPN on Windows.
Now, I made up a similar script to do the same on OS X.
Read more…
Als Follow-Up zu meinem letzten Post über den Swisscom CentroGrande Router, widme ich mich nun erneut diesem Gerät. Heute geht es darum, Interface-Statistiken in Cacti zu erzeugen — und das obwohl der CentroGrande den hierfür nötigen SNMP-Support schmerzlich vermissen lässt.
Swisscom Centro Grande aufbohren
Wer einen Swisscom Centro Grande sein Eigen nennt, mag da vielleicht gelegentlich an die Grenzen stossen, die einem Swisscom hier angedeihen lässt.
Angesichts der Komplexität der vielen Funktionen mag es für die breite Masse durchaus Sinn machen, hier den vielfältigen Funktionen, die das von Pirelli Broadband Solutions stammende Gerät eigentlich mitbringt, einen Riegel vorzuschieben – schliesslich werden dann weniger versierte Anwender auch nicht dazu verleitet, etwas zu verkonfigurieren.
Wer allerdings etwas tiefergehende Konfigurationswünsche hat, wird es zu schätzen wissen, dass man über die Hintertür dennoch an die erweiteren Funktionen des Geräts rankommt.
Read more…
Being used to other languages sometime leads to false assumptions, like having the same commands every now and then.
While doing some TCL scripting on a Cisco I just had the need for a ‘sleep’ command or equivalent.
Since no ‘sleep’ exists, the ‘after’ command will do. Just supply it with the timeout in milliseconds, like this for a 10-second timeout:
after 10000
Or, with a bit more overhead, but some may think it’s more readable:
after [expr {int(10 * 1000)}]
Here’s a short script which I use to extract Cisco device-types from SNMP.
Bad enough, most of these devices return their device type ID differently, e.g. sometimes prefixed with an uppercase ‘C’, sometimes without any prefix, then again sometimes we find a suffix.
So here’s a snippet, that makes them look neat, so I can work with simple and unified looking device IDs.
Read more…
DNS zone split-view configuration with BIND-DLZ
Personally I stopped working with pure file-based DNS servers long time ago.
Earlier this year I committed an article about BIND-DLZ to german freeX magazine on how to make DNS servers really dynamic.
While I’m not permitted to publish my original article (or parts of it) online, I’m just following it up in some way, as I have another interesting story to tell.
Today I’m looing into DNS zone split-view on top of BIND-DLZ — or in other words: How can my BIND server be authoritative on the public network interface, while be recursive only (thus, ignore any local authoritative zones) on the local network interface?
Read more…
A project I’m currently working on involges much Regurlar Expressions trickery to parse values from Cisco’s running configuration.
Here’s how to extract a complete interface block not in ‘shutdown’ state.
Read more…
Serve files quickly using built-in python Web-Server in OS X
Mac OS X (since 10.5) sports a python environment in it’s default install, which includes a very simple HTTP server.
This may come in handy if you want to serve some files quickly over HTTP, without the need to fireup the full-blown Apache available through ‘Web Sharing Service’.
Don’t believe me? Read on to see how you’ll be up in running in just a few seconds.
Read more…
Enable LCD backlight permanently on QNAP TS-459 II
So you got one of these QNAP TS-459 II NAS boxes and want the fancy LCD being permantly backlit?
Here’s how to do it…
Read more…
