Jun 15, 2012 6:58 AM
Zenoss not showing Windows Services under Component Tab
-
Like (0)
Dear All.
I'm running snmp informant on Windows PC and monitoring this PC on Linux Box.
I have 3 Windows PC's which Im monitoring and have successfully installed snmp. I'm gettting all the graphs but NOT able to see Services that are running on Windows machine like antivirus, adobe, etc.. On clicking on Services it shows that there are no services or ....something needs to be remodeled.
I dont want to use WMI . So SNMP informant is installed on all windows PC's.
Please help.. im really stuck on this.. for a day
Thanks
Tarun
Hi Tarun,
Windows services is the one thing that does use WMI by default (and that is probably the best thing to use). You can get processes out of a windows box using SNMP (ie. processes that you see in Task Manager) but actual Windows Services you use WMI (with the implication to setup a valid userid and password for WMI comms).
Cheers,
Jane
Hi Jane
The problem is I have three windows PC. for these windows PC which I am monitoring I have not set any WMI username or passwords.
But for some reason 2 of the PC's are not showing Windows Services under Component tab. and for some reason single PC is showing. I have checked their individual configuration several times under Devices tab. But still cant figure out.
Could it also be something to do with inidividual device settings of zMonitor ? I have set this it NOT to use local value. Sorry I'm really confused what I should do next regarding this..
Your help is much appreciated.
Thanks
Tarun
Maybe give Ryan's ZenPack a shot: docs/DOC-12999
Yeah I already did this.. I installed Ryans Zenpack ..and it shows up in the zenpack list..but still no Windows services show up.. !!
Cant figure out ..where something is going wrong..
Run the following from the cli as the zenoss user `zenmodeler run -d <yourdevice> -v 10`
This will give you very verbose output of the model process. Check for any errors, or perhaps provide a pastebin link to this thread so others can review
Hi ,
The Windows device which is not showing Windows Services. On running Zenmodeller run -d <Device IP > -v 10
Following errors are shown :
2012-06-18 09:08:38,298 ERROR zen.ZenModeler: 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/ModelerService.py", line 121, in remote_applyDataMaps
result = inner(map)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/ModelerService.py", line 114, in inner
if adm._applyDataMap(device, map):
File "/usr/local/zenoss/zenoss/Products/DataCollector/ApplyDataMap.py", line 198, in _applyDataMap
changed = self._updateRelationship(tobj, datamap)
File "/usr/local/zenoss/zenoss/Products/DataCollector/ApplyDataMap.py", line 261, in _updateRelationship
objchange, obj = self._createRelObject(device, objmap, rname)
File "/usr/local/zenoss/zenoss/Products/DataCollector/ApplyDataMap.py", line 441, in _createRelObject
rel._setObject(remoteObj.id, remoteObj)
File "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 125, in _setObject
self.addRelation(object)
File "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 116, in addRelation
ToManyRelationshipBase.addRelation(self, obj)
File "/usr/local/zenoss/zenoss/Products/ZenRelations/RelationshipBase.py", line 96, in addRelation
self._add(obj)
File "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 150, in _add
v=checkValidId(self, id)
File "/usr/local/zenoss/python/lib/python2.6/site-packages/Zope2-2.12.1-py2.6-linux-i686.egg/OFS/ObjectManager.py", line 105, in checkValidId
'The id "%s" is invalid because it ends with two underscores.' % id)
BadRequest: The id "Microsoft .NET Framework 4 Client Profile ______ ____" is invalid because it ends with two underscores.
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/DataCollector/zenmodeler.py", line 668, in processClient
if driver.next():
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result
raise ex
RemoteException: 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/ModelerService.py", line 121, in remote_applyDataMaps
result = inner(map)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/ModelerService.py", line 114, in inner
if adm._applyDataMap(device, map):
File "/usr/local/zenoss/zenoss/Products/DataCollector/ApplyDataMap.py", line 198, in _applyDataMap
changed = self._updateRelationship(tobj, datamap)
File "/usr/local/zenoss/zenoss/Products/DataCollector/ApplyDataMap.py", line 261, in _updateRelationship
objchange, obj = self._createRelObject(device, objmap, rname)
File "/usr/local/zenoss/zenoss/Products/DataCollector/ApplyDataMap.py", line 441, in _createRelObject
rel._setObject(remoteObj.id, remoteObj)
File "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 125, in _setObject
self.addRelation(object)
File "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 116, in addRelation
ToManyRelationshipBase.addRelation(self, obj)
File "/usr/local/zenoss/zenoss/Products/ZenRelations/RelationshipBase.py", line 96, in addRelation
self._add(obj)
File "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 150, in _add
v=checkValidId(self, id)
File "/usr/local/zenoss/python/lib/python2.6/site-packages/Zope2-2.12.1-py2.6-linux-i686.egg/OFS/ObjectManager.py", line 105, in checkValidId
'The id "%s" is invalid because it ends with two underscores.' % id)
BadRequest: The id "Microsoft .NET Framework 4 Client Profile ______ ____" is invalid because it ends with two underscores.
2012-06-18 09:08:38,309 ERROR zen.ZenModeler: Client 10.240.173.80 finished with message: [Failure instance: Traceback (failure with no frames): <class 'Products.ZenHub.PBDaemon.RemoteException'>: 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/ModelerService.py", line 121, in remote_applyDataMaps
result = inner(map)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/ModelerService.py", line 114, in inner
if adm._applyDataMap(device, map):
File "/usr/local/zenoss/zenoss/Products/DataCollector/ApplyDataMap.py", line 198, in _applyDataMap
changed = self._updateRelationship(tobj, datamap)
File "/usr/local/zenoss/zenoss/Products/DataCollector/ApplyDataMap.py", line 261, in _updateRelationship
objchange, obj = self._createRelObject(device, objmap, rname)
File "/usr/local/zenoss/zenoss/Products/DataCollector/ApplyDataMap.py", line 441, in _createRelObject
rel._setObject(remoteObj.id, remoteObj)
File "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 125, in _setObject
self.addRelation(object)
File "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 116, in addRelation
ToManyRelationshipBase.addRelation(self, obj)
File "/usr/local/zenoss/zenoss/Products/ZenRelations/RelationshipBase.py", line 96, in addRelation
self._add(obj)
File "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 150, in _add
v=checkValidId(self, id)
File "/usr/local/zenoss/python/lib/python2.6/site-packages/Zope2-2.12.1-py2.6-linux-i686.egg/OFS/ObjectManager.py", line 105, in checkValidId
'The id "%s" is invalid because it ends with two underscores.' % id)
BadRequest: The id "Microsoft .NET Framework 4 Client Profile ______ ____" is invalid because it ends with two underscores.
]
2012-06-18 09:08:38,310 DEBUG zen.ZenModeler: Running 0 clients
2012-06-18 09:08:38,310 INFO zen.ZenModeler: Scan time: 16.44 seconds
2012-06-18 09:08:38,310 DEBUG zen.thresholds: Checking value 16.4441800117 on Daemons/localhost/zenmodeler_cycleTime
2012-06-18 09:08:38,311 DEBUG zen.MinMaxCheck: Checking zenmodeler_cycleTime 16.4441800117 against min None and max 34560.0
2012-06-18 09:08:38,311 DEBUG zen.ZenModeler: Queueing event {'manager': 'ubuntu', 'eventKey': 'zenmodeler cycle time', 'device': 'localhost', 'eventClass': '/Perf', 'summary': 'threshold of zenmodeler cycle time restored: current value 16.44', 'component': '', 'monitor': 'localhost', 'agent': 'zenmodeler', 'severity': 0}
2012-06-18 09:08:38,311 DEBUG zen.ZenModeler: Total of 1 queued events
2012-06-18 09:08:38,312 DEBUG zen.ZenModeler: Sent a 'stop' event
2012-06-18 09:08:38,317 DEBUG zen.ZenModeler: stop() called when not running
2012-06-18 09:08:38,317 INFO zen.ZenModeler: Daemon ZenModeler shutting down
2012-06-18 09:08:38,318 DEBUG zen.ZenModeler: Removing service EventService
2012-06-18 09:08:38,318 DEBUG zen.ZenModeler: Removing service ModelerService
BUT running the same command for the machine which is showing Windows Services, this command returned no error. !!
Perhaps it will be great if you can let me know how to solve this issue.
Thanks
Tarun
Im wondering if any of this relates: message/63910#63910
I think the issue is that you have the install software relationships with the underscore in the name. Is there any different in language or encoding on these two machines?
For the problem device, I am curious if you remove the installed software map modeler plugin and re-run if it has any effect.
Does deleting and re-adding the device have any effect?
I'm sorry I don't have a more direct answer, but through some trial and error it might be possible to figure out what is wrong.
Yes You are right I have a Korean Windows7 installed. And for this PC Im not able to get windows services. For the Windows PC which has English OS installed on it, I'm able to see the windows services.
Any workaround for this, by installating language pack or anything else ?
Thanks
Tarun
Dear All,
Finanlly found a tweak to the error message of Underscores.
Edit the /opt/zenoss/lib.python/OFS/ObjectManager.Py
and also the /opt/zenoss/Products/ZenUtils/Utils.py
please follow this link : http://woonuk.springnote.com/pages/2923656?print=1
Hope this helps for few people, its not the perfect way to do it, but just a tweak.
Regards
Tarun
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||