CheckLog for WINDOWs ..
Posted: Thu Feb 04, 2016 8:26 am
Can some one help me with the command line using nrpe and checkLog to get an alert when below details are satisfied ?
- event log ""Application""
- type ""Warning""
- sources ""Sophos Anti-Virus"" and ""SophosAntiVirus""
- categories ""Virus"" and ""Virus/spyware"""
----------This some where I could at least get some details ..but not fully succeeded ...........
./check_nrpe -H srvcldmlcd001 -p 5666 -c CheckEventLog -a file=System file=application MaxWarn=1 MaxCrit=1 "filter=generated > -10m AND severity NOT IN ('success', 'informational') AND source NOT in ('invalid')" unique descriptions "syntax=Time:%generated%, Event ID:%id%, Source=%source%, Type=%level% Location=%file%"
- event log ""Application""
- type ""Warning""
- sources ""Sophos Anti-Virus"" and ""SophosAntiVirus""
- categories ""Virus"" and ""Virus/spyware"""
----------This some where I could at least get some details ..but not fully succeeded ...........
./check_nrpe -H srvcldmlcd001 -p 5666 -c CheckEventLog -a file=System file=application MaxWarn=1 MaxCrit=1 "filter=generated > -10m AND severity NOT IN ('success', 'informational') AND source NOT in ('invalid')" unique descriptions "syntax=Time:%generated%, Event ID:%id%, Source=%source%, Type=%level% Location=%file%"