Sending SNMP traps based on PSL functions
Using PSL for sending SNMP traps allows you to control the following events:
- Under what circumstances SNMP traps are sent
- The format the SNMP trap uses
- Destination of the SNMP trap
BMC recommends using a PSL Notification command in the event catalog rather than a recovery action because it can be done generically for all parameters rather than adding a recovery action to each one.
This section tells you how you can use PSL to control how the PATROL SNMP Master Agent and the PATROL Agent interact with SNMP.
Overview of PSL functions for SNMP
The primary groups of PSL functions for SNMP are as follows:
- Listening for traps
- Sending traps
- Starting and stopping the SNMP subagent
- Getting and setting Management Information Base (MIB) variables
- Changing the registered SNMP manager list
PSL functions allow you to manage a number of processes, including starting and stopping the PATROL SNMP subagent and changing the list of registered SNMP managers.
Some of these PSL functions are briefly described in this section. Refer to the PSL Built-in Functions for detailed information about all PSL functions for SNMP.
- Set default community name for PSL SNMP functions
- Managing PSL SNMP built-in functions execution
- PSL SNMP built-in functions
- Sending SNMP traps
- Debugging PSL functions for SNMP
- Interpreting error messages from PSL functions