VCSAgGenSnmpTrap
void VCSAgGenSnmpTrap(int trap_num, const char *msg, VCSAgBool is_global)
This API is used to send a notification via SNMP and/or SMTP. The ClusterOutOfBand trap is used to send notification messages from the agent entry points.
Explanation of arguments to the function:
trap_num
|
The trap identifier. This number is appended to the agents trap oid to generate a unique trap oid for this event.
|
msg
|
The notification message to be sent.
|
is_global
|
A boolean value indicating whether or not the event for which the notification is being generated is local to the system where the agent is running.
|