Home Directory Plugins Log Files check_events.vba

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_events.vba

Rating
0 votes
Favoured:
0
Current Version
2.0
Last Release Date
2011-08-01
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
Owner
License
GPL
Hits
92621
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!
After trying many of the available and complicated ways to check my Windows event viewer's for a specific Event, I decided to write my own and share with everyone!
This is a much usefull plugin that can verify the Windows Event Viewer via nagios remote check
I tested using the NC_NET on Windows 2003 and 2000. There is one tweek that needs to be done for

Under windows 2000 you will need to remoe the -s localhost from the strCmd variable.


Important this script requires the Microsoft tool:
dumpel.exe and it need to be in the same folder as the script is in!

The syntax is simple:

From nagios do:
./check_nt -H server10 -t 50 -v RUNSCRIPT -l "cscript.exe //nologo C:PROGRA~1NC_Netscriptcheck_events.vbs -t System -e 4097> -s DrWatson
output:
OK - No Error(s) found today, for eventID: 4097 , System

I add also perfdata so you can graph it.

Hope its usefull for someone out there