NC_Net nagios client to monitor Event logs onwindows
Jeff C. Benger
jbenger at ztechnet.com
Fri Feb 22 07:45:53 CET 2008
Download & extract nagios-plugins source
Remove/rename the original check_nt.c in the plugins dir
copy the check_nc_net.c file into the plugins folder and rename to
check_nt.c
rebuild the plugins(make)
________________________________
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of manju a
Sent: Friday, February 22, 2008 1:30 AM
To: Anthony Montibello
Cc: Nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] NC_Net nagios client to monitor Event logs
onwindows
Hi,
Thanks a lot for your replay.
when i copied to the libexec folder i got the below error, i know this
is not a command soo shell is not able to recognize it.
[root at nagios libexec]# ./check_nt.c
./check_nt.c: line 1:
/*********************************************************
: No such file or directory
./check_nt.c: line 2: check_apt: command not found
: command not found3: *
./check_nt.c: line 4: check_apt: command not found
./check_nt.c: line 5: check_apt: command not found
./check_nt.c: line 6: check_apt: command not found
: command not found7: *
./check_nt.c: line 8: check_apt: command not found
./check_nt.c: line 9: check_apt: command not found
./check_nt.c: line 10: syntax error near unexpected token `('
./check_nt.c: line 10: ` * Copyright (c) 2007 TOny Montibello
(tony at MontiTech.co
')
can you please let me know how we can recomplie check_nt.c plugins.
thanks
manjunath A.
On Fri, Feb 22, 2008 at 5:12 AM, Anthony Montibello
<amontibello at gmail.com> wrote:
HI,
THe problem is your version of check_nt
>>"where check_nt is default plugin which will come with the nagios
installation."
You need to compile check_nc_net.c
to do this, copy the check_nc_net.c to check_nt.c
then recompile the plugins
check_nc_net.c is in the install location of NC_Net as well as
downloadable seperatly from
http://downloads.sourceforge.net/nc-net/check_nc_net_040107.zip?modtime=
1175541733&big_mirror=0&filesize=17953
However please use the eventlog_new command -(See the help of
check_nc_net)
It is a more efficient check than eventlog
TOny (Author of NC_NEt)
On Thu, Feb 21, 2008 at 1:00 AM, manju a <manju.kudu at gmail.com> wrote:
Hi,
sorry it was my mistake while typing, yes i replaced any5 with
5.... same problem!!! please help me on this
thanks
manjunath A.
On Wed, Feb 20, 2008 at 8:30 PM, Edgar Matzinger
<Edgar.Matzinger at valid.nl> wrote:
Hi Manju,
>
> [root at nagios libexec]# ./check_nt -H windowsmachine -p 1248
> -v EVENTLOG -l any,any,any5,0,0,0 -w 5 -c 10
> check_nt: Could not parse arguments
and if you replace "any5" with "5"?
HTH, cu l8r, Edgar.
--
|\ /| : : Addr: Valid
Eindhoven B.V.
/ | \/ | : Edgar R. Matzinger : t.a.v. E.R.
Matzinger
/ | | : : Paradijslaan
36
\ /| /\| : : 5611 KN
Eindhoven
\/ / \ : Valid Eindhoven BV :
\ /\ / : :
\/ |\/ : :
| : :
Disclaimer: Any comments, opinions made are mine, etc ...
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080222/95400c21/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list