tfModifySysContact
Table of Contents >> SNMP Programmer's Reference
| #include <trapi.h> |
| int tfModifySysContact | (ttCharPtr sysContact); |
Function Description
This function lets the user modify MIB-II sysContact object instance. By definition, sysContact is a string containing the textual identification of the contact person for the managed node, together with information on how to contact the person. Its length must not exceed 255 bytes. The agent initializes it to the default value of the octet string tvSnmpSysContact, defined in trcfg.h.
Parameters
- sysContact
- Input parameter, an octet string value of sysContact MIB-II object..
Returns
- TM_ENOERROR
- Success.
- TM_ALLOCATION_ERROR
- Failure to allocate memory for the agent global variables.
- TM_SYSCONTACT_TOOLONG
- Failure, sysContact contains too many characters.
- TM_SYSCONTACT_NOT_PRINTABLE