1example_scalar_int: ienxsatmapnlteiL_aistbcerasalraayr_fFieunwntc:etxiiaonmnspstlaeMnatsnicuaaatlleasrsa.(f3e)w example scalars.(3)
2
3
4

NAME

6       example_scalar_int: instantiates a few example scalars. - This example
7       merely creates some scalar registrations that allows some simple
8       variables to be accessed via SNMP.  More...
9
10   Functions
11       void init_scalar_int (void)
12

DETAILED DESCRIPTION

14       This example merely creates some scalar registrations that allows some
15       simple variables to be accessed via SNMP.
16
17       In a more realistic example, it is likely that these variables would
18       also be manipulated in other ways outside of SNMP gets/sets.
19
20       If this module is compiled into an agent, you should be able to issue
21       snmp commands that look something like (authentication information not
22       shown in these commands):
23
24       snmpget localhost netSnmpExampleInteger.0 netSnmpExampleScalars = 42
25
26       snmpset localhost netSnmpExampleInteger.0 = 1234 netSnmpExampleScalars
27       = 1234
28
29       snmpget localhost netSnmpExampleInteger.0 netSnmpExampleScalars = 1234
30
31
32
33net-snmp            example_scalar6_iMnatr: 2i0n0s2tantiates a few example scalars.(3)
Impressum