HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
s
snmpd(1M) snmpd(1M)
The environment variables specific to the master agent snmpdm are as below:
Environment Variables
SNMP_LOG_SIZE Exporting this variable to >= 1MB restricts the size of the
snmp log file.
When the size grows beyond the value exported, the log file rolls over.
SR_SNMP_TEST_PORT
This variable can be exported to change the default port on which
snmpdm listens.
SR_TRAP_TEST_PORT
This variable can be exported to change the default port to which
snmpdm sends traps.
COLDSTART_TIMEOUT
Exporting this variable to any value between 1 and 600 seconds will con-
trol the behaviour of
snmpdm in sending the coldstart trap. The trap
will be sent after the expiry of the number of seconds specified or
mib2agt registering, whichever is earlier.
SR_LOG_DIR This variable can be exported to specify the directory where the log file
snmpd.log will be created.
SR_AGT_CONF_DIR
This variable can be exported to specify the directory in which the
configuration file
snmpd.conf is available.
International Code Set Support
Supports single-byte character code sets.
AUTHOR
snmpd was developed by HP, Massachusetts Institute of Technology and SNMP Research.
FILES
/usr/sbin/snmpd
/usr/sbin/snmpdm
/usr/sbin/mib2agt
/usr/sbin/hp_unixagt
/usr/sbin/ipv6agt
/usr/sbin/trapdestagt
/etc/SnmpAgent.d/snmpd.conf
/var/adm/snmpd.log
/var/opt/OV/share/snmp_mibs/
/sbin/SnmpAgtStart.d/
SEE ALSO
snmpd.conf(4).
RFC 1155, RFC 1157, RFC 1212, RFC 1213, RFC 1231, RFC 1398, RFC 2452 RFC 2454, RFC 2465, RFC
2466
HP-UX 11i Version 2: August 2003 − 7 − Hewlett-Packard Company Section 1M−−775