SOURCES: nagios-jabber.alert - debugging fixes
arekm
arekm at pld-linux.org
Sun Sep 7 21:44:15 CEST 2008
Author: arekm Date: Sun Sep 7 19:44:14 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- debugging fixes
---- Files affected:
SOURCES:
nagios-jabber.alert (1.13 -> 1.14)
---- Diffs:
================================================================
Index: SOURCES/nagios-jabber.alert
diff -u SOURCES/nagios-jabber.alert:1.13 SOURCES/nagios-jabber.alert:1.14
--- SOURCES/nagios-jabber.alert:1.13 Sun Sep 7 21:02:46 2008
+++ SOURCES/nagios-jabber.alert Sun Sep 7 21:44:09 2008
@@ -13,6 +13,7 @@
import re
import sys
import getopt
+import logging
import string
import time
import libxml2
@@ -111,6 +112,11 @@
self.stream.send(msg)
self.disconnect()
+
+ def stream_state_changed(self,state,arg):
+ if debug:
+ print "*** State changed: %s %r ***" % (state,arg)
+
c = Client(jid, password, server = server, port = port, auth_methods = ['sasl:DIGEST-MD5', 'sasl:PLAIN', 'digest'], tls_settings = TLSSettings(require = False, verify_peer = False))
c.connect()
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/nagios-jabber.alert?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list