[Nagiosplug-help] Compiling contribs and Perl commands

Subhendu Ghosh sghosh at sghosh.org
Thu Jun 13 10:42:06 CEST 2002


gcc -o check_dhcp check_dhcp.c

check_dhcp need to be setuid root because it needs to open a privileged 
port on port 68.  

.pl perl files do not need to be compiled - set the execute bit (chmod +x) 
on the file permissions, and make sure the first line points to a valid 
version of perl.

-sg


On Thu, 13 Jun 2002, Vezie, Robert wrote:

> A couple of questions....
>  
> Downloaded the nagiosplug tarball from Sourceforge.  I want to compile the
> check_dhcp command, but am unable to figure out how.  I tried putting it in
> the plugins directory and compiling it with everything else, but that did
> not work.  What is it that I have to do to compile the .c commands found in
> the contrib directory.
>  
> Second question is same, except how do I do it for the .pl commands like
> check_email_loop and check_dns_random.
>  
> Thanks in advance for all help
>  
> Linux Newbie
>  
> Robert Vezie
> Project Engineer
> CCC Network Systems
>  
> 6410 Rockledge Dr
> Suite 105
> Bethesda, MD 20817
>  
> Office: 301-493-5992
> Cell: 240-876-3475
> Fax: 301-493-5417
>  
> Robert.Vezie at cccnetsys.com <mailto:Robert.Vezie at cccnetsys.com> 
> www.cccnetsys.com <http://www.cccnetsys.com/> 
>  
>  
> 
> 
> ________________________________________________________________________________________
> 
> The information in this Internet email is confidential and intended for the sole use of the addressee(s).  Access, copying, disclosure or re-use, in any way, of the information contained in this email by anyone other than the addressee(s) is unauthorised Internet communication and may not be secure.  
> 
> CCC Network Systems, Inc. accepts no legal responsibility for the content of the message.  Any opinions or views presented are solely the responsibility of the author and do not necessarily represent those of CCC Network Systems, Inc.
> 
> If you have received this email in error, please return it to postmaster at cccnetsys.com and the sender.
> 
> CCC Network Systems, Inc. may monitor the content of emails sent and received via its network in accordance with applicable legislation for the purposes of ensuring its compliance with its policies and procedures. 
> 
> This message has been checked on behalf of CCC Network Systems, Inc. for all known viruses by the MessageLabs Virus Control Centre; however, CCC Network Systems, Inc. do not warrant that it is virus-free.





More information about the Help mailing list