Agentless WMI monitoring of Windows hosts
All operations will be done on the Nagwin machine:
- Copy contents of check-wmic archive to <inst-dir>/plugins/check_wmic directory (if it doesn't exist before)
- Add macroes $USER10$ (login name) and $USER11$ (password) to etc/nagios/resource.cfg file. Those two macroes will be used as credentials during remote WMI connections.
# Store some usernames and passwords (hidden from the CGIs)
$USER10$=wmi-user
$USER11$=wmi-password
NB! User with local admin privileges works best. However, please consider security implications of making such privileges visible in a file. Make sure that resources.cfg is only readable by the service account (SvcNagwin as default)
- Define following commands in the nagios configuration directory (<inst.dir>/nagios/nagwin/wmi-commands.cfg for example):
################################################################################ # # CHECK_WMIC COMMANDS # ################################################################################ # 'wmic_cpu_load' command definition # 'wmic_local_disk_free' command definition # 'wmic_physical_memory_free' command definition # 'wmic_virtual_memory_free' command definition # 'wmic_pagefile_inuse' command definition # 'wmic_non_running_auto_services' command definition # 'wmic_defined_services' command definition |
- Create a configuration file for each host in etc/nagios/nagwin directory:
# Define a host for the local machine |
- Restart Nagwin_Nagios service and check results via web interface.
Featured product
Free Software Highlights
Release Announcements
- 2024-11-17 OpenSSL tool 2.0.1
- 2024-11-17 Winrpe 5.6.0
- 2024-11-17 Wrbldnsd 5.0.2