cfgrmcsnmp
Purpose
Controls the ability of RMC to receive traps on Linux® hosts.
Syntax
cfgrmcsnmp [-u] [-h]
Description
The cfgrmcsnmp command sets up or uninstalls RMC's ability to receive traps on Linux hosts. This command checks the appropriate daemons and either creates the /usr/share/snmp/snmptrapd.conf file or appends to it.
The trap2rmc command is configured when the cfgrmcsnmp command has been run. The snmptrapd.conf file is installed or appended to in the /usr/share/snmp/ directory. This configuration file contains entries to call trap2rmc when traps are received. The installation script also restarts the snmptrapd daemon, so once the installation is complete, trap logging will be done automatically without the user needing to set anything up. However, if the /usr/share/snmp/snmptrapd.conf file exists, it will be saved as a backup file (/usr/share/snmp/snmptrapd.conf.orig) and the administrator will need to configure the two configuration files manually to get the desired results. If the UCD-SNMP daemon (snmptrapd) has been removed before installation begins, the installation will not try to install the UCD-SNMP package.
Flags
- -u
- Uninstalls RMC's ability to receive traps in the audit log.
- -h
- Writes this command's usage statement to standard output.
Standard output
When the -h flag is specified, this command's usage statement is written to standard output.
Files
- /usr/share/snmp/snmptrapd.conf
- Contains entries to call trap2rmc when traps are received
- /usr/share/snmp/snmptrapd.conf.orig
- Backup file for /usr/share/snmp/snmptrapd.conf
Implementation specifics
This command is part of the rsct.core-3.1.0.0-0.platform.rpm package for Linux, Solaris, and Windows, where platform is i386, ppc, ppc64, s390, or x86_64.
Location
- /opt/rsct/install/bin/cfgrmcsnmp