command
Version:
v0.10.0
Opens a new window with list of versions in this module.
Published: Apr 6, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
check-windows-eventlog
Description
Checks a windows event log using a regular expression.
Setting
[plugin.checks.event-log]
command = "/path/to/check-windows-eventlog --log=LOGTYPE --type=EVENTTYPE --source-pattern=REGEXP --source-exclude=REGEXP --message-pattern=REGEXP --message-exclude=REGEXP --event-id-pattern=RANGE --event-id-exclude=RANGE --warning-over=N --critical-over=N" --fail-first
LOGTYPE
- Application
- Security
- System
EVENTTYPE
- Success
- Error
- Audit Failure
- Audit Success
- Information
- Warning
Tutorial
-
find message matches foo
but not match bar
.
--message-pattern foo --message-exclude bar
-
find event which id is 900 or 901.
--event-id-pattern 900,901
-
find event which id is between 900 and 1200, but not 1101.
--event-id-pattern 900-1200 --event-id-exclude 1101
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.