Compaq AAR04BCTE - Manual

Compaq AAR04BCTE

Compaq AAR04BCTE – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

1 Page 1
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Page 21
22 Page 22
23 Page 23
24 Page 24
25 Page 25
26 Page 26
27 Page 27
28 Page 28
29 Page 29
30 Page 30
31 Page 31
32 Page 32
33 Page 33
34 Page 34
35 Page 35
36 Page 36
37 Page 37
38 Page 38
39 Page 39
40 Page 40
41 Page 41
42 Page 42
43 Page 43
44 Page 44
45 Page 45
46 Page 46
47 Page 47
48 Page 48
49 Page 49
50 Page 50
51 Page 51
52 Page 52
53 Page 53
54 Page 54
55 Page 55
56 Page 56
57 Page 57
58 Page 58
59 Page 59
60 Page 60
61 Page 61
62 Page 62
63 Page 63
64 Page 64
65 Page 65
66 Page 66
67 Page 67
68 Page 68
69 Page 69
70 Page 70
71 Page 71
72 Page 72
73 Page 73
74 Page 74
75 Page 75
76 Page 76
77 Page 77
78 Page 78
79 Page 79
80 Page 80
81 Page 81
82 Page 82
83 Page 83
84 Page 84
85 Page 85
86 Page 86
87 Page 87
88 Page 88
89 Page 89
90 Page 90
91 Page 91
92 Page 92
93 Page 93
94 Page 94
95 Page 95
96 Page 96
97 Page 97
98 Page 98
99 Page 99
100 Page 100
101 Page 101
102 Page 102
103 Page 103
104 Page 104
105 Page 105
106 Page 106
107 Page 107
108 Page 108
109 Page 109
110 Page 110
111 Page 111
112 Page 112
113 Page 113
114 Page 114
115 Page 115
116 Page 116
117 Page 117
118 Page 118
119 Page 119
120 Page 120
121 Page 121
122 Page 122
123 Page 123
124 Page 124
125 Page 125
126 Page 126
127 Page 127
128 Page 128
129 Page 129
130 Page 130
131 Page 131
132 Page 132
Page: / 132

Table of Contents:

  • Page 3 – Contents; Preface; vii; Overview; iii
  • Page 4 – Support Routines; iv
  • Page 5 – viii
  • Page 7 – Intended Audience; This manual contains the following chapters:
  • Page 8 – Related Documents; Table 1 TCP/IP Services Documentation; Manual; This reference card contains inforomation about commonly
  • Page 9 – Reader’s Comments; Internet; How to Order Additional Documentation; Compaq TCP/IP Services for OpenVMS Alpha; ix
  • Page 10 – bold text; italic text
  • Page 11 – Monospace text; numbers
  • Page 13 – Overview; The files useful in developing your own subagent (Section 1.4); SNMP Architecture; Figure 1–1 illustrates the SNMP architecture.
  • Page 14 – Figure 1–1 SNMP Architecture; The SNMP environment consists of the following elements:
  • Page 15 – Figure 1–2 eSNMP Data Flow; The client component is not provided with TCP/IP Services.
  • Page 16 – File; MIB II subagent image.
  • Page 17 – Command procedure; Writing an eSNMP Subagent
  • Page 18 – Table 1–2 Files for Building a Subagent; Interpreter for MIB converter.; awk; shell script that takes a MIB
  • Page 19 – VARBIND
  • Page 21 – For More Information
  • Page 23 – MIBs Provided with TCP/IP Services; Overview of the Host Resources MIB; Defining Host Resources MIB Implemented Objects; Table 2–1 Host Resources MIB Objects; Object Name; hrSystemUptime; MIBs Provided with TCP/IP Services 2–1
  • Page 25 – SNMP; set; MIBs Provided with TCP/IP Services 2–3
  • Page 26 – Note; Code; Any other OpenVMS status.; –4 MIBs Provided with TCP/IP Services
  • Page 27 – Overview of MIB II; MIBs Provided with TCP/IP Services 2–5
  • Page 28 – group; Restrictions to MIB II Implementation; –6 MIBs Provided with TCP/IP Services
  • Page 29 – request on the; MIBs Provided with TCP/IP Services 2–7
  • Page 31 – Creating a Subagent Using the eSNMP API; Including the routines and building the subagent (Section 3.4); Creating a MIB Specification; Defining the structure of a particular MIB; Creating a Subagent Using the eSNMP API 3–1
  • Page 32 – Assigning Object Identification Codes; Each OID has two parts:; Subidentifier 1 values range from 0 to 2, inclusive.; –2 Creating a Subagent Using the eSNMP API
  • Page 33 – Figure 3–1 MIB II in SMI Tree Structure; Creating a Subagent Using the eSNMP API 3–3
  • Page 34 – –4 Creating a Subagent Using the eSNMP API
  • Page 35 – Creating a MIB Source File; script, which runs on; Processing the Input File with the MIB Compiler; snmpi; and; mosy; The syntax for the MIBCOMP command is as follows:; Creating a Subagent Using the eSNMP API 3–5
  • Page 36 – subtree; –6 Creating a Subagent Using the eSNMP API
  • Page 37 – Creating a Subagent Using the eSNMP API 3–7
  • Page 38 – Declaration Section; routine to; Index Definitions Section; type; –8 Creating a Subagent Using the eSNMP API
  • Page 39 – OID; Method Routine Prototypes Section; Get; operations. If the group contains any writable variables,; Set; An array of integers representing the OIDs for each MIB variable; Array of Integers Section; Creating a Subagent Using the eSNMP API 3–9
  • Page 40 – Array of OBJECT Structures Section; –10 Creating a Subagent Using the eSNMP API
  • Page 41 – Initialized Subtree Structure Section; Description; definitions found in; . These are provided as a convenience and are; Including the Routines and Building the Subagent; To produce executable subagent code, follow these steps:; Creating a Subagent Using the eSNMP API 3–11
  • Page 42 – Including Extension Subagents in the Startup and Shutdown; File Name
  • Page 43 – Edit the example lines to:; Creating a Subagent Using the eSNMP API 3–13
  • Page 45 – Using the SNMP Utilities; Using the MIB Browser; Table 4–1 snmp_request Command Parameters; Parameter; agent; Using the SNMP Utilities 4–1
  • Page 46 – PDU type to send. Can be one of the following SNMP requests:; variable; Data type of the value. This parameter can be specified for; value; –2 Using the SNMP Utilities
  • Page 47 – Table 4–2 Flags for the snmp_request Command; Flag; You cannot use the; Using the SNMP Utilities 4–3
  • Page 49 – GetNext; Table 4–3 Data Types for the snmp_request and snmp_trapsnd Commands; Data Type; Using the SNMP Utilities 4–5
  • Page 50 – location; Examples; ifDescr; –6 Using the SNMP Utilities
  • Page 51 – Loopback Port; Using the SNMP Utilities 4–7
  • Page 52 – Using the Trap Sender and Trap Receiver Programs; –8 Using the SNMP Utilities
  • Page 53 – snmpTrapOID; Using the SNMP Utilities 4–9
  • Page 54 – Table 4–4 Parameters for the snmp_trapsnd Command; enterprise; Table 4–5 describes the; Table 4–5 Flags for the snmp_trapsnd Command
  • Page 55 – or; localhost; public; mynode; special; Using the SNMP Utilities 4–11
  • Page 56 – Entering Commands for the Trap Receiver Program; To run the trap receiver program, do the following:; Table 4–6 snmp_traprcv Command Flags; Displays a hexadecimal and formatted dump of the received packet.; –12 Using the SNMP Utilities
  • Page 57 – Using the SNMP Utilities 4–13
  • Page 59 – eSNMP API Routines; Interface Routines; Table 5–1 Interface Routines; Routine; sysORTable; eSNMP API Routines 5–1
  • Page 60 – socket; –2 eSNMP API Routines
  • Page 61 – libesnmp; timeout; OIDs; eSNMP API Routines 5–3
  • Page 62 – –4 eSNMP API Routines
  • Page 63 – eSNMP API Routines 5–5
  • Page 64 – The; Example; –6 eSNMP API Routines
  • Page 65 – routine offers extensions to the; Format; reg; Field Name; priority; eSNMP API Routines 5–7
  • Page 66 – options; –8 eSNMP API Routines
  • Page 67 – eSNMP API Routines 5–9
  • Page 68 – initialize the ESNMP_REG structure; –10 eSNMP API Routines
  • Page 69 – A pointer to the ESNMP_REG structure that was used when the; eSNMP API Routines 5–11
  • Page 70 – –12 eSNMP API Routines
  • Page 71 – Removes a subagent’s capabilities from the master agent’s; sysORID; object in the; for the; eSNMP API Routines 5–13
  • Page 72 – OPEN; –14 eSNMP API Routines
  • Page 73 – Return Values; The request was sent.; eSNMP API Routines 5–15
  • Page 74 – vb; –16 eSNMP API Routines
  • Page 75 – eSNMP API Routines 5–17
  • Page 76 – timestamp; –18 eSNMP API Routines
  • Page 77 – eSNMP API Routines 5–19
  • Page 78 – method; action; only. This value indicates; GetBulk; varbind; instance2oid; –20 eSNMP API Routines
  • Page 79 – object; oid2instance; eSNMP API Routines 5–21
  • Page 80 – system; in; –22 eSNMP API Routines
  • Page 81 – row; eSNMP API Routines 5–23
  • Page 82 – –24 eSNMP API Routines
  • Page 83 – eSNMP API Routines 5–25
  • Page 84 – Method Routine Applications Programming; –26 eSNMP API Routines
  • Page 85 – instance2OID; These routines make a copy of the data you specify. The; function; eSNMP API Routines 5–27
  • Page 86 – –28 eSNMP API Routines
  • Page 87 – timeticks; eSNMP API Routines 5–29
  • Page 89 – OBJECT; IpAddress; eSNMP API Routines 5–31
  • Page 90 – –32 eSNMP API Routines
  • Page 91 – malloc; command to allocate your; obj; The value to be inserted into the VARBIND structure.; The routine completed successfully.; eSNMP API Routines 5–33
  • Page 92 – oid; –34 eSNMP API Routines
  • Page 93 – ptr; eSNMP API Routines 5–35
  • Page 94 – –36 eSNMP API Routines
  • Page 95 – Loads a counter64 value into the VARBIND structure.; See the example for the; No error was generated.; eSNMP API Routines 5–37
  • Page 96 – str2oid; –38 eSNMP API Routines
  • Page 97 – sprintoid; Converts an; An; can have up to 128 elements. A full-sized; can require a large buffer.; eSNMP API Routines 5–39
  • Page 98 – new; len; instance; –40 eSNMP API Routines
  • Page 99 – eSNMP API Routines 5–41
  • Page 100 – –42 eSNMP API Routines
  • Page 101 – eSNMP API Routines 5–43
  • Page 102 – inst2ip; –44 eSNMP API Routines
  • Page 103 – eSNMP API Routines 5–45
  • Page 104 – n is a single value integer.; routine, passing it a 1 for the carry; –46 eSNMP API Routines
  • Page 105 – eSNMP API Routines 5–47
  • Page 106 – OID q; –48 eSNMP API Routines
  • Page 107 – A pointer to the OID structure that is to receive the copy.; A pointer to the OID structure where the data is to be obtained.; eSNMP API Routines 5–49
  • Page 108 – field and the NELEM structure.; –50 eSNMP API Routines
  • Page 109 – Duplicates a buffer in a dynamically allocated space.; str; A pointer to the buffer to be duplicated.; The number of bytes to be copied.; Null; eSNMP API Routines 5–51
  • Page 110 – mem2oct; –52 eSNMP API Routines
  • Page 111 – eSNMP API Routines 5–53
  • Page 112 – –54 eSNMP API Routines
  • Page 113 – eSNMP API Routines 5–55
  • Page 114 – This routine performs a; –56 eSNMP API Routines
  • Page 115 – stat; Level; ERROR; null; eSNMP API Routines 5–57
  • Page 116 – –58 eSNMP API Routines
  • Page 117 – printf; level is one of the following:; eSNMP API Routines 5–59
  • Page 118 – TRACE; sent to the specified file.; –60 eSNMP API Routines
  • Page 119 – progname; eSNMP API Routines 5–61
  • Page 120 – prog; The program name as taken from; –62 eSNMP API Routines
  • Page 121 – routine has been called. You can; eSNMP API Routines 5–63
  • Page 122 – The full file specification for the subagent.; –64 eSNMP API Routines
  • Page 123 – eSNMP API Routines 5–65
  • Page 125 – Troubleshooting eSNMP Problems; This chapter describes:; Modifying the Subagent Error Limit; call repeatedly returns a -1 error value. (Note that standard SNMP; Modifying the Subagent Timeout; Troubleshooting eSNMP Problems 6–1
  • Page 126 – Output redirected from SYS$ERROR is logged to the following files:; –2 Troubleshooting eSNMP Problems
  • Page 127 – WARNING (logs warning and error messages); Troubleshooting eSNMP Problems 6–3
  • Page 129 – Index; Index–1
  • Page 130 – Index–2
  • Page 131 – Index–3
Loading the manual

Compaq TCP/IP Services for
OpenVMS

SNMP Programming and
Reference

Order Number: AA–R04BC–TE

January 2001

Revision/Update Information:

This manual supersedes the DIGITAL

TCP/IP Services for OpenVMS eSNMP
Programming and Reference
, Version
5.0.

Software Version:

Compaq TCP/IP Services for OpenVMS
Version 5.1

Operating Systems:

OpenVMS Alpha Versions 7.1, 7.2-1
OpenVMS VAX Versions 7.1, 7.2

Compaq Computer Corporation
Houston, Texas

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Summary

Page 3 - Contents; Preface; vii; Overview; iii

Contents Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii 1 Overview 1.1 SNMP Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–1 1.2 Request Handling . . . . . . . . ....

Page 4 - Support Routines; iv

4 Using the SNMP Utilities 4.1 Using the MIB Browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–1 4.1.1 MIB Browser Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–1 4.1.2 MIB Browser Flags . . . . . . . . . . . . . . . . . . . ...

Page 5 - viii

cmp_oid_prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–48 clone_oid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–49 free_oid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Other Compaq Models

All Compaq Other