Home Directory Plugins Anti-Virus McAfee Check_McAfee_Status

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check_McAfee_Status

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2017-03-14
Compatible With
  • Nagios 4.x
License
GPL
Hits
7108
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Check_McAfee_Status
PowerShell to check McAfee Status - Used with NSCLIENT++ & Nagios

This PowerShell script will check registry keys for McAfee based

on the following parameters which need to be supplied:-

-AgentVersion

-VScanVersion

-EngineVersion

-WarnDays

-CritDays

If the values of the supplied parameters do not match then a

Warning or Critical level will be raised back to Nagios.
To execute from within NSClient++

[NRPE Handlers]

check_mcafee_status = cmd /c echo scripts\Check_McAfee_Status.ps1 -AgentVersion 5.0.4.283 -VScanVersion 8.8.0.1599 -EngineVersion 5800.7501 -WarnDays 2 -CritDays 5; exit($lastexitcode) | powershell.exe -command -


On the check_nrpe command include the -t 60, since it can take longer than the standard 10 seconds to run.

Tested with x86 & x64 versions of:-
NSClient++ version 0.4.4.16
NSClient++ version 0.5.0.62

Windows Server 2003
Windows Server 2003 R2
Windows Server 2008
Windows Server 2008 R2
Windows Server 2012
Windows Server 2012 R2
Windows Server 2016