 command
    
    
    
      command
    
    
      
        
      
    
   
    
      
  
    
      
  
    
      Version: 
        v0.15.0
    
    
      Opens a new window with list of versions in this module.
    
    
    
  
      
  
    Published: Jan 10, 2018
  
      
  
    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
      ¶
      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 foobut not matchbar.
 --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
      ¶
      Documentation
      ¶
    
    
  
    
  
    
      
        
           
          There is no documentation for this package.
         
      
     
   
        
      
      
        
  
    
       Source Files
      ¶
      Source Files
      ¶
    
   
      
      
        
  
    
       Directories
      ¶
      Directories
      ¶
    
    
    
   
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.