
Log Files
check_events.vba
Description:
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!
Current Version
2.0
Last Release Date
2011-08-01
Compatible With
- Nagios 2.x
- Nagios 3.x
- Nagios XI
Owner
Website
Download URL
License
GPL
Project Notes
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
Reviews
(0)
Add a Review
Page Sections
Project Stats
Rating
0 (0)
Favorites
0
Views
92,627