Discussion:
Zenping will not start again
Stefan Reinke
2012-02-07 09:35:31 UTC
Permalink
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]
Stefan Reinke
2012-02-07 11:03:20 UTC
Permalink
Stefan Reinke [http://community.zenoss.org/people/Stefan] created the discussion

"Re: Zenping will not start again"

To view the discussion, visit: http://community.zenoss.org/message/64335#64335

--------------------------------------------------------------
Solved.

It was two of my devices that was causing this.. Dunno why, I will try and check for the solution and will post as soon as I get one.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64335#64335]

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]
mwcotton
2012-02-07 21:48:03 UTC
Permalink
mwcotton [http://community.zenoss.org/people/mwcotton] created the discussion

"Re: Zenping will not start again"

To view the discussion, visit: http://community.zenoss.org/message/64346#64346

--------------------------------------------------------------
looks like it doesnt like this too, I would try deleting this device and try to restart,

    ValueError: zenping host 111.111.111.111 has no manage ip
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64346#64346]

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]
Stefan Reinke
2012-02-08 07:02:01 UTC
Permalink
Stefan Reinke [http://community.zenoss.org/people/Stefan] created the discussion

"Re: Zenping will not start again"

To view the discussion, visit: http://community.zenoss.org/message/64350#64350

--------------------------------------------------------------
Okay I got zenping running again, but now it doesn't ping any of my devices. Everything is showing down, is there suppose to be any data source under ping (Monitoring templates) ?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64350#64350]

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]
chitambira
2012-05-09 21:18:02 UTC
Permalink
chitambira [http://community.zenoss.org/people/chitambira] created the discussion

"Re: Zenping will not start again"

To view the discussion, visit: http://community.zenoss.org/message/66301#66301

--------------------------------------------------------------
did u manage to resolve this issue?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66301#66301]

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]
Loading...