Welcome
Welcome to the Initech Technical Wiki. Here you'll find bits and pieces of useful stuff related to anything that I find interesting. Everything you find here is free to use for whatever nefarious purposes you may have in mind but needless to say that i'm not responsible for anything that goes wrong. If you need help with anything or just want to contact me then its best to email me at tim@initech.co.nz
This is a library of custom config fetchers and patches to existing files
Want a script which syncs your cacti hosts into rancid and your /etc/hosts file? This sync-cacti script may be for you (use it with caution).
For those of us who manage hundreds of devices via rancid its tricky to remember what they're called and which particular login binary to use to access them. I made my "con" script to automate this.
This custom nagios plugin checks to make sure that all Juniper virtual chassis members are present and running the same version. You need to provide the hostname, SNMP community and number of expected virtual chassis members.
This custom nagios plugin checks to make sure that the the expected number of power supply units are installed and operating in the chassis. There have been times when installed power supplies (in MX chassis) lose AC power but it doesn't alarm. In unattended locations this could be disastrous.
This script takes three arguments: Hostname, SNMP Community and expected PSU count. It will warn if more PSUs than expected are installed and critical alarm if less than expected are found. This script will also work for Juniper EX-series virtual chassis and the sum-total of installed PSUs in the whole virtual chassis is what you should use as the argument.
The script checks for PSUs installed and in state '2' according to the list below of valid states:
This script i wrote to check the processing queue lengths of FortiSandbox appliances. Sometimes a FortiSandbox will stop processing jobs for no adequately explainable reason so i created this script to keep an eye on the job queues.
The script takes 6 arguments: Hostname, SNMP Community, queue warning level, queue critical level, total jobs warning level and total jobs critical level.
For each queue below it will check to make sure that each one has less items than the 'queue warning level'. At the end it totals all files in all queues and checks the total against the 'total jobs warning level'
Job Queues Checked
This script checks all the mail queues in a FortiMail system and for each one prints the name and the message count and warns or alarms depending on warning and critical levels specified.
The script takes the following arguments: Hostname, SNMP Community, Queue warning level, Queue critical level
Kibana dashboard modifications
This is where i'll be recording all sorts of archery information, some of it specific to me and my setup
You can find the webpage of my personal weather station here.