Jun 8, 2012 9:28 AM
Confusion about monitoring Windows through Zenoss
-
Like (0)
Hi,
How does one monitor Windows on Zenoss??
Of course this question has been answered but in multiple ways and I need someone to clarify a few things; so far I have read:
thread/3461;jsessionid=DEC48983FA68953FE45D3CEFE0403795.node0?decorator=print&displayFullThread=true
http://binarynature.blogspot.co.uk/2011/06/configure-windows-device-for-zenoss.html
This is where my confusion lies....
In one of those links it talks about using a zenwin to monitor the OS.... I am assuming that this is a separate installable service that uses configurable ports.
Another one of those links talks about using SNMP and WMI, and the other claims that one only need provision the Windows server from Zenoss Web UI and the services will immediately start showing.
Would it be possible to clarify this?
Additionally if I need to run the Zenwin daemon on the Windows box where do I find it from?
Currently I am using Zenoss installed from Ports on FreeBSD.
I have no knowledge of MS systems but need to relay the information over to the guys that do :-)
Thanks.
The answer is that you can choose your monitoring protocol - or use a mixture of both SNMP and WMI.
Out of the box, a device placed in the /Server/Windows device class will use SNMP for basic system information and for networking information. It will also use SNMP to get info on CPU / Disks / Memory but these items rely on your target device having the Informant MIB installed - and most don't! you can get it and install it (it is free) but you have the hassle of installing it on all your Win servers. Obviously, you will need to configure SNMP on your Windows devices and make sure that the Zenoss server configuration matches these parameters (SNMP version, community name).
Also out-of-the-box, a /Server/Windows device will gather Windows Services information using WMI and it wil gather events from Windows events logs using WMI (the services are collected by the zenwin daemon on the Zenoss Server - you don't need the zenwin daemon on your Windows servers). This means that you need to have a user on your Windows server that permits remote access using WMI and the Zenoss Server needs to be configured with this userid and password.
That's the starting point. You don't have to use SNMP. Many folk get the WMI Data Source and WMI Windows Performance ZenPack add-ons. These let you monitor a Windows server entirely using WMI and gets you similar info to that which you got with SNMP (system, interfaces, disk, cpu, memory). There's a bunch of other add-ons that build on top of these ZenPacks to monitor Exchange, IIS and MSSQL.
Other folk don't want to use WMI so they simply rely on what SNMP can provide, especially if their Windows server supports the standard Host Resources MIB (in which case they can get lots of system stuff without having to install the Informant MIB).
Cheers,
Jane
Thanks so much Jane that's really clarified things a lot!
Just additionally - we are trying to replace Nagios with Zenoss right now and currently our Nagios is setup to monitor MSSQL queries and also run some scripts too which monitor various things.....
Can Zenoss also do this?
I'm quite keen to get Zenoss put into production use over Nagios as it seems quite more easy to manage..
Thanks.
Have a look at the MSSQL Zenpack here - docs/DOC-4641 . I haven't used thsi one but it looks pretty comprehensive. Note that it pre-reqs the WMI Data Source ZenPack.
Cheers,
Jane
Thanks again.... I did check it out but was a bit unsure as I didn't really see any of it's features - what it can really do. I guess that's part of the caveat of learning new software though :-)
I treid installing the ZenPack but kept coming up with this error:
[code]
zenpack --install /root/ZenPacks.community.ZenODBC-4.0.egg
Link to http://pypi.python.org/simple/ZenPacks.community.SQLDataSource/ ***BLOCKED*** by --allow-hosts
Couldn't find index page for 'ZenPacks.community.SQLDataSource' (maybe misspelled?)
Link to http://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts
No local packages or download links found for ZenPacks.community.SQLDataSource>=2.0
Couldn't find index page for 'ZenPacks.community.SQLDataSource' (maybe misspelled?)
No local packages or download links found for ZenPacks.community.SQLDataSource>=2.0
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
File "/usr/local/zenoss/Products/ZenUtils/zenpack.py", line 406, in <module>
zp.run()
File "/usr/local/zenoss/Products/ZenUtils/zenpack.py", line 134, in run
previousVersion= self.options.previousVersion)
File "/usr/local/zenoss/Products/ZenUtils/ZenPackCmd.py", line 240, in InstallEggAndZenPack
zpDists = InstallEgg(dmd, eggPath, link=link)
File "/usr/local/zenoss/Products/ZenUtils/ZenPackCmd.py", line 303, in InstallEgg
DoEasyUninstall(eggPath)
File "/usr/local/zenoss/Products/ZenUtils/ZenPackCmd.py", line 891, in DoEasyUninstall
easy_install.main(args)
File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 1712, in main
with_ei_usage(lambda:
File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 1700, in with_ei_usage
return f()
File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 1716, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/local/zenoss/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/local/zenoss/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/local/zenoss/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 211, in run
self.easy_install(spec, not self.no_deps)
File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 427, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 478, in install_item
self.process_distribution(spec, dist, deps)
File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 519, in process_distribution
[requirement], self.local_index, self.easy_install
File "/usr/local/zenoss/lib/python/pkg_resources.py", line 563, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/usr/local/zenoss/lib/python/pkg_resources.py", line 799, in best_match
return self.obtain(req, installer) # try and download/install
File "/usr/local/zenoss/lib/python/pkg_resources.py", line 811, in obtain
return installer(requirement)
File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 434, in easy_install
self.local_index
File "/usr/local/zenoss/lib/python/setuptools/package_index.py", line 475, in fetch_distribution
return dist.clone(location=self.download(dist.location, tmpdir))
AttributeError: 'NoneType' object has no attribute 'clone'
[/code]
I'm not quite sure what's going on?
Is the system trying to connect this URL: http://pypi.python.org
??
What version of Zenoss are you running and what version of the SQLDataSource ZenPack have you downloaded?? This is the message you usually get if you have incompatible versions of Zenoss adn ZenPack.
Cheers,
Jane
Yeah, I've been reading and it seems that there are even Python compatibility issues additionally.
These are the Zenpacks I've downloaded:
ZenPacks.community.WMIDataSource-3.0.egg
ZenPacks.community.WMIDataSource-3.0.egg.zip
ZenPacks.community.WMIPerf_MSSQL-2.0.1-py2.6.egg
ZenPacks.community.WMIPerf_MSSQL-2.0.1-py2.6.egg.zip
ZenPacks.community.ZenODBC-4.0.egg
ZenPacks.community.ZenODBC-4.0.egg.zip
I am running Zenoss 3.1.0 built from FreeBSD 'Ports' on FreeBSD 8.2 RELEASE x64.
The spec files for these Zenpacks say that they are compatible with version 3.x of Zenoss......
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||