SNMP Subagent Programmer's Guide
Sample Files
2-2 119728—SNMP Subagent Programmer’s Guide
Programming Tutorials
File Names
Table 2-1 identifies the files associated with each sample program.
Using the Sample Files
The easiest way to get started with the Subagent Toolkit is to create executable
subagents from the sample files and interact with them from an SNMP manager. The
steps in this process are simple:
1. Log onto the NonStop system on which the sample files are installed:
LOGON SNMP.USER1
Table 2-1. Sample Program Files
Sample Program File Description File Name
Hello World C source code
MIB definition
TACL routine
helloc
hellosmi
hellom
Nowaited Hello World C source code
MIB definition
TACL routine
hellonnwc
hellosmi
hellonwm
Fault-Tolerant Hello World C source code
MIB definition
TACL routine
helloftc
hellosmi
helloftm
Static Directory C source code
MIB definition
TACL routine
fixedlsc
dirC
dirH
fxdlssmi
fixedlsm
Dynamic Directory C source code
MIB definition
TACL routine
dynamlsc
dirC
dirH
dynamsmi
dynamlsm
Indexed Trap Generator C source code
MIB definition
TACL routine
tbltrapc
tbltrsmi
tbltrapm
System Time Manager C source code
MIB definition
TACL routine
systimec
accessfc
systmsmi
systimem
Security Checker C source code
MIB definition
TACL routine
helloscc
authentc
securitc
hloscsmi
helloscm