[ Contents ] [ Index ]

Setting Up SNMP Traps for a Linux Host

For a Linux 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.

  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 /etc/init.d/ssagent and remove the comment marks from the SNMP-related start section.

    These lines are marked by an initial double hash mark (##).

  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:

    # /etc/init.d/ssagent uptrap

This starts the sstrapd daemon as well as the other two SANscape 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 ]