Help compiling check_cluster2
mark0s at excite.com
mark0s at excite.com
Mon Feb 12 10:20:58 CET 2007
Hi Marc,
Thanks for the help, I thought it should need more arguments at the command line but it compiled at the first try and is working!
Marcos
--- On Fri 02/09, Marc Powell < marc at ena.com > wrote:
From: Marc Powell [mailto: marc at ena.com]
To: nagios-users at lists.sourceforge.net
Date: Fri, 9 Feb 2007 08:24:02 -0600
Subject: Re: [Nagios-users] Help compiling check_cluster2
<br><br>> -----Original Message-----<br>> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-<br>> bounces at lists.sourceforge.net]<br>> Sent: Friday, February 09, 2007 4:05 AM<br>> To: nagios-users at lists.sourceforge.net<br>> Subject: [Nagios-users] Help compiling check_cluster2<br>> <br>> <br>> Hello everybody,<br>> <br>> <br>> <br>> I just have download the nagios-plugins-1.4.6 dev package to get the<br>> check_cluster2 plugin (I only need to compile this plugin) but I'm<br>having<br>> problems trying to compile it. I modified the Makefile adding manually<br>the<br>> check_cluster2 where needed (I guess...) but it seems I mess<br>something...<br>> <br>> <br>> <br>> Can anybody tell me exactly how to compile it from the command line?<br><br>No need for make. --<br><br># gcc -o check_cluster2 check_cluster2.c <br># ./check_cluster2 --help<br>./check_cluster2: unrecognize
d option `--help'<br>Invalid arguments supplied<br><br>Host/Service Cluster Plugin for
Nagios 2<br>Copyright (c) 2000-2004 Ethan Galstad (nagios at nagios.org)<br>Last Modified: 03-11-2004<br>License: GPL<br><br>Usage: ./check_cluster2 (-s | -h) [-l label] [-w threshold] [-c<br>threshold] [-d val1,val2,...,valn]<br><br>Options:<br> -s, --service = Check service cluster status<br> -h, --host = Check host cluster status<br> -l, --label = Optional prepended text output (i.e. "Host cluster")<br> -w, --warning = Specifies the number of hosts or services in cluster<br>that must be in<br> a non-OK state in order to return a WARNING status<br>level<br> -c, --critical = Specifies the number of hosts or services in cluster<br>that must be in<br> a non-OK state in order to return a CRITICAL status<br>level<br> -d, --data = The status codes of the hosts or services in the<br>cluster, separated<br> by
commas<br><br><br>-------------------------------------------------------------------------<br>Using Tomcat but need to do more? Need to support web services, security?<br>Get stuff done quickly with pre-integrated technology to make your job easier.<br>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<br>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642<br>_______________________________________________<br>Nagios-users mailing list<br>Nagios-users at lists.sourceforge.net<br>https://lists.sourceforge.net/lists/listinfo/nagios-users<br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>::: Messages without supporting info will risk being sent to /dev/null<br>
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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