syslog.log (HP-UX)


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users syslog.log (HP-UX)
# 1  
Old 07-16-2003
syslog.log (HP-UX)

How can I setup the syslog.log file ?
# 2  
Old 07-16-2003
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  
Old 07-17-2003
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Generate message in syslog.log

Dear Concern, Is there any command to generate message in /var/adm/syslog/syslog.log file in HP-UX. With Best Regards, Kauser (2 Replies)
Discussion started by: makauser
2 Replies

2. AIX

slp_srvreg filling up syslog.log

Hello everyone, I'm having an issue with one server running AIX 6.1. The syslog.log file has been filling up with entries from slp_srvreg and reaching critical disk space. I've been googling and reading and I've found that the logging for slp_srvreg could be customized but I haven't found how. ... (0 Replies)
Discussion started by: designbc
0 Replies

3. SuSE

syslog-ng - dont log specific entries

Hi @ all, I´ve a short question, perhaps somebody could help me ... How can I configure syslog-ng either not to log specific entries in messages or write them into another file ... Here´re my extract from syslog-ng.conf: ... filter f_imap { match(imap); }; ... destination... (5 Replies)
Discussion started by: jackcracker
5 Replies

4. Linux

How to send from Tomcat log (catelina.out) to Syslog?

Dear All:) We want to send log message from Tomcat Log to Syslog. So we have configured as follows: Our environment: Tomcat 5.5 with CentOS 5.6 Final version (32Bit) log4j.properties file location: /usr/share/tomcat5/common/classes log4j-1.2.16.jar and commons-logging-1.1.1.jar... (2 Replies)
Discussion started by: ziosnim
2 Replies

5. Red Hat

syslog configuration and log lvl

Hello I was getting hammered in /var/log/messages from snmpd becouse it was running a jira which was sending email everytime someone updated a case or made any changes. Therefor I decided to turn down the loglvl of snmpd, so what I did was add snmpd.notice; to # cat /etc/syslog.conf # Log... (2 Replies)
Discussion started by: chipmunken
2 Replies

6. AIX

Diverting an app log to the syslog

My windows developers want to scan an Oracle log live; samba won't give them what they want. They are trying to scan logs with Microsoft Operations Monitoring. I set up syslog to export to the external windows server and that is working, but is there a way to send the updates to the oracle log to... (3 Replies)
Discussion started by: tommysalami
3 Replies

7. Solaris

/var/log/syslog

Hi, Solaris : 9 I noticed /var/log/syslog message file growing fast in abnormal way since 4 or 5 days. due to this my root / filesystem is getting filled with 100% . root $ls -ltr total 4683730 -rwxrwxrwx 1 root sys 0 Oct 17 2005 authlog -rwxrwxrwx 1 root ... (17 Replies)
Discussion started by: maooah
17 Replies

8. UNIX for Dummies Questions & Answers

syslog.log - hp-ux

Hi, Following error message apeared in the syslog.log file of our hps2_dc server. Mar 10 17:22:12 hps2_dc vmunix: 0/4/0/0.1.3.255.14.1.0 sctl Mar 10 17:22:31 hps2_dc vmunix: 0/4/0/0: Unable to access previously accessed device at nport ID 0x10300. Could it be a hardware problem related... (4 Replies)
Discussion started by: mhbd
4 Replies

9. UNIX for Advanced & Expert Users

writing the log file into syslog

Hi, we are trying to enable auditing for few oracle 9i database. and right now it writies into adump directory. As adump can be read/write by oracle user so could it be possible to write into syslog while oracle keeps writing to adump . thanks in advance. Pk (2 Replies)
Discussion started by: p4cldba
2 Replies

10. UNIX for Advanced & Expert Users

syslog log file sizes

I am logging the messages from a router network and the log files are getting enormous is there any way to limit the size of the log file by either wrapping it or preferably creating a new one and renaiming the old. Cheers mike (4 Replies)
Discussion started by: mscomms
4 Replies
Login or Register to Ask a Question