Home » Categories » Multiple Categories

Nagios XI - Windows Event Log Check With WMI

Overview

If you are using WMI to perform your Windows monitoring you can leverage the check_wmi_plus.pl plugin to perform event log checks.

 

Example

Create a service that uses the check_xi_service_wmiplus command. The following examples show the values required in the $ARGx$ fields.

Check Windows event log system for errors in the last 4 hours. Warn on 1 occurrence, critical if 6 or more.

$ARG1$ = adminstrator
$ARG2$ = password
$ARG3$ = checkeventlog
$ARG4$ = -a system -o 2 -3 4 -w 1 -c 6

 

Check Windows event log application for errors in last 1 hour. Warn on 3 occurrences, critical on 6 or more.

$ARG1$ = adminstrator
$ARG2$ = password
$ARG3$ = checkeventlog
$ARG4$ = -a application -o 2 -3 4 -w 3 -c 6

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

3 (1)
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - WMI Troubleshooting
Viewed 8606 times since Mon, Apr 24, 2017
Nagios XI - Monitoring Windows With WMI
Viewed 1889 times since Thu, Jan 14, 2016
Nagios XI - WMI Authentication Problems
Viewed 3076 times since Thu, Feb 25, 2016
Nagios XI - Installing The WMI Client
Viewed 1945 times since Thu, Jan 14, 2016
Nagios XI - Monitoring Windows Event Logs With Nagios XI
Viewed 1577 times since Thu, Jan 14, 2016