syslog to monitor devices

Jerry McAllister jerrymc at msu.edu
Wed May 30 14:55:41 UTC 2007


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 at meijome.net] 
> Sent: Wednesday, May 30, 2007 8:15 AM
> To: grace Ingabire
> Cc: questions at FreeBSD.org
> Subject: Using syslog ( was Re: (no subject) )
> 
> On Tue, 29 May 2007 16:44:27 +0200
> "grace Ingabire" <ingabireg at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list