- Nagios - Switch Interface Traffic
- How To - Linux Server Performance
- Notes - Building New ESXi Host for iSCSI with Jumbo Frames
- Microsoft Office Version Numbers (XP, 2003, 2007, 2010)
- ESXi Custom Welcome Screen Text
- PHP - Read Data from a CSV file
- PHP - Input Variables from URL
- Fix - WMI Error EventID 10
- Fix - EventID 4007 DNS Server Error
- FIX - CHECK_ESX3.PL Script
ERROR - Nagios XMPP Notification with Openfire
- References:
ERROR: Authorization failed: error - not-authorized
Obviously this means I am connected am communicating with the server. So I flipped TLS variable on/off a few times. I also turned on debug logging on my Openfire server and could see the connections. With TLS "on" or set to "1", I received this error:
Can't use an undefined value as a HASH reference at /usr/lib/perl5/site_perl/5.8.8\ /XML/Stream.pm line 1165.
So I turned TLS off and started working with the not-authorized error. Googled around and found the a fix that worked. I had to edit the Protocol.pm perl module to fix the authentication error. I found my file here...
/usr/lib/perl5/site_perl/5.8.8/Net/XMPP/Protocol.pm
and just commented out the line:
return $self->AuthSASL(%args);
Now I can annoy myself with all my Nagios alerts via IM as well as email! Attached is the file with the text used for the commands.cfg entry and the perl script to send the notifications.
- Printer-friendly version
- Login to post comments
-
