Oracle Fusion Middleware Administration Guide for Oracle Directory Server Enterprise Edition

ProcedureTo Configure HP-UX to Accept syslog alerts

  1. Add the appropriate facility to the syslog configuration file.

    For example, to store all alerts using the USER facility, add the following line to /etc/syslog.conf:       /var/adm/info

    Here /var/adm/info is an example local directory in which messages will be stored. Ensure that /var/adm/info exists before continuing.

  2. Restart the syslogd daemon.

    $ /sbin/init.d/syslogd stop | start
  3. Verify that messages are logged in syslog.

    $ logger -p "Test message"
    $ cat /var/adm/info
     Jun 19 17:18:38 host user: [ID 12345] Test message