Discussion:
Zenoss 4.2 Device Discover Jobs Don't Finish
Andrew Gardner
2012-12-05 11:14:11 UTC
Permalink
Andrew Gardner [http://community.zenoss.org/people/agardner] created the discussion

"Zenoss 4.2 Device Discover Jobs Don't Finish"

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

--------------------------------------------------------------
Ok,

So I'm running version 4.2 SP1 on Centos 6.3 (64-bit).  I've followed the guide here:

http://www.sysadminwiki.net/site/doku.php/monitoring/zenoss/adding_mibs_into_zenoss_4 http://www.sysadminwiki.net/site/doku.php/monitoring/zenoss/adding_mibs_into_zenoss_4

to allow the loading of MIBs from vendors.  This worked great and I don't have any issues with it.  After doing this however, when I add a device the job never finishes.  The device appears in the system and I am able to model it, but I have to go and manually abort the jobs.  I've left them running overnight and they never clear.

Ran the discover from the server commandline as zenoss and get the following output:

zendisc run --now -d xxxxxxxxxx --monitor localhost --deviceclass /Network/Switch/Cisco -prod_state 1000 -v10
2012-12-05 11:10:01,918 DEBUG zen.ZenDisc: Run in foreground, starting immediately.
2012-12-05 11:10:01,920 DEBUG zen.pysamba: client ntlmv2 auth is now no
2012-12-05 11:10:01,920 DEBUG zen.ZenDisc: Starting PBDaemon initialization
2012-12-05 11:10:01,920 INFO zen.ZenDisc: Connecting to localhost:8789
2012-12-05 11:10:01,921 DEBUG zen.pbclientfactory: Starting connection...
2012-12-05 11:10:01,921 DEBUG zen.ZenDisc: Logging in as admin
2012-12-05 11:10:01,922 DEBUG zen.pbclientfactory: Connected
2012-12-05 11:10:01,922 DEBUG zen.pbclientfactory: Cancelling connect timeout
2012-12-05 11:10:01,923 DEBUG zen.pbclientfactory: Sending credentials
2012-12-05 11:10:01,926 DEBUG zen.pbclientfactory: Cancelling connect timeout
2012-12-05 11:10:01,926 INFO zen.ZenDisc: Connected to ZenHub
2012-12-05 11:10:01,926 DEBUG zen.ZenDisc: Setting up initial services: EventService, DiscoverService
2012-12-05 11:10:01,926 DEBUG zen.ZenDisc: Chaining getInitialServices with d2
2012-12-05 11:10:01,926 DEBUG zen.pbclientfactory: pinging perspective
2012-12-05 11:10:01,928 DEBUG zen.ZenDisc: Loaded service EventService from zenhub
2012-12-05 11:10:01,928 DEBUG zen.ZenDisc: Loaded service DiscoverService from zenhub
2012-12-05 11:10:01,928 DEBUG zen.ZenDisc: Queued event (total of 1) {'device': 'localhost', 'eventClass': '/App/Start', 'component': 'zendisc', 'severity': 0, 'summary': 'started'}
2012-12-05 11:10:01,928 DEBUG zen.ZenDisc: Sending 1 events, 0 perfevents, 0 heartbeats.
2012-12-05 11:10:01,929 DEBUG zen.ZenDisc: Calling connected.
2012-12-05 11:10:01,929 DEBUG zen.ZenDisc: fetching monitor properties
2012-12-05 11:10:01,929 DEBUG zen.pbclientfactory: perspective ponged
2012-12-05 11:10:01,929 DEBUG zen.pbclientfactory: Cancelling ping timeout
2012-12-05 11:10:01,941 DEBUG zen.ZenDisc: Events sent
2012-12-05 11:10:02,020 DEBUG zen.ZenDisc: Getting threshold classes...
2012-12-05 11:10:02,029 DEBUG zen.ZenDisc: Loading classes ['Products.ZenModel.MinMaxThreshold', 'Products.ZenModel.ValueChangeThreshold']
2012-12-05 11:10:02,030 DEBUG zen.ZenDisc: Fetching default RRDCreateCommand...
2012-12-05 11:10:02,034 DEBUG zen.ZenDisc: Getting collector thresholds...
2012-12-05 11:10:02,074 DEBUG zen.thresholds: Updating threshold ('high event queue', ('localhost collector', ''))
2012-12-05 11:10:02,074 DEBUG zen.thresholds: Updating threshold ('zenmodeler cycle time', ('localhost collector', ''))
2012-12-05 11:10:02,075 DEBUG zen.ZenDisc: Getting collector plugins for each DeviceClass
2012-12-05 11:10:02,110 INFO zen.ZenDisc: Looking for xxxxxxxxxxx
2012-12-05 11:10:02,110 DEBUG zen.ZenDisc: getHostByName
2012-12-05 11:10:02,111 DEBUG zen.ZenDisc: Found IP xxxxxxxxxx for device xxxxxxxxxxxxxxxx
2012-12-05 11:10:02,229 DEBUG zen.ZenDisc: Scanning device with address xxxxxxxxxxxxxxx
2012-12-05 11:10:02,229 DEBUG zen.ZenDisc: findRemoteDeviceInfo.inner: Doing SNMP lookup on device xxxxxxxxxxxxxx
2012-12-05 11:10:02,234 DEBUG zen.ZenDisc: findRemoteDeviceInfo.inner: override acquired community strings
2012-12-05 11:10:02,234 DEBUG zen.ZenUtils.snmp: findBestConfig: configs=[]
2012-12-05 11:10:31,927 DEBUG zen.pbclientfactory: pinging perspective
2012-12-05 11:10:31,928 DEBUG zen.pbclientfactory: perspective ponged
2012-12-05 11:10:31,928 DEBUG zen.pbclientfactory: Cancelling ping timeout
2012-12-05 11:11:01,931 DEBUG zen.pbclientfactory: pinging perspective
2012-12-05 11:11:01,932 DEBUG zen.pbclientfactory: perspective ponged
2012-12-05 11:11:01,932 DEBUG zen.pbclientfactory: Cancelling ping timeout

I then continue to see the last three lines repeated over and over.  Rebooted the server to no effect, this happens with every device I try and add.

Anyone have any ideas where I can look t resolve this?
--------------------------------------------------------------

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

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]
Shane Scott
2012-12-05 19:03:05 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Zenoss 4.2 Device Discover Jobs Don't Finish"

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

--------------------------------------------------------------
Andrew:

Let's try discovering a net.

On the master, su zenoss.

$ZENHOME/bin/zendisc run --chunk 64 --net=10.0.0.0/24 --prefer-snmp-naming

Swap out the net for your net you'd like to discover. Once done, check the /Discovered device class in the webUI.

Best,
--Shane Scott (Hackman238)
--------------------------------------------------------------

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

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]
ignacio freyre
2013-09-05 12:52:44 UTC
Permalink
ignacio freyre [http://community.zenoss.org/people/nachofw] created the discussion

"Re: Zenoss 4.2 Device Discover Jobs Don't Finish"

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

--------------------------------------------------------------
Hi, i'm stuck with exactly the same error when adding a device, did you solved the issue?
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...