Re: [Nagios-users] NC_Net nagios client to monitor Event logs on windows

2008-02-21 Thread manju a
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.
>
> [EMAIL PROTECTED] 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 (
> [EMAIL PROTECTED]
> ')
>
> 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 <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]> 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 <
> > > [EMAIL PROTECTED]> wrote:
> > >
> > > > Hi Manju,
> > > >
> > > > >
> > > > > [EMAIL PROTECTED] 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/vse012070mrt/direct/01/
> > > ___
> > > Nagios-users mailing list
> > > Nagios-users@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
> > >
> >
> >
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] NC_Net nagios client to monitor Event logs on windows

2008-02-21 Thread Anthony Montibello
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
> wrote:
>
> > Hi Manju,
> >
> > >
> > > [EMAIL PROTECTED] 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/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@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
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] NC_Net nagios client to monitor Event logs on windows

2008-02-20 Thread manju a
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 <[EMAIL PROTECTED]>
wrote:

> Hi Manju,
>
> >
> > [EMAIL PROTECTED] 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/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] NC_Net nagios client to monitor Event logs on windows

2008-02-20 Thread Edgar Matzinger
Hi Manju, 

> 
> [EMAIL PROTECTED] 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/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] NC_Net nagios client to monitor Event logs on windows

2008-02-20 Thread manju a
Hi All,

i am facing some problem while monitoring event logs on the windows box.

please find the steps i followed.

1) i installed Nc_Net nagios client on the windows box.
2) from the nagios server(UNIX machine) i m trying to execute this command

[EMAIL PROTECTED] 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
Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l
param
s] [-d SHOWALL] [-t timeout]

i always use to get the below mention error

check_nt: could not parse arguments


where check_nt is default plugin which will come with the nagios
installation.

do u think i m missing something.

please help me on this

thanks
manju
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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