SOURCES: nagios-jabber.alert - works again with gmail.com and jabb...
glen
glen at pld-linux.org
Fri Nov 3 12:17:48 CET 2006
Author: glen Date: Fri Nov 3 11:17:48 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- works again with gmail.com and jabber.pld-linux.org
---- Files affected:
SOURCES:
nagios-jabber.alert (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/nagios-jabber.alert
diff -u SOURCES/nagios-jabber.alert:1.3 SOURCES/nagios-jabber.alert:1.4
--- SOURCES/nagios-jabber.alert:1.3 Mon Oct 30 12:57:31 2006
+++ SOURCES/nagios-jabber.alert Fri Nov 3 12:17:42 2006
@@ -2,6 +2,7 @@
# arekm at pld-linux.org, 2006-01
# glen at pld-linux.org, 2006-03-14
# glen at pld-linux.org,arekm at pld-linux.org, 2006-10-30 - added ssl support (for gmail.com)
+# glen at pld-linux.org 2006-11-03 - made it work with jabber.pld-linux.org again
# usage:
# jabber.alert -J from_jid -P password to_jid1 to_jid2 to_jid3
@@ -69,7 +70,7 @@
self.stream.send(msg)
self.disconnect()
-c = Client(jid, password, server = server, port = port, auth_methods = ['sasl:PLAIN'], tls_settings = TLSSettings(require = True, verify_peer = False))
+c = Client(jid, password, server = server, port = port, auth_methods = ['sasl:DIGEST-MD5', 'sasl:PLAIN'], tls_settings = TLSSettings(require = False, verify_peer = False))
c.connect()
try:
c.loop(1)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/nagios-jabber.alert?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list