The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
syslog.log - hp-ux mhbd UNIX for Dummies Questions & Answers 4 02-12-2009 03:56 AM
syslog Hitori UNIX for Advanced & Expert Users 2 02-12-2008 05:54 PM
syslog csaunders SUN Solaris 13 08-29-2006 08:13 PM
syslog greg0320 UNIX for Dummies Questions & Answers 4 06-11-2004 02:26 PM
Who knows syslog? acqy UNIX for Dummies Questions & Answers 3 01-06-2004 05:56 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-16-2003
salhoub salhoub is offline
Registered User
  
 

Join Date: Nov 2002
Location: Saudi Arabia
Posts: 13
syslog.log (HP-UX)

How can I setup the syslog.log file ?
  #2 (permalink)  
Old 07-16-2003
thehoghunter thehoghunter is offline
Registered User
  
 

Join Date: Jan 2002
Location: Florida
Posts: 84
Read the man page for syslogd - it's explained rather well.

$ man syslogd

Some quick excerpts:
The syslogd command reads and logs messages into a set of files
described by the configuration file /etc/syslog.conf.

syslogd configures itself when it starts up and whenever it receives a hangup signal.


For example, the configuration file:

kern,mark.debug /dev/console
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root,eric,kridle
*.emerg *
*.emerg @admin

logs all kernel messages and 20 minute marks onto the system console, all mail system messages to /var/adm/syslog/mail.log, and all messages at info and above, except mail messages, to the file /var/adm/syslog/syslog.log. Messages at alert and above are logged to the console and to the users root, eric, and kridle if they are logged in. emerg messages are written to all logged-in users' terminals, and forwarded to the host admin.
  #3 (permalink)  
Old 07-17-2003
davidg's Avatar
davidg davidg is offline
Registered User
  
 

Join Date: Jul 2003
Location: Holland
Posts: 207
After you set up syslog.conf the way you like, I'dd strongly recommend to look at the tool logsurfer. I use it for our current HP config as well and it helped me out to find a hack-attempt, system diengs within a minute, etc.

You can find their homepage : http://www.cert.dfn.de/eng/logsurf/

If you want the pre-compiled and completely configured version just let me know by sending me a message or email. I have it already working on our HP-ux 11.00 systems.

Regs David
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:47 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0