Hi, Been trying to get this to work all night, and am stuck on where to go.
Background OS: FC9 Nagios: 3.0.5-3 Perl: 4:5.10.0-34 Jabber Server(on remote host): Openfire 3.6.1 I've been trying to get notifications to jabber working, and using the code from http://nagios.sourceforge.net/download/contrib/notifications/notify_via_jabber slightly modified http://www.igniterealtime.org/community/message/144424 to change AuthSend to AuthIQAuth, as the jabber server I am using (OpenFire doesn't work with AuthSend). The script is in /bin/jabbermail.pl. My commands config has: define command{ command_name host-notify-by-jabber command_line /bin/jabbermail.pl $CONTACTEMAIL$ '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$' } define command{ command_name service-notify-by-jabber command_line /bin/jabbermail.pl $CONTACTEMAIL$ '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$' } and the contacts have been set to email &/or jabber notifications. Running the script from the command line has no problems, however when nagios runs it, whilst nagios reports the command has run, not messages ever come through. Hopefully someone has seen this before... Cheers ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
