sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

File Formats | nma.targets.txt(4)

- NAME
- SYNOPSIS
- DESCRIPTION
- EXTENDED DESCRIPTION
- EXAMPLES
- ATTRIBUTES
- SEE ALSO

## NAME

> nma.targets.txt - configuration file for the Node Management Agent (NMA) SNMP trap targets.

## SYNOPSIS

> `nma.targets.txt`

## DESCRIPTION

> The `installDir/etc/opt/SUNWcgha/nma.targets.txt` file defines the targets to which the NMA sends SNMP traps. By default this file is located at `/etc/opt/SUNWcgha/nma.targets.txt`. Replace installDir with the root installation directory if the root installation directory is not `/`.

## EXTENDED DESCRIPTION

> An entry in the `nma.targets.txt` file uses the syntax:

> >     targetsEntry=targetIdentifier,domain,host/port,timeout,retry,\
> >     tagList,paramsIdentifier,persistency

> targetIdentifier

>   Unique ID of the target

> domain

>   The OID of the UDP or TCP domain

> host`/`port

>   The address of the target in the format:

>   >     hostname-or-IP-address/port-number

>   If you are using a UDP domain, then the format is:

>   >     hostname-or-IP-address"/"port number

> timeout

>   Timeout after which requests are resent

> retry

>   The number of request send retries

> tagList

>   The list of tags that identify the targets

> paramsIdentifier

>   ID of the SNMP parameter set to be used for communication

> persistency

>   Storage type. Choose `3` for non-volatile storage.

## EXAMPLES

> The follow example is the default `nma.targets.txt` file.

> Example 1. `nma.targets.txt`

> > >     ########################################################
> > >     # Please Refer to the [RFC2573] for information details
> > >     ########################################################
> > >     #
> > >     # targetsEntry=<targetIdentifier>,<domain>,\
> > >     # <host/port>,<timeout>,<retry>,\
> > >     # <tagList>,\
> > >     # <paramsIdentifier>,<persistency>
> > >     #    where :
> > >     #       <targetIdentifier> = Unique ID of the targets
> > >     #       <domain>           = Could be UDP or TCP (OID of the domain)
> > >     #       <host/port>        = Address of the target. If UDP domain,
> > >     #				   then the format is host"/"port
> > >     #       <timeout>          = Timeout after which requests are sent again
> > >     #       <retry>            = retry count number
> > >     #       <tagList>          = list of tags to allow the selection of the
> > >     #				   target
> > >     #       <paramsIdentifier> = Identifier of the SNMP parameter set to
> > >     #				   use to communicate with
> > >     #       <persistency>      = persistency type
> > >     #
> > >     # Target "localhost" wants to receive traps on port 8086 using the SNMP
> > >     # parameters V2
> > >     targetsEntry=managerV2,snmpUDPDomain,localhost/8086,10000,2,trap,snmpV2,3

## ATTRIBUTES

> See `attributes`(5) for descriptions of the following attributes:

> ATTRIBUTE TYPE | ATTRIBUTE VALUE
> --- | ---
> Architecture | SPARC
> Availability | SUNWnhxxx
> Interface Stability | Evolving

## SEE ALSO

> `nma.security`(4)`nma`(1m)

Netra HAS FS 2.1 | Go To Top | Last Changed September 2004

Company Info | Contact | Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.