From owner-freebsd-questions@FreeBSD.ORG Mon Oct 17 13:54:01 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0D0416A41F for ; Mon, 17 Oct 2005 13:54:01 +0000 (GMT) (envelope-from bob.middaugh@comcast.net) Received: from xmail1.state.nj.us (xmail1.state.nj.us [199.20.71.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F82143D48 for ; Mon, 17 Oct 2005 13:54:01 +0000 (GMT) (envelope-from bob.middaugh@comcast.net) Received: from mail1av.state.nj.us (mail1av.state.nj.us [10.33.20.40]) by xmail1.state.nj.us (8.12.10+Sun/8.12.10) with SMTP id j9HDrxbf022583 for ; Mon, 17 Oct 2005 09:54:00 -0400 (EDT) Received: from revere.dol.state.nj.us(199.20.109.30) by mail1av.state.nj.us via smtp id 15ca_8682c164_3f15_11da_9c52_00304823f3f8; Mon, 17 Oct 2005 09:54:24 -0400 Received: from W00DITD890NF61 ([10.6.172.74]) by revere.dol.state.nj.us (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IOI0096BC0TIW@revere.dol.state.nj.us> for freebsd-questions@freebsd.org; Mon, 17 Oct 2005 09:55:41 -0400 (EDT) Date: Mon, 17 Oct 2005 09:54:28 -0400 From: Bob Middaugh In-reply-to: <20051016184409.54186.qmail@web34607.mail.mud.yahoo.com> To: "'Deepak Naidu'" , freebsd-questions@freebsd.org Message-id: <0IOI0096CC0TIW@revere.dol.state.nj.us> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Thread-index: AcXSgaWMUJ7dlMV5RI6FfMps6yRvogAlzOAg Cc: Subject: RE: Nagios Client on FreeBSD 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 13:54:01 -0000 > Deepak Naidu wrote: > > Hi, > > I wanted to install nagios client on FreeBSD 5.4. > > I want to monitor my SMTP (25) and disk usage etc to be > monitored from > > Nagios server installed on Linux box. > > > > How do I do... In linux there is Nagios-Client.rpm. > > What is the alternative on FreeBSD > > > > I dont want the server, I just wnat to monito my FreeBSD 5.4 host. > > > > Thanx for any help.. > > > > Cheers, > > Deepak Naidu. > > On FreeBSD running nagios server, (dunno about Linux) From /usr/local/libexec/nagios you'll see the plugins, or install them from ports if you don't have them already. For disk is check_disk or check_local_disk, I don't have it in front of me right now. from there you can do in your config file.: check_command check_local_disk check_command check_tcp!25 <--will monitor your SMTP service OR check_command check_SMTP Read the Nagios docs for syntax on choosing a disk slice and setting the alert threshold. Good Luck, Bob > > > > > > > > Linux your Life, Don't Window it [[]] > > > > { All for the best } > > > >