Displaying posts written in

January 2007

Jan
29
2007

Sendpage hack

sendPage is UNIX based utility to send alphanumeric pages via TAP. It is great as a means to send “out of band” Nagios alerts. A simple PHP script is included in the distribution to allow you to send pages via a simple web page. But in order to send the pages you [...]

Jan
26
2007

Graphing Nortel Contivity Switch user sessions in Cacti

We have looked for how to monitor user sessions on our Contivity Switches for some time and couldn’t find an easy way to do so. Ultimately I wrote a small script to collect the information and return it for graphing in Cacti. To get this setup, use the script below along with the instructions [...]

Jan
25
2007

A tweak to PHP Network Weathermap

Jan
25
2007

Redirecting based on the URL passed

I needed to consolidate a couple of servers down to a single machine, but the system’s users were used to entering a certain URL. DNS was the easy part, just create a CNAME record to point to the host. But how to direct users who enter the CNAME (call it cname.domain.com for example) [...]