JosefJezek
1/31/2014 - 12:03 PM

Zenoss for monitoring Microsoft Active Directory, Cluster Services, Exchange, IIS, SQL Server, Windows

Zenoss for monitoring Microsoft Active Directory, Cluster Services, Exchange, IIS, SQL Server, Windows

Zenoss for monitoring Microsoft Active Directory, Cluster Services, Exchange, IIS, SQL Server, Windows

Setup Zenoss

Install WinRM

WinRM 2.0 for 2003, 2008, Vista, XP

WinRM 3.0 for 2008, 7

Info

Setup Windows

Show certificate

  • run mmc

Conf

  • Open ports 5985 (http) / 5986 (https) for WinRM
  • Run command prompt as Administrator
  • winrm get winrm/config
  • winrm quickconfig
  • winrm s winrm/config/service @{MaxConcurrentOperationsPerUser="4294967295"}
  • winrm s winrm/config/winrs @{MaxShellsPerUser="2147483647"}
  • winrm s winrm/config/winrs @{IdleTimeout="7200000"}
  • Basic Authentication (Windows default is Kerberos see note below for more information)
  • winrm s winrm/config/service/auth @{Basic="true"}
  • Set HTTPS
  • winrm create winrm/config/Listener?Address=*+Transport=HTTPS @{Hostname="serverfqdn";CertificateThumbprint="1fd53031caf98df226428069ccfdf3152b6ddc2b"}

Check

  • winrm enumerate winrm/config/listener
  • netstat -na | findstr "5986"

Change port

  • winrm set winrm/config/listener?Address=*+Transport=HTTPS @{Port="8888"}

HTTP

  • HTTP (Windows default is HTTPS see note below for more information)
  • winrm s winrm/config/service @{AllowUnencrypted="true"}

Windows Perfmon Missing Counters

cd windows\system32
lodctr /R

For English Counters

  • del c:\windows\system32\perf*005.dat 005 for czech lang
  • run perfmon

Counters Info

cd %Systemroot%\System32
findstr drivername *.ini

HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Perflib\009

Debug

zenmodeler run -v10 -d <device> --collect Interfaces
zenpython run -v10 -d <device>

Resources