From owner-freebsd-questions@FreeBSD.ORG Wed May 30 14:55:41 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CD8C16A421 for ; Wed, 30 May 2007 14:55:41 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id CC08B13C44C for ; Wed, 30 May 2007 14:55:40 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l4UEpMCa033709; Wed, 30 May 2007 10:51:22 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l4UEpKRF033708; Wed, 30 May 2007 10:51:20 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 30 May 2007 10:51:20 -0400 From: Jerry McAllister To: grace Ingabire Message-ID: <20070530145120.GC33564@gizmo.acns.msu.edu> References: <20070530161437.1eedd9cc@localhost> <20070530082324.85B7F13C45E@mx1.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070530082324.85B7F13C45E@mx1.freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: questions@freebsd.org, 'Norberto Meijome' Subject: Re: syslog to monitor devices 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: Wed, 30 May 2007 14:55:41 -0000 On Wed, May 30, 2007 at 10:22:09AM +0200, grace Ingabire wrote: > Thanks for your quick reply. > Yes, I have seen that file in etc/syslog.conf. > I want to monitor some of my devices, to know exactly who has log in, who is > doing what on my system... > Can you advise me a script or any tool to examine the log files as I want to > consider this machine as a server? OK, first I will just note that syslog does not actually do the monitoring. It is a utility that receives log messages from other programs and puts them in log files and keeps track of those log files and rotates them according to schedules you set up, etc. You do then, need routines that will check the things you are interested in and if you want to put them in log files, then make those routines smart enough to post messages to syslog. I will let others advise you on specific way of monitoring different parts of the system and searching log files. ////jerry > > Thanks > > -----Original Message----- > From: Norberto Meijome [mailto:freebsd@meijome.net] > Sent: Wednesday, May 30, 2007 8:15 AM > To: grace Ingabire > Cc: questions@FreeBSD.org > Subject: Using syslog ( was Re: (no subject) ) > > On Tue, 29 May 2007 16:44:27 +0200 > "grace Ingabire" wrote: > > Hi Grace, > please use an appropiate subject when sending to the list. > > > I have installed and configured freeBSD 6.1 and have seen the > > configuration of the syslog in /usr/src/libexec/bootpd. > > hmm.. why are you using that file? > > /etc/syslog.conf is the file syslog will read. > > > > > I would like to monitor my system using SYSLOG. > > syslog is installed and runs by default, using /etc/syslog.conf as its > configuration file. Is there anything in particular you want to do with > this? > > B > > _________________________ > {Beto|Norberto|Numard} Meijome > > "I've dirtied my hands writing poetry, for the sake of seduction; that is, > for > the sake of a useful cause." Dostoevsky > > I speak for myself, not my employer. Contents may be hot. Slippery when wet. > Reading disclaimers makes you go blind. Writing them is worse. You have been > Warned. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"