From owner-freebsd-questions@freebsd.org Wed Sep 21 08:03:59 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39670BE3908 for ; Wed, 21 Sep 2016 08:03:59 +0000 (UTC) (envelope-from alnis.morics@gmail.com) Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B19121A26 for ; Wed, 21 Sep 2016 08:03:58 +0000 (UTC) (envelope-from alnis.morics@gmail.com) Received: by mail-lf0-x234.google.com with SMTP id l131so33715529lfl.2 for ; Wed, 21 Sep 2016 01:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=NurRWeHozCzhn/wbcbNo2OhZbPoJ5hemZLHyK1vC33o=; b=DF8BdjyWDzbGASO6lCjmIUsLuc0dLkrXk422sIwO5Y2mu/avrh63PONFcA38MFiE3+ Kb/ZhcVZAxsGt/KthKHtjukTORc5PCQf9j1k08CIVUilT8/7oqH0HxkW8muqJM+Wf3FD aVhnKCbPLUtXOtZOKCjOc63E5ixdGq2SWg8seFyceISWw3ZrkndhrZyt4gHq0tqecqiA wu62mUvOeljFZQVMxsR7/U8xgHQMeUO9wMxtDjaOUR3E+7f/whX2PxVGdJJNZlo36Uoc 8cbrJMchrKMU2fyruhBkSOPgn5tcwjlvt3sLGKrjbvrpN/qJEPm7xr7QJVYoHsmiS+gL oGSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=NurRWeHozCzhn/wbcbNo2OhZbPoJ5hemZLHyK1vC33o=; b=GfA9jbDMN+NxSXYuwr2pslHQwJuiBsUY6iZ64/makJcm+A8t1c+l/hm+MBcLkk0QBb AlnkbhI7/NKaOQF4F/tgGVRMoa2NY9GYgK8p0JtqdAsb4eLhl2BI+EEzFZmcIHDZTQ5p RDpj4NWmFwtS0QkEYlg0CLbf7CnWCoLI9H6v+EAJmml2EsHm9zUSOBwJW7u0zQjSaCL6 4RoiIu8w3qKH3Nij82dUHBniTUl8xdN+DKdKI3xeSD1F3sxD+a9IR1I/JLutUZrCg+wq fiUjjZLQyihVdzy4NhSFcNKHefxNp/8dp1I6vZHasxugg7qJZXaW2BynpR3m8U55Zzbr CUIw== X-Gm-Message-State: AE9vXwMNgyaLessRqlq728Zcga1gO4Zp0JXJrF7Wsnrqtjh78Nm46lUVV1tsG+d//gZiiQ== X-Received: by 10.25.91.84 with SMTP id p81mr14067170lfb.39.1474445036566; Wed, 21 Sep 2016 01:03:56 -0700 (PDT) Received: from [192.168.0.192] ([78.84.246.3]) by smtp.gmail.com with ESMTPSA id h62sm6550989ljh.39.2016.09.21.01.03.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Sep 2016 01:03:56 -0700 (PDT) To: freebsd-questions@freebsd.org From: Alnis Morics Subject: Nagios reports its own host as DOWN Message-ID: <7c549617-43df-e064-0ee6-5f4d7fcee9f6@gmail.com> Date: Wed, 21 Sep 2016 11:03:54 +0300 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2016 08:03:59 -0000 Hi, I installed nagios4-4.1.1_5,1 on a FreeBSD 10.3 jail. (It's my first time with Nagios) I managed the core to show up as working, and the system now lists its first host (the one it is installed on) -- as DOWN. Small wander, because the way it checks this is by pinging "localhost" (/sbin/ping -n -c 5 127.0.0.1 ), although ping is disabled in my jail (as per default), and its localhost address is changed to 127.0.0.3. How can I correct this checking? I found there is a script for checking FreeBSD jails (https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=1859&cf_id=24) but, again, I can't find any hint of how to use it or whether it can help me at all. Will I be able to check services on jails of other machines? Thanks for any advice, -Alnis