- Nagios Network Monitoring
- General Information and TidBits
- Installation Tips & Tricks
- Addons, Plugins, Tweaks & Customizations
- Checking Drupal Status with Nagios and WebInject
- AddOn - NRPE / NSClient
- AddOn - Nagios Event Log aka NagEventLog
- Addon - Nagios Passive Checks with NSCA
- Nagios Custom Object Variables
- Nagios Event Handler - Restart Remote Service
- Nagios Event Handler - Restarting a Local Service
- Plugin: check_dns_secondary - Checking NS Servers
- Plugin: check_http_requisites - Page Size, Files, and Loadtime
- Plugin: check_mem - Linux Memory Usage
- Plugin: check_sql - Check MSSQL and MYSQL servers
- Plugin: check_svn - Check Subversion
- Tweak - Nagios Jabber / XMPP Notifications
- Tweak - Nagios SMS Messaging
- Tweak - check_file_age to check_file_modified
- Tweak: Using NagiosGraph's SHOW.CGI
- Tweak: check_sql - Allow decimal values
- Common Errors & Fixes
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 or register to post comments
-

Recent comments
7 weeks 3 days ago
24 weeks 6 days ago
28 weeks 5 hours ago
37 weeks 6 days ago
45 weeks 2 days ago
45 weeks 4 days ago
50 weeks 1 day ago
1 year 1 week ago