Cacti WMI – Introduction And Pre-Requisites

Cacti WMI – Introduction And Pre-Requisites

Introduction

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 :-

  1. Installing the WMI Client
  2. Creating a Perl WMI script
  3. Creating a Data Input Method
  4. Creating a Data Template
  5. Creating a Graph Template
  6. Creating a Host Template
  7. Applying to a Windows host

Pre-Requisites

In order to monitor a Windows server through Cacti using WMI the following pre-requisites must be met :-

  1. A configured and working Cacti server
  2. A user account on the Windows Server or Domain with rights to communicate with WMI