how to compile check_nt.c
dan dang
dang.quocdan at gmail.com
Fri Aug 26 10:47:32 CEST 2005
I have installed the c-compiler however I still can't compile "check_nt.c"
though I'm in the right directory and I have the c-compiler. Does anyone
know how to compile this plugin under Linux-Debian ? I have downloaded the
c-compiler with the command "aptitude" and I have added the necessary
libraries to enable the compiler to run properly BUT I can't manage to
compile the plugin "check_nt.c" that I have downloaded (nagios-plugins-1.4.1).
As mentioned to *Lori Adams and Jon*, when I run the service, the system
does NOT recognize it, I'm pretty sure the service is NOT installed and I
can't compile it !
I'm open to your advices, thanks in advance !!
Dan.
From: *dan dang <dang.quocdan at gmail.com>*
To: *Lori Adams <ladams at cloudmark.com>*
Date: *Aug 26, 2005 10:30 AM*
Subject: *Re: [Nagios-users] check_nt configuration*
Reply | Reply to all | Forward | Print | Add sender to Contacts list | Trash
this message | Show original
Yes I have NSClient installed on the remote machine.
Actually I think the problem comes from the c-compiler that I have NOT
installed yet, I'll try to install it and run the command : *gcc -o check_nt
check_nt.c *
to see whether I can compile the "check_nt" plugin or not. In fact, when I
run the command "check_nt", the system does NOT recognize the service.
That's why I think the service is NOT installed yet.
Thx for your help, don't hesitate to advise me more if u have any other
ideas,
Dan.
- Hide quoted text -
On 8/25/05, Lori Adams <ladams at cloudmark.com> wrote:
>
> Did you follow everything that was mentioned in the Bobby Bradshaw
> thread?
> Do you have nsclient (Nagios Agent) running on your remote machine?
>
> -Lori
From: *dan dang <dang.quocdan at gmail.com>*
To: *Jon <jonsml at gmail.com>*
Date: *Aug 26, 2005 10:23 AM*
Subject: *Re: [Nagios-users] check_nt configuration*
Reply | Reply to all | Forward | Print | Add sender to Contacts list | Trash
this message | Show original
I did but I think I have figured out what was wrong, I think that I have
NOT installed the c-compiler, I'll try to install it and run the command : *gcc
-o check_nt check_nt.c *
to see whether I can compile the "check_nt" plugin or not. In fact, when I
run the command "check_nt", the system does NOT recognize the service.
That's why I think the service is NOT installed yet.
Thx for your help, don't hesitate to advise me more if u have ideas,
Dan.
- Hide quoted text -
On 8/25/05, Jon <jonsml at gmail.com> wrote:
>
> Hi,
>
> Since you mentioned that you have installed the plugins in a different
> location, did you make change to the $USER1$ variable to point it to the
> correct location? To set the variable $USER1$ to /usr/lib/nagios/plugins/
> you need to edit the resource.cfg.
>
> You can also try executing the command to see if it actually works. Just
> go to where the check_nt is located and run it. That would eliminate a few
> things.
>
> HTH,
>
> Jon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050826/435d3ade/attachment.html>
More information about the Users
mailing list