Hi Allan,
 
Well after changing some lines in nsc.ini file ... now when i run the
command I am  getting the below output.
 
"EvenlogBuffer is too small (set the value of buffer_size): 122: The
data area passed to a system call is too small."
 
Please let me know hw to increase the buffer_size in nsc.ini ... i didnt
find any line for buffer_size in nsc.ini file.

 
regards,
Chethan M N
 

________________________________

From: Allan Clark [mailto:[email protected]] 
Sent: Friday, September 11, 2009 1:14 PM
To: Chethan M N (WI01 - Manage IT)
Cc: <[email protected]>
Subject: Re: [Nagios-users] windows Eventlog alerts


On Sep 11, 2009, at 7:39, <[email protected]> wrote:



        Dear all,
         
        I have installed Nagios 3 on Rhel 5. I am trying to monitor
error and warning alerts on the windows evenlog.
        I have NS Client++ running on the windows machine.
         
        Now When I run the command 
         
        /usr/local/nagios/libexec/check_nrpe -H 1<IPADDR> -p 5666 -c
checkEventLog
        Eventlog check ok
         
        It works fine but how to get the alerts description for warning
and error alerts from eventlog(application & system).
         
         
        I came across this command with arguments on Google,
         
        /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
        CHECK_NRPE: Received 0 bytes from daemon.  Check the remote
server logs for error messages.


When you "checked the remote server logs for error messages", what did
it say? 

Allan
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to