
8.7 Le variabili system MIB-II
Il MIB (Management Information Base) è il
database principale per le applicazioni di rete
SNMP. Uno dei sottogruppi più importanti del
nodo MIB-II è system (vedi Fig. 8.7.1). Le tre
variabili sysContact, sysName e sysLocation
nel gruppo system sono obbligatorie per tutti
gli agenti.
Segue la definizione delle 3 variabili del MIB-II system gestite dal
WebGate,:
sysContact OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-write
Status ---
DESCRIPTION “La persona responsibile del nodo e
informazioni quali il numero di telefono”
::={System 4}
sysName OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-write
Status ---
DESCRIPTION “Nome Agent”
::={System 5}
sysLocation OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-write
Status ---
DESCRIPTION
“La posizione del dispositivo”
::={System 6}
AVVERTENZA
La lunghezza massima di ogni stringa SNMP è:
Lungh. max variabili system nel WebGate
Variabile system
Lungh. max
SysName
39 caratteri
sysContact, sysLocation
79 caratteri
Tab. 8.7.1
Inoltre, la stringa deve essere composta esclusivamente da caratteri
alfanumerici (0…9, A…Z e a…z). Non sono permessi spazi o segni di
punteggiatura.
8.7 System MIB-II variables
MIB = Management Information Base is
the main informations database for an
SNMP network application. One of the
most important groups under MIB-II node,
is the system group (see Fig. 8.7.1). The
three variables sysContact, sysName and
sysLocation belonging to the system
group are mandatory for any agent.
The definition of the 3 MIB-II system variables managed by the
WebGate is:
sysContact OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-write
Status ---
DESCRIPTION “A person responsible for the node, along
with information such as phone number”
::={System 4}
sysName OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-write
Status ---
DESCRIPTION “Agent name”
::={System 5}
sysLocation OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-write
Status ---
DESCRIPTION
“The physical location of the device”
::={System 6}
WARNING
The maximum SNMP size for each string is:
Max size for WebGate system variables
System variable
Max size
sysName
39 characters
sysContact, sysLocation
79 characters
Tab. 8.7.1
In addition, the string must be a string composed from alphanumeric
characters only (0…9, A…Z and a…z). No spacing or punctuation
characters are allowed.
46
Manuale WebGate - cod. +030220230 rel. 1.0 - 16.09.2003
System ::= iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).1
SysVariabiles = sysDescr
::= {system 1}
sysObjectID
::= {system 2}
sysUpTime
::= {system 3}
sysContact
::= {system 4}
sysName
::= {system 5}
sysLocation
::= {system 6}
sysServices
::= {system 7}
System (1)
sysVariables
Fig. 8.7.1