CheckLog for WINDOWs ..

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rmank
Posts: 20
Joined: Tue Apr 14, 2015 6:35 am

CheckLog for WINDOWs ..

Post by rmank »

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%"
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: CheckLog for WINDOWs ..

Post by rkennedy »

What is the current result when you run that command?
Former Nagios Employee
rmank
Posts: 20
Joined: Tue Apr 14, 2015 6:35 am

Re: CheckLog for WINDOWs ..

Post by rmank »

its not giving anything as output !
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: CheckLog for WINDOWs ..

Post by Box293 »

What version of NSClient++ are you using?

Have a look at this guide, it might answer a few questions:
http://outsideit.net/real-time-eventlog-monitoring/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rmank
Posts: 20
Joined: Tue Apr 14, 2015 6:35 am

Re: CheckLog for WINDOWs ..

Post by rmank »

Thanks a lot .I am able to check the logs now !
Please close the thread ..!
Locked