chitambira
2012-05-09 19:08:42 UTC
chitambira [http://community.zenoss.org/people/chitambira] created the discussion
"zenstatus and zenperfsnmp confusion"
To view the discussion, visit: http://community.zenoss.org/message/66278#66278
--------------------------------------------------------------
I have a rather weird problem with a zenoss install
I changed the network config of my zenoss server
the config didnt not work out, so it left the server unreachable, and also not able to reach its monitored devices.
I corrected my config to a working one and I manually cleared the "network unreachable" events that had been generated.
I realised only a handful devices were monitored at this stage.
Most devices continue to be marked as "down" on their status page.
I restarted zenoss, but these devices are still not being monitored, no snmp graphs, rrds are not updated
I reboted this zenoss machine and still the problem persist.
zenhub run -v10Â end is error:
2012-05-09 19:41:30,548 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenossVirtualHostMonitor-2.3.0-py2.4.egg/ZenPacks/zenoss/ZenossVirtualHostMonitor/modeler/plugins
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenHub/zenhub.py", line 613, in ?
   z = ZenHub()
 File "/opt/zenoss/Products/ZenHub/zenhub.py", line 269, in __init__
   reactor.listenTCP(self.options.pbport, pb.PBServerFactory(pt))
 File "/opt/zenoss/lib/python/twisted/internet/posixbase.py", line 328, in listenTCP
   p.startListening()
 File "/opt/zenoss/lib/python/twisted/internet/tcp.py", line 739, in startListening
   raise CannotListenError, (self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on any:8789: (98, 'Address already in use').
in zenhub.log evrything seems ok, except that I see:
INFO zen.ZenHub: Worker reports 2012-03-09 10:45:34,277 WARNING zen.ZenStatus: device '+device_name+' network '192.168.1.0/24' not in topology
if i run zenperfsnmp run -v10 -d +device_name+
I get the following:
.....
.....
2012-03-09 10:02:53,874 DEBUG zen.zenperfsnmp: Finished fetching configs for 1 devices
2012-03-09 10:02:53,874 DEBUG zen.zenperfsnmp: Gathering performance data for device1.mydomain.com
2012-03-09 10:02:53,874 INFO zen.zenperfsnmp: Configured 1 of 1 devices
2012-03-09 10:02:53,874 DEBUG zen.zenperfsnmp: Getting device ping issues
2012-03-09 10:02:55,003 DEBUG zen.thresholds: Checking value 0 on Daemons/localhost/zenperfsnmp_eventQueueLength
2012-03-09 10:02:55,004 DEBUG zen.MinMaxCheck: Checking zenperfsnmp_eventQueueLength 0 against min None and max 1000
2012-03-09 10:02:55,004 DEBUG zen.zenperfsnmp: Queueing event {'manager': 'zenoss.domain.com', 'eventKey': 'high event queue', 'device': 'localhost', 'eventClass': '/Perf', 'summary': 'threshold of high event queue restored: current value 0.00', 'component': '', 'monitor': 'localhost', 'agent': 'zenperfsnmp', 'severity': 0}
2012-03-09 10:02:55,004 DEBUG zen.zenperfsnmp: Total of 1 queued events
2012-03-09 10:02:56,086 DEBUG zen.zenperfsnmp: unresponsive devices: [['server0053', 2, 64946], ['server0061, 1, 1], ......
...
...
......and so on listing all servers not working properly
Any ideas
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66278#66278]
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]
"zenstatus and zenperfsnmp confusion"
To view the discussion, visit: http://community.zenoss.org/message/66278#66278
--------------------------------------------------------------
I have a rather weird problem with a zenoss install
I changed the network config of my zenoss server
the config didnt not work out, so it left the server unreachable, and also not able to reach its monitored devices.
I corrected my config to a working one and I manually cleared the "network unreachable" events that had been generated.
I realised only a handful devices were monitored at this stage.
Most devices continue to be marked as "down" on their status page.
I restarted zenoss, but these devices are still not being monitored, no snmp graphs, rrds are not updated
I reboted this zenoss machine and still the problem persist.
zenhub run -v10Â end is error:
2012-05-09 19:41:30,548 DEBUG zen.Plugins: Loading collector plugins from: /opt/zenoss/ZenPacks/ZenPacks.zenoss.ZenossVirtualHostMonitor-2.3.0-py2.4.egg/ZenPacks/zenoss/ZenossVirtualHostMonitor/modeler/plugins
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenHub/zenhub.py", line 613, in ?
   z = ZenHub()
 File "/opt/zenoss/Products/ZenHub/zenhub.py", line 269, in __init__
   reactor.listenTCP(self.options.pbport, pb.PBServerFactory(pt))
 File "/opt/zenoss/lib/python/twisted/internet/posixbase.py", line 328, in listenTCP
   p.startListening()
 File "/opt/zenoss/lib/python/twisted/internet/tcp.py", line 739, in startListening
   raise CannotListenError, (self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on any:8789: (98, 'Address already in use').
in zenhub.log evrything seems ok, except that I see:
INFO zen.ZenHub: Worker reports 2012-03-09 10:45:34,277 WARNING zen.ZenStatus: device '+device_name+' network '192.168.1.0/24' not in topology
if i run zenperfsnmp run -v10 -d +device_name+
I get the following:
.....
.....
2012-03-09 10:02:53,874 DEBUG zen.zenperfsnmp: Finished fetching configs for 1 devices
2012-03-09 10:02:53,874 DEBUG zen.zenperfsnmp: Gathering performance data for device1.mydomain.com
2012-03-09 10:02:53,874 INFO zen.zenperfsnmp: Configured 1 of 1 devices
2012-03-09 10:02:53,874 DEBUG zen.zenperfsnmp: Getting device ping issues
2012-03-09 10:02:55,003 DEBUG zen.thresholds: Checking value 0 on Daemons/localhost/zenperfsnmp_eventQueueLength
2012-03-09 10:02:55,004 DEBUG zen.MinMaxCheck: Checking zenperfsnmp_eventQueueLength 0 against min None and max 1000
2012-03-09 10:02:55,004 DEBUG zen.zenperfsnmp: Queueing event {'manager': 'zenoss.domain.com', 'eventKey': 'high event queue', 'device': 'localhost', 'eventClass': '/Perf', 'summary': 'threshold of high event queue restored: current value 0.00', 'component': '', 'monitor': 'localhost', 'agent': 'zenperfsnmp', 'severity': 0}
2012-03-09 10:02:55,004 DEBUG zen.zenperfsnmp: Total of 1 queued events
2012-03-09 10:02:56,086 DEBUG zen.zenperfsnmp: unresponsive devices: [['server0053', 2, 64946], ['server0061, 1, 1], ......
...
...
......and so on listing all servers not working properly
Any ideas
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66278#66278]
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]