Cacti WMI – Introduction And Pre-Requisites
This article explains how to set up basic monitoring of a Windows server through Cacti running on a Linux host using WMI (Windows Management Instrumentation).
Using WMI has the advantage over using snmp because it is part of the base Windows Operating System and requires no additional configuration on the remote Windows server.
A user account on the Windows Server or Domain is needed to allow Cacti to talk to WMI which can be configured but this is outside the scope of this article.
The installation can be broken down in to the following sections :-
- Installing the WMI Client
- Creating a Perl WMI script
- Creating a Data Input Method
- Creating a Data Template
- Creating a Graph Template
- Creating a Host Template
- Applying to a Windows host
In order to monitor a Windows server through Cacti using WMI the following pre-requisites must be met :-
- A configured and working Cacti server
- A user account on the Windows Server or Domain with rights to communicate with WMI