From owner-freebsd-isp@FreeBSD.ORG Sun Jun 4 05:51:43 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9007716A4C8 for ; Sun, 4 Jun 2006 05:51:43 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AE3043D7C for ; Sun, 4 Jun 2006 05:51:35 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.62 #0 (FreeBSD 4.11-STABLE)) id 1FmlWN-0008t9-1s by authid for ; Sun, 04 Jun 2006 08:51:31 +0300 Date: Sun, 4 Jun 2006 08:51:31 +0300 From: Odhiambo Washington To: freebsd-isp@freebsd.org Message-ID: <20060604055131.GC14207@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-isp@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.11 (2005-09-15) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.11 Subject: Bad newbie experience with Nagios X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 05:51:43 -0000 Hi List, I am ashamed going to ask the question on Nagios list, so I decided I=20 could ask here as well, since we have people using nagios here already. I have installed nagios-2.3.1, and nagios-plugins-1.4.3 on my 5.4-STABLE=20 box, via the ports. I believe I have read some very good documentation=20 after googling also. I almost feel confident configuring it, but I feel so stupid that it's not working as expected. I have defined some services, but all I get tends to suggest that these=20 hosts are down, while for sure they are not. How do I solve the problem of "CRITICAL - You need more args!!!", as that is what appears in all the reports sent to the contacts? I have manually tried running the commands, with the correct args and the clue I get leaves me clueless ;) For example, the check-host-alive command: warta# /usr/local/libexec/nagios/check_ping -H 62.8.64.6 -4 -w 3000.0,80% -= c 5000.0,100% -p 1 CRITICAL - You need more args!!! Could not open pipe: Now I am wondering whether "check_ping" has a problem, and whether it's the right plugin for checking if host is alive.... What would be my mistake if I used check_icmp command to see if host is=20 alive? Well, what is the solution to "Could not open pipe", if any? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ "At least they're ___________=08=08=08=08=08=08=08=08=08=08=08EXPERIENCED i= ncompetents"