NAME

SNMPTRAPD-SENDTEST - SNMP Trap Tests

SYNOPSIS

snmptrapd-sendtest [options] [host] [...]

DESCRIPTION

Sends sample SNMP traps. The trap format is provided based on the user supplied SNMP version (v1 or v2c). The user has control over the values for the variable bindings. The following varbinds are always sent. The user can configure the values with the options.

VARBIND OID              SNMP ASN.1 TYPE    DEFAULT
-----------              ---------------    -------
1.3.6.1.4.1.50000.1.3    INTEGER            1
1.3.6.1.4.1.50000.1.4    OCTET_STRING       String
1.3.6.1.4.1.50000.1.5    OBJECT_IDENTIFIER  1.2.3.4.5.6.7.8.9
1.3.6.1.4.1.50000.1.6    IPADDRESS          10.10.10.1
1.3.6.1.4.1.50000.1.7    COUNTER32          32323232
1.3.6.1.4.1.50000.1.8    GAUGE32            42424242
1.3.6.1.4.1.50000.1.9    TIMETICKS          [time()]
1.3.6.1.4.1.50000.1.10   OPAQUE             opaque data

OPTIONS

host           The host to send to.
               DEFAULT:  (or not specified) localhost.

-C #           SNMP COUNTER32 value.
--counter32    DEFAULT:  (or not specified) 32323232

-co <string>   SNMP community string.
--community    DEFAULT:  (or not specified) public

-g #           SNMP GAUGE32 value.
--gauge32      DEFAULT:  (or not specified) 42424242

-I <IP_ADDR>   SNMP IPADDRESS value.
--ip           DEFAULT:  (or not specified) 10.10.10.1

-in #          SNMP INTEGER value.
--integer      DEFAULT:  (or not specified) 1

-oi <OID>      SNMP OBJECT_IDENTIFIER value.
--oid          DEFAULT:  (or not specified) 1.2.3.4.5.6.7.8.9

-q <string>    SNMP OPAQUE value.
--opaque       DEFAULT:  (or not specified) opaque data

-s <string>    SNMP OCTET_STRING value.
--string       DEFAULT:  (or not specified) String

-t #           SNMP TIMETICKS value.
--timeticks    DEFAULT:  (or not specified) [time()]

-v #           SNMP Version (v1 or v2c).  Use '1' or '2'.
--version      DEFAULT:  (or not specified) 1

LICENSE

This software is released under the same terms as Perl itself. If you don't know what that means visit http://perl.com/.

AUTHOR

Copyright (C) Michael Vincent 2010

http://www.VinsWorld.com

All rights reserved