Stefan Reinke
2012-02-07 09:35:31 UTC
Stefan Reinke [http://community.zenoss.org/people/Stefan] created the discussion
"Zenping will not start again"
To view the discussion, visit: http://community.zenoss.org/message/64319#64319
--------------------------------------------------------------
Hi people,
My zenping just randomly stopped, and now it doesn't want to start anymore.
Getting this error:
2012-02-07 11:24:16,012 INFO zen.ZenPing: started
2012-02-07 11:24:16,016 DEBUG zen.ZenPing: Starting PBDaemon initialization
2012-02-07 11:24:16,016 INFO zen.ZenPing: Connecting to localhost:8789
2012-02-07 11:24:16,017 DEBUG zen.ZenPing: Logging in as admin
2012-02-07 11:24:16,022 INFO zen.ZenPing: Connected to ZenHub
2012-02-07 11:24:16,022 DEBUG zen.ZenPing: Setting up initial services: EventService, PingConfig
2012-02-07 11:24:16,023 DEBUG zen.ZenPing: Chaining getInitialServices with d2
2012-02-07 11:24:16,033 DEBUG zen.ZenPing: Loaded service EventService from zenhub
2012-02-07 11:24:16,033 DEBUG zen.ZenPing: Loaded service PingConfig from zenhub
2012-02-07 11:24:16,033 DEBUG zen.ZenPing: Queueing event {'severity': 0, 'component': 'zenping', 'agent': 'zenping', 'summary': 'started', 'manager': 'monitor.metacom.co.za', 'device': 'localhost', 'eventClass': '/App/Start', 'monitor': 'localhost'}
2012-02-07 11:24:16,033 DEBUG zen.ZenPing: Total of 1 queued events
2012-02-07 11:24:16,034 DEBUG zen.ZenPing: Calling connected.
2012-02-07 11:24:16,034 DEBUG zen.ZenPing: Connected, getting config
2012-02-07 11:24:16,034 INFO zen.ZenPing: _configCycle fetching configuration
2012-02-07 11:24:16,034 INFO zen.ZenPing: fetching monitor properties
2012-02-07 11:24:16,074 INFO zen.ZenPing: completed "fetching monitoring properties" request in 0.04 seconds
2012-02-07 11:24:16,074 INFO zen.ZenPing: getting threshold classes
2012-02-07 11:24:16,079 INFO zen.ZenPing: completed "getting threshold classes" request in 0.00 seconds
2012-02-07 11:24:16,079 DEBUG zen.ZenPing: Loading classes ['Products.ZenModel.MinMaxThreshold']
2012-02-07 11:24:16,079 INFO zen.ZenPing: getting collector thresholds
2012-02-07 11:24:16,091 INFO zen.ZenPing: completed "getting collector thresholds" request in 0.01 seconds
2012-02-07 11:24:16,091 INFO zen.ZenPing: fetching default RRDCreateCommand
2012-02-07 11:24:16,092 DEBUG zen.thresholds: Updating threshold ('high event queue', ('localhost', ''))
2012-02-07 11:24:16,093 DEBUG zen.thresholds: Updating threshold ('zenmodeler cycle time', ('localhost', ''))
2012-02-07 11:24:16,093 DEBUG zen.thresholds: Updating threshold ('zenperfsnmp cycle time', ('localhost', ''))
2012-02-07 11:24:16,093 DEBUG zen.thresholds: Updating threshold ('zenping cycle time', ('localhost', ''))
2012-02-07 11:24:16,093 DEBUG zen.thresholds: Updating threshold ('zenprocess cycle time', ('localhost', ''))
2012-02-07 11:24:16,093 INFO zen.ZenPing: getting ping tree
2012-02-07 11:24:17,257 ERROR zen.ZenPing: Configure failed: Traceback (most recent call last):
 File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
   return callable(*args, **kw)
 File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 23, in remote_getPingTree
   return self.getPingTree(self.dmd, root, fallbackIp)
 File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 32, in getPingTree
   tree = pingtree.buildTree(me)
 File "/usr/local/zenoss/zenoss/Products/ZenStatus/pingtree.py", line 238, in buildTree
   raise ValueError("zenping host %s has no manage ip"%root.id)
ValueError: zenping host 192.168.121.32 has no manage ip
2012-02-07 11:24:17,257 DEBUG zen.ZenPing: Rescheduling next configuration check despite failure: Traceback (most recent call last):
 File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
   return callable(*args, **kw)
 File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 23, in remote_getPingTree
   return self.getPingTree(self.dmd, root, fallbackIp)
 File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 32, in getPingTree
   tree = pingtree.buildTree(me)
 File "/usr/local/zenoss/zenoss/Products/ZenStatus/pingtree.py", line 238, in buildTree
   raise ValueError("zenping host %s has no manage ip"%root.id)
ValueError: zenping host 192.168.121.32 has no manage ip
2012-02-07 11:24:17,258 INFO zen.ZenPing: Rescheduling configuration check in 21600 seconds
2012-02-07 11:24:17,260 ERROR zen.ZenPing: [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'pjgen'
/usr/local/zenoss/python/lib/python2.6/site-packages/Twisted-8.1.0-py2.6-linux-i686.egg/twisted/internet/defer.py:186:addCallbacks
/usr/local/zenoss/python/lib/python2.6/site-packages/Twisted-8.1.0-py2.6-linux-i686.egg/twisted/internet/defer.py:328:_runCallbacks
/usr/local/zenoss/python/lib/python2.6/site-packages/Twisted-8.1.0-py2.6-linux-i686.egg/twisted/internet/defer.py:289:_continue
/usr/local/zenoss/python/lib/python2.6/site-packages/Twisted-8.1.0-py2.6-linux-i686.egg/twisted/internet/defer.py:285:unpause
--- <exception caught here> ---
/usr/local/zenoss/python/lib/python2.6/site-packages/Twisted-8.1.0-py2.6-linux-i686.egg/twisted/internet/defer.py:328:_runCallbacks
/usr/local/zenoss/zenoss/Products/ZenStatus/zenping.py:266:pingCycle
]
Traceback (most recent call last):
 File "/usr/local/zenoss/python/lib/python2.6/site-packages/Twisted-8.1.0-py2.6-linux-i686.egg/twisted/internet/defer.py", line 328, in _runCallbacks
   self.result = callback(self.result, *args, **kw)
 File "/usr/local/zenoss/zenoss/Products/ZenStatus/zenping.py", line 266, in pingCycle
   self.pingTreeIter = self.pingtree.pjgen()
AttributeError: 'NoneType' object has no attribute 'pjgen'
2012-02-07 11:24:17,261 DEBUG zen.ZenPing: Queueing event {'severity': 3, 'component': 'zenping', 'agent': 'zenping', 'summary': 'stopped', 'manager': 'monitor.metacom.co.za', 'device': 'localhost', 'eventClass': '/App/Stop', 'monitor': 'localhost'}
2012-02-07 11:24:17,261 DEBUG zen.ZenPing: Total of 1 queued events
2012-02-07 11:24:17,262 DEBUG zen.ZenPing: Sent a 'stop' event
2012-02-07 11:24:17,301 DEBUG zen.ZenPing: stop() called when not running
2012-02-07 11:24:17,301 INFO zen.ZenPing: Deleting PID file /usr/local/zenoss/zenoss/var/zenping-localhost.pid ...
2012-02-07 11:24:17,301 INFO zen.ZenPing: Daemon ZenPing shutting down
2012-02-07 11:24:17,302 DEBUG zen.ZenPing: Removing service EventService
2012-02-07 11:24:17,302 DEBUG zen.ZenPing: Removing service PingConfig
I think the problem is with this line, but I am not entirely sure:
2012-02-07 11:24:17,260 ERROR zen.ZenPing: [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'pjgen'
Nay help would be appreciated.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64319#64319]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Zenping will not start again"
To view the discussion, visit: http://community.zenoss.org/message/64319#64319
--------------------------------------------------------------
Hi people,
My zenping just randomly stopped, and now it doesn't want to start anymore.
Getting this error:
2012-02-07 11:24:16,012 INFO zen.ZenPing: started
2012-02-07 11:24:16,016 DEBUG zen.ZenPing: Starting PBDaemon initialization
2012-02-07 11:24:16,016 INFO zen.ZenPing: Connecting to localhost:8789
2012-02-07 11:24:16,017 DEBUG zen.ZenPing: Logging in as admin
2012-02-07 11:24:16,022 INFO zen.ZenPing: Connected to ZenHub
2012-02-07 11:24:16,022 DEBUG zen.ZenPing: Setting up initial services: EventService, PingConfig
2012-02-07 11:24:16,023 DEBUG zen.ZenPing: Chaining getInitialServices with d2
2012-02-07 11:24:16,033 DEBUG zen.ZenPing: Loaded service EventService from zenhub
2012-02-07 11:24:16,033 DEBUG zen.ZenPing: Loaded service PingConfig from zenhub
2012-02-07 11:24:16,033 DEBUG zen.ZenPing: Queueing event {'severity': 0, 'component': 'zenping', 'agent': 'zenping', 'summary': 'started', 'manager': 'monitor.metacom.co.za', 'device': 'localhost', 'eventClass': '/App/Start', 'monitor': 'localhost'}
2012-02-07 11:24:16,033 DEBUG zen.ZenPing: Total of 1 queued events
2012-02-07 11:24:16,034 DEBUG zen.ZenPing: Calling connected.
2012-02-07 11:24:16,034 DEBUG zen.ZenPing: Connected, getting config
2012-02-07 11:24:16,034 INFO zen.ZenPing: _configCycle fetching configuration
2012-02-07 11:24:16,034 INFO zen.ZenPing: fetching monitor properties
2012-02-07 11:24:16,074 INFO zen.ZenPing: completed "fetching monitoring properties" request in 0.04 seconds
2012-02-07 11:24:16,074 INFO zen.ZenPing: getting threshold classes
2012-02-07 11:24:16,079 INFO zen.ZenPing: completed "getting threshold classes" request in 0.00 seconds
2012-02-07 11:24:16,079 DEBUG zen.ZenPing: Loading classes ['Products.ZenModel.MinMaxThreshold']
2012-02-07 11:24:16,079 INFO zen.ZenPing: getting collector thresholds
2012-02-07 11:24:16,091 INFO zen.ZenPing: completed "getting collector thresholds" request in 0.01 seconds
2012-02-07 11:24:16,091 INFO zen.ZenPing: fetching default RRDCreateCommand
2012-02-07 11:24:16,092 DEBUG zen.thresholds: Updating threshold ('high event queue', ('localhost', ''))
2012-02-07 11:24:16,093 DEBUG zen.thresholds: Updating threshold ('zenmodeler cycle time', ('localhost', ''))
2012-02-07 11:24:16,093 DEBUG zen.thresholds: Updating threshold ('zenperfsnmp cycle time', ('localhost', ''))
2012-02-07 11:24:16,093 DEBUG zen.thresholds: Updating threshold ('zenping cycle time', ('localhost', ''))
2012-02-07 11:24:16,093 DEBUG zen.thresholds: Updating threshold ('zenprocess cycle time', ('localhost', ''))
2012-02-07 11:24:16,093 INFO zen.ZenPing: getting ping tree
2012-02-07 11:24:17,257 ERROR zen.ZenPing: Configure failed: Traceback (most recent call last):
 File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
   return callable(*args, **kw)
 File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 23, in remote_getPingTree
   return self.getPingTree(self.dmd, root, fallbackIp)
 File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 32, in getPingTree
   tree = pingtree.buildTree(me)
 File "/usr/local/zenoss/zenoss/Products/ZenStatus/pingtree.py", line 238, in buildTree
   raise ValueError("zenping host %s has no manage ip"%root.id)
ValueError: zenping host 192.168.121.32 has no manage ip
2012-02-07 11:24:17,257 DEBUG zen.ZenPing: Rescheduling next configuration check despite failure: Traceback (most recent call last):
 File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 75, in inner
   return callable(*args, **kw)
 File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 23, in remote_getPingTree
   return self.getPingTree(self.dmd, root, fallbackIp)
 File "/usr/local/zenoss/zenoss/Products/ZenHub/services/PingConfig.py", line 32, in getPingTree
   tree = pingtree.buildTree(me)
 File "/usr/local/zenoss/zenoss/Products/ZenStatus/pingtree.py", line 238, in buildTree
   raise ValueError("zenping host %s has no manage ip"%root.id)
ValueError: zenping host 192.168.121.32 has no manage ip
2012-02-07 11:24:17,258 INFO zen.ZenPing: Rescheduling configuration check in 21600 seconds
2012-02-07 11:24:17,260 ERROR zen.ZenPing: [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'pjgen'
/usr/local/zenoss/python/lib/python2.6/site-packages/Twisted-8.1.0-py2.6-linux-i686.egg/twisted/internet/defer.py:186:addCallbacks
/usr/local/zenoss/python/lib/python2.6/site-packages/Twisted-8.1.0-py2.6-linux-i686.egg/twisted/internet/defer.py:328:_runCallbacks
/usr/local/zenoss/python/lib/python2.6/site-packages/Twisted-8.1.0-py2.6-linux-i686.egg/twisted/internet/defer.py:289:_continue
/usr/local/zenoss/python/lib/python2.6/site-packages/Twisted-8.1.0-py2.6-linux-i686.egg/twisted/internet/defer.py:285:unpause
--- <exception caught here> ---
/usr/local/zenoss/python/lib/python2.6/site-packages/Twisted-8.1.0-py2.6-linux-i686.egg/twisted/internet/defer.py:328:_runCallbacks
/usr/local/zenoss/zenoss/Products/ZenStatus/zenping.py:266:pingCycle
]
Traceback (most recent call last):
 File "/usr/local/zenoss/python/lib/python2.6/site-packages/Twisted-8.1.0-py2.6-linux-i686.egg/twisted/internet/defer.py", line 328, in _runCallbacks
   self.result = callback(self.result, *args, **kw)
 File "/usr/local/zenoss/zenoss/Products/ZenStatus/zenping.py", line 266, in pingCycle
   self.pingTreeIter = self.pingtree.pjgen()
AttributeError: 'NoneType' object has no attribute 'pjgen'
2012-02-07 11:24:17,261 DEBUG zen.ZenPing: Queueing event {'severity': 3, 'component': 'zenping', 'agent': 'zenping', 'summary': 'stopped', 'manager': 'monitor.metacom.co.za', 'device': 'localhost', 'eventClass': '/App/Stop', 'monitor': 'localhost'}
2012-02-07 11:24:17,261 DEBUG zen.ZenPing: Total of 1 queued events
2012-02-07 11:24:17,262 DEBUG zen.ZenPing: Sent a 'stop' event
2012-02-07 11:24:17,301 DEBUG zen.ZenPing: stop() called when not running
2012-02-07 11:24:17,301 INFO zen.ZenPing: Deleting PID file /usr/local/zenoss/zenoss/var/zenping-localhost.pid ...
2012-02-07 11:24:17,301 INFO zen.ZenPing: Daemon ZenPing shutting down
2012-02-07 11:24:17,302 DEBUG zen.ZenPing: Removing service EventService
2012-02-07 11:24:17,302 DEBUG zen.ZenPing: Removing service PingConfig
I think the problem is with this line, but I am not entirely sure:
2012-02-07 11:24:17,260 ERROR zen.ZenPing: [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'pjgen'
Nay help would be appreciated.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64319#64319]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]