[ Contents ] [ Index
]
Setting Up SNMP Traps for an
HP-UX Host
For an HP-UX host, you can generate SNMP version
1 traps through an interface to an SNMP trap daemon called sstrapd.
By default, this daemon does not start automatically during the boot process.
The following steps describe how to enable trap processing.
- 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.
- 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:
- 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
]
|