Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [Nagiosplug-help] Help compiling .c plugins from contrib/ folder

From: Anthony Montibello <amontibello(at)gmail.com>
Date: Tue Oct 16 2007 - 18:19:14 EDT


Most of the C plugins depend on those files. so If compiling any of these plugins seperatly, then locate those files; they are somewhere in the directories after you uncompressed the plugins.

Once you locate the .h files if you choose to copy them make sure you copy the .c files as well.

Hope this helps, (Note my test server is currenlty offline so I could not verify the directory structure or command line)

Tony (Author of NC_Net)

On 10/16/07, Robert Hassing <robert@cable2000.nl> wrote:
>
> Hi
>
> Is there anybody who can tell me what the steps are in order to compile
> any
> .c plugin provided in the contrib. folder?
>
> I'm trying to compile the check_uptime.c plugin at this moment but it ends
> up with the following error:
>
> fw2:~/nagios-plugins-1.4.7/contrib# gcc ./check_uptime.c
> ./check_uptime.c:24: config.h: No such file or directory
> ./check_uptime.c:25: common.h: No such file or directory
> ./check_uptime.c:26: utils.h: No such file or directory
> ./check_uptime.c:27: popen.h: No such file or directory
>
> Is there a specific location to put the source and then compile it or?
>
> Hope someone can help me
>
> Regards
> Robert
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins 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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/



Nagiosplug-help mailing list
Nagiosplug-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Received on Tue Oct 16 18:19:28 2007

This archive was generated by hypermail 2.1.8 : Wed Jul 16 2008 - 04:35:58 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library