Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2005 09:54:28 -0400
From:      Bob Middaugh <bob.middaugh@comcast.net>
To:        "'Deepak Naidu'" <deepak_nai@yahoo.com>, freebsd-questions@freebsd.org
Subject:   RE: Nagios Client on FreeBSD 5.4
Message-ID:  <0IOI0096CC0TIW@revere.dol.state.nj.us>
In-Reply-To: <20051016184409.54186.qmail@web34607.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 }
> > 
> > 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0IOI0096CC0TIW>