netsnmp_example_scalar_int(3) suse man page | unix.com

Man Page: netsnmp_example_scalar_int

Operating Environment: suse

Section: 3

example_scalar_int: instantiates a few example scalars.(3)   Library Functions Manual	example_scalar_int: instantiates a few example scalars.(3)

NAME
example_scalar_int: instantiates a few example scalars. - This example merely creates some scalar registrations that allows some simple variables to be accessed via SNMP. More... Functions void init_scalar_int (void)
DETAILED DESCRIPTION
This example merely creates some scalar registrations that allows some simple variables to be accessed via SNMP. In a more realistic example, it is likely that these variables would also be manipulated in other ways outside of SNMP gets/sets. If this module is compiled into an agent, you should be able to issue snmp commands that look something like (authentication information not shown in these commands): snmpget localhost netSnmpExampleInteger.0 netSnmpExampleScalars = 42 snmpset localhost netSnmpExampleInteger.0 = 1234 netSnmpExampleScalars = 1234 snmpget localhost netSnmpExampleInteger.0 netSnmpExampleScalars = 1234 net-snmp 6 Mar 2002 example_scalar_int: instantiates a few example scalars.(3)
Related Man Pages
snmpgetnext(1) - mojave
snmpgetnext(1) - redhat
snmpget(1) - debian
snmpget(1) - opensolaris
snmp_set_enum_print(3) - php
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Migrating to UNIX
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB