Commandline tools for sending Nagios notificationshttp://en.opensuse.org/monitoring-eventhandlers-send_messages
Instead of using the standard printf commandline given by Nagios, you can use
these scripts to generate notification Emails or IRC messages with Nagios.
The scripts will take care of unset variables, formatting URLs and add the
ability to format the output in your way.