'\" te .TH "example_scalar_int: instantiates a few example scalars." 3 "6 Mar 2002" "net-snmp" \" -*- nroff -*- .ad l .nh .SH 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... .SS "Functions" .in +1c .ti -1c .RI "void \fBinit_scalar_int\fP (void)" .br .in -1c .SH "DETAILED DESCRIPTION" .PP This example merely creates some scalar registrations that allows some simple variables to be accessed via SNMP. .PP In a more realistic example, it is likely that these variables would also be manipulated in other ways outside of SNMP gets/sets. .PP 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): .PP snmpget localhost netSnmpExampleInteger.0 netSnmpExampleScalars = 42 .PP snmpset localhost netSnmpExampleInteger.0 = 1234 netSnmpExampleScalars = 1234 .PP snmpget localhost netSnmpExampleInteger.0 netSnmpExampleScalars = 1234 .\" Oracle has added the ARC stability level to this manual page .SH ATTRIBUTES See .BR attributes (5) for descriptions of the following attributes: .sp .TS box; cbp-1 | cbp-1 l | l . ATTRIBUTE TYPE ATTRIBUTE VALUE = Availability system/management/snmp/net-snmp/documentation = Stability Volatile .TE .PP .SH NOTES .\" Oracle has added source availability information to this manual page This software was built from source available at https://java.net/projects/solaris-userland. The original community source was downloaded from http://ftp.ntua.gr/mirror/net-snmp/OldFiles/net-snmp-5.4.x/5.4.1/net-snmp-5.4.1.tar.gz Further information about this software can be found on the open source community website at http://www.net-snmp.org/.