From owner-freebsd-ports@FreeBSD.ORG Mon Jan 24 05:57:05 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5121F16A4CE for ; Mon, 24 Jan 2005 05:57:05 +0000 (GMT) Received: from out-1.mail.amis.net (out-1.mail.amis.net [212.18.32.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6475643D46 for ; Mon, 24 Jan 2005 05:57:04 +0000 (GMT) (envelope-from blaz@si.FreeBSD.org) Received: from localhost (in-2.mail.amis.net [212.18.32.19]) by out-1.mail.amis.net (Postfix) with ESMTP id 0D77F5B8088; Mon, 24 Jan 2005 06:57:03 +0100 (CET) Received: from in-2.mail.amis.net ([127.0.0.1]) by localhost (in-2.mail.amis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 95782-03; Mon, 24 Jan 2005 06:57:00 +0100 (CET) Received: from piranha.amis.net (piranha.amis.net [212.18.32.3]) by in-2.mail.amis.net (Postfix) with ESMTP id 85CA4228610; Mon, 24 Jan 2005 06:57:00 +0100 (CET) Received: from titanic.medinet.si (titanic.medinet.si [212.18.42.5]) by piranha.amis.net (Postfix) with ESMTP id 6EA88FDBA; Mon, 24 Jan 2005 06:57:00 +0100 (CET) Date: Mon, 24 Jan 2005 06:57:00 +0100 (CET) From: Blaz Zupan X-X-Sender: blaz@titanic.medinet.si To: Rainer Duffner In-Reply-To: <41F47ED0.2070004@ultra-secure.de> Message-ID: <20050124065545.F20677@titanic.medinet.si> References: <41F47ED0.2070004@ultra-secure.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at amis.net X-Spam-Status: No, hits=-4.455 required=5 tests=ALL_TRUSTED, AWL, BAYES_00 X-Spam-Level: cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: nagios-plugins-1.4.0.a3_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2005 05:57:05 -0000 > is it possible that the check_load plugin doesn't work on 4.10 anymore, but > only on 5.3 ? > > Witness: > > root@mail3# /usr/local/libexec/nagios/check_load -w 15,10,5 -c 30,25,20 > Warning threshold must be float or float triplet! > Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 > > is-insrv-aug-011# /usr/local/libexec/nagios/check_load -w 15,10,5 -c 30,25,20 > OK - load average: 0.00, 0.00, > 0.00|load1=0.000000;15.000000;30.000000;0.000000 > load5=0.000000;10.000000;25.000000;0.000000 > load15=0.000000;5.000000;20.000000;0.000000 > > First: 4.10 > Second: 5.3 No. Works for me: bigbrother:/home/blaz> uname -a FreeBSD bigbrother.amis.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue Jun 1 17:12:11 CEST 2004 root@bigbrother.amis.net:/usr/obj/usr/src/sys/BIGBROTHER i386 bigbrother:/home/blaz> /usr/local/libexec/nagios/check_load -w 15,10,5 -c 30,25,20 OK - load average: 1.98, 1.53, 1.43|load1=1.975098;15.000000;30.000000;0.000000 load5=1.530762;10.000000;25.000000;0.000000 load15=1.431641;5.000000;20.000000;0.000000 Do you by any chance have any locale settings on the 4.10 box, but not on the 5.3 box? There is a known problem with locales and the latest nagios versions.