IRSSI BOT to handle nagios/irssi communication.
To ease the use of the bot configuration, I use to link different files from the BOT configuration director etc/ bin/ var/ up to respective irssi directories :
The bot is made of 3 scripts :
all are designed to work standalone.
Commands allowed by nagios-fifo.pl / Nagios module : The nagios bot is designed to work with nagios notifications, via commands.cfg configuration file.
!nagios help
: l'aide!nagios ack #<ALERT> <message>
: ACK the alert!nagios check <#ALERT>
(todo) : recheck any alert (service/host)!nagios refresh [silent] [clear]
: request nagios livestatus and import all unack alerts ; optionnaly clear local alerts cache (bot, not nagios)Commands allowed by tc-14.pl / Dumb module :
!status
to have a look on inner variables / structures (particularly for the bingo module)!password
to generate a random password!help
totally uselessCommands allowed by tweet.pl / admin module :
!tweet
: tweet a tweet, on twitter and identi.ca (twitter module broken, to be redisigned)!tweet last
: what was last tweet ?!changelog
: add/list lasts changelogs!lastlog [pattern]
: display last 20 messages [about pattern]