[ Contents ] [ Index ]

Setting Up SNMP Traps for an HP-UX Host

  1. Create the file /var/opt/dothill/ssagent/sstrapd.conf using any standard text editor.

    This file must be created with a list of either system names or IP addresses (one per line) for the SNMP manager consoles. The file can contain blank lines and comment lines.

  2. Edit the file /sbin/init.d/ssagent using any standard text editor.

    Change the following line:

    # Look at environment variable from /etc/rc.config.d/ssagent to if we should start SNMP trap daemon sstrapd: if ["$SSTRAPD"=1]; then P trap damon sstrapd:

    to

    # Look at environment variable from /etc/rc.config.d/ssagent to if we should start SNMP trap daemon sstrapd: if ["$SSTRAPD"=0]; then P trap damon sstrapd:
    		

  3. Save the file after these edits.

    The sstrapd daemon starts at the next boot or can be started immediately by running the following command:

    /sbin/init.d/ssagent start

    This starts the sstrapd daemon as well as the other two daemons if they are not currently running. Only one instance of each daemon is running at this point, whether or not any daemons were previously running.

[ Contents ] [ Index ]