I wanted to have Nagios monitor the status of McAfee Virus-Scan
on our servers. I wanted to ensure that I knew of any installations where the
Agent, Virus-Scan, Engine or DATs were not at a version that they should be.
To that end I decided to write a bit of PowerShell code to
use in conjunction with NSClient++ that we use for monitoring our Windows
servers.
You can download the PowerShell script from GitHub here:-