Man Page: netsnmp_example_scalar_int
Operating Environment: debian
Section: 3snmp
example_scalar_int: instantiates a few example scalars.(3snmp) example_scalar_int: instantiates a few example scalars.(3snmp)NAMEexample_scalar_int - 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 DESCRIPTIONThis 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.(3snmp)
| Related Man Pages |
|---|
| snmpget(1) - mojave |
| netsnmp_iterator_info_s(3snmp) - debian |
| send_easy_trap(3snmp) - debian |
| send_trap_vars(3snmp) - debian |
| snmpget(1) - xfree86 |
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| Installing Dash Shell on OS X Lion |
| Is UNIX an open source OS ? |
| Introduction |
| My first PERL incarnation... Audio Oscillograph |