Peter Taps wrote: > Folks, > > Does OpenSolaris have one central mechanism for storing info, warnings, and > errors? When I look at /var/log folder, I see a bunch of files besides > "messages." > > I need a way to consolidate, on a nightly basis, all the information, > warnings and errors that are generated at the system. This includes errors > from hardware, services, networking, etc. > > I would appreciate your help in understanding how I can achieve this. If > there are any code snippets out there, it would be even more appreciated.
"man syslogd" may help as a starting point, but I suspect the problem you have is much deeper. Many traditional UNIX system services log through syslog. But some write to files and others even write to the console directly. And third party applications write to even more places. Thus finding "all" of the information -- without reading the documentation for all of the applications you intend to monitor -- is just not possible. You'll find other important system logs over in /var/svc/log/ and still others are displayed by fmdump(1M), for what it's worth. You might want to search for one of the many third-party log monitoring programs. I can't say I've used these very much, but there are quite a few (some even free) that support OpenSolaris. Google knows. -- James Carlson 42.703N 71.076W <carls...@workingcode.com> _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code