Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2007 10:51:20 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        grace Ingabire <ingabireg@terracom.rw>
Cc:        questions@freebsd.org, 'Norberto Meijome' <freebsd@meijome.net>
Subject:   Re: syslog to monitor devices
Message-ID:  <20070530145120.GC33564@gizmo.acns.msu.edu>
In-Reply-To: <20070530082324.85B7F13C45E@mx1.freebsd.org>
References:  <20070530161437.1eedd9cc@localhost> <20070530082324.85B7F13C45E@mx1.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <ingabireg@terracom.rw> 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"



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