Quick Links

Twagios 2.0 - Nagios notifications revisited

In a previous blog post, I described how to use Twitter for Nagios notifications – dubbing it “Twagios”.

A couple of months later, Twitter stopped supporting basic authentication (username/password). This meant that the old (simple) way of sending notifications stopped working. In this post, I’ll explain how I replaced the old Twagios with a new script – “Twagios 2.0″

First of all, a big thank you to Jeff Miller for writing this excellent post on using the Python tweepy library to create a simple command line client. I simply followed Jeff’s instructions…

Install the tweepy library
Create a new OAuth registration at [...]

Continue reading Twagios 2.0 – Nagios notifications revisited

Twagios - Use Twitter for Nagios notifications

Several customer sites use Nagios for monitoring and alerting. Nagios can send out notifications about problems in a variety of ways, for example using email, pager, SMS and even Twitter. I based my configuration on this post.

Configuring Twitter notifications takes a couple of steps:

Set up a new “Twitter Bot” account to be used for Nagios notifications.
Create a new Nagios contact to send out notifications for your hosts and services.
Define the appropriate notify-by-twitter and host-notify-by-twitter commands.

Setting up the Twitter Bot account

Go to twitter.com and create a new account for your Twitter Bot.
Go to Settings, and mark the updates as Private. Otherwise, [...]

Continue reading Twagios – Use Twitter for Nagios notifications