HP Systems Insight Manager Manual del usuario

Página 216

Advertising
background image

El siguiente texto de un archivo hosts ilustra varias sentencias. Las explicaciones, que empiezan
por el signo de número (#), no se visualizan en el archivo hosts.

# Title: Systems in database
# Sorted by: IP address
# Date: 28-Mar-00 2:29:31 PM
# Author: administrator

The system EngProliant uses all current defaults. There are no
additional comments.

16.26.176.92 EngProliant.compaq.com EngProliant #user comments

The system testServer in the following example defaults for TYPE.
The defaults for SNMP Timeouts and Retries were
restored for this system but only apply to testServer. The SNMP
write community string default was changed and only applies
to testServer.

#$IMXE: TYPE=Server
#$IMXE: SNMP_TIM=0 SNMP_RET=0 SNMP_MON=public
SNMP_CON=private
16.26.160.20 testServer.compaq.com testServer

All defaults in the following example for the system BldRtr1 are
the same as for testServer, but had to be specified because
they are not the global defaults. These changes apply only to
BldRtr1.

#$IMXE: TYPE=Router
#$IMXE: SNMP_TIM=0 SNMP_RET=0 SNMP_MON=public
SNMP_CON=private
16.26.160.23 BldRtr1.compaq.com BldRtr1

For the system BldRtr5, the TYPE and protocols used for discovery
were changed from the current defaults. Because the remaining
keyword entries are missing, the standard defaults
are applied for the SNMP timeouts, retries, and community strings.

#$IMXE: TYPE=Router
16.26.160.24 BldRtr5.compaq.com BldRtr5

For the system AcctServer, only the TYPE was changed from the
current defaults.

#$IMXE: TYPE=Server
16.26.176.36 AcctServer.compaq.com AcctServer #user comments

The global default for TYPE was changed from Unknown to Router.
All subsequent entries will be identified as routers until a TYPE
statement is used to specify another type or restore the default.

#$IMXE_DEFAULT: TYPE=Router
16.25.176.38 FloorRtr2a.compaq.com FloorRtr2a #user comments

The default for the next host entry was changed to management

216

Extensiones de archivos hosts

Advertising