<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN class=281473406-11092009>Dear
all,</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN class=281473406-11092009>I
have installed Nagios 3 on Rhel 5. I am trying to monitor error and warning
alerts on the windows evenlog.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN class=281473406-11092009>I
have NS Client++ running on the windows machine.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN class=281473406-11092009>Now
When I run the command </SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009>/usr/local/nagios/libexec/check_nrpe -H 1<IPADDR>
-p 5666 -c checkEventLog<BR>Eventlog check ok</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN class=281473406-11092009>It
works fine but how to get the alerts description for warning and error alerts
from eventlog(application & system).</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN class=281473406-11092009>I
came across this command with arguments on Google,</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009>/usr/local/nagios/libexec/check_nrpe
-H <IPADDR> -p 5666 -c checkEventLog -a file=applicaion
warning-count=1 critical-count=3 filter-generated=\>4h
filter-eventType=\>warning truncate=1000 filter=out<BR>CHECK_NRPE: Received 0
bytes from daemon. Check the remote server logs for error
messages.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN class=281473406-11092009>not
seems to be wrking ...</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009>Please suggest.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009>regards,</SPAN></FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2><SPAN
class=281473406-11092009>Chethan M
N </SPAN></FONT></DIV></BODY></HTML>