harpermann
2013-10-02 21:36:01 UTC
harpermann [http://community.zenoss.org/people/harpermann] created the discussion
"Debug message from remote device (): Agent forwarding disabled."
To view the discussion, visit: http://community.zenoss.org/message/74808#74808
--------------------------------------------------------------
Hi,
We were getting debug messages we weren't interested in from ssh modeling.
Debug message from remote device (): Agent forwarding disabled.
It looks like the message handling in SshClient.py:receiveDebug () was set to info instead of debug. Is it supposed to be info? I couldn't find how suppress log messages so I changed this to debug. Is there better way to ignore these debug messages?
Patch:
--- ./SshClient.py     2013-10-02 14:20:24.000000000 -0700
+++ /opt/zenoss/Products/DataCollector/SshClient.py    2013-10-02 14:20:38.000000000 -0700
@@ -206,7 +206,7 @@
        @type lang: integer
        """
        message= "Debug message from remote device (%s): %s" % ( str(lang), str(message) )
-Â Â Â Â Â Â Â log.info( message )
+Â Â Â Â Â Â Â log.debug( message )
        sendEvent( self, message=message, severity=Event.Debug )
        transport.SSHClientTransport.receiveDebug(self, alwaysDisplay, message, lang )
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74808#74808]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Debug message from remote device (): Agent forwarding disabled."
To view the discussion, visit: http://community.zenoss.org/message/74808#74808
--------------------------------------------------------------
Hi,
We were getting debug messages we weren't interested in from ssh modeling.
Debug message from remote device (): Agent forwarding disabled.
It looks like the message handling in SshClient.py:receiveDebug () was set to info instead of debug. Is it supposed to be info? I couldn't find how suppress log messages so I changed this to debug. Is there better way to ignore these debug messages?
Patch:
--- ./SshClient.py     2013-10-02 14:20:24.000000000 -0700
+++ /opt/zenoss/Products/DataCollector/SshClient.py    2013-10-02 14:20:38.000000000 -0700
@@ -206,7 +206,7 @@
        @type lang: integer
        """
        message= "Debug message from remote device (%s): %s" % ( str(lang), str(message) )
-Â Â Â Â Â Â Â log.info( message )
+Â Â Â Â Â Â Â log.debug( message )
        sendEvent( self, message=message, severity=Event.Debug )
        transport.SSHClientTransport.receiveDebug(self, alwaysDisplay, message, lang )
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74808#74808]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]