ups add

Configures the Oracle FS System to receive SNMP traps that are sent by SNMP-enabled UPS devices.

SYNOPSIS

ups ‑add 
   ‑name ups‑name
   ‑ip ip‑address
   ‑community community

   [{‑sessionKey | ‑u admin‑user ‑oracleFS oracle‑fs‑system}]
   [{‑outputformat | ‑o} { text | xml }]
   [{‑timeout timeout‑in‑seconds | ‑verify | ‑usage | ‑example | ‑help}] 

DESCRIPTION

Before the Oracle FS System can receive SNMP traps, it must be configured as an SNMP trap host. Issue the snmp_host ‑add command to create an SNMP trap host entry for the Oracle FS System. Provide the following information:
Name
Provide a name to identify the Oracle FS System as an SNMP trap host that receives UPS traps. Example: UPS_trap_host.
Public IP address
Enter the public IP address for the Oracle FS System.
Community
Enter the unique community string that the UPS device vendor provides.
Trap Port
Enter port 162 for SNMP trap hosts.

After creating an SNMP trap host entry for the Oracle FS System, run the ups ‑add command to configure the Oracle FS System to receive SNMP traps from the specified UPS device. Be sure to specify the same community string that you specified when you defined the Oracle FS System as an SNMP trap host.

Only administrators with primary administrator or admin1 roles are authorized to run this command.

Note: Only administrators with primary administrator or admin1 roles are authorized to run the ups add command.

OPTIONS

name
Specifies the name of the UPS that you are adding to the Oracle FS System. The name that you provide is used to create the fully qualified name (FQN) after you power up the UPS and the Oracle FS System discovers it. Use double quotation marks around names containing spaces or dashes. The following characters are invalid in a UPS name:
  • Non-printable characters, including ASCII 0 through 31, decimal

  • / (slash) and \ (backslash)

  • . (dot) and .. (dot dot)

  • Tabs

The Oracle FS System removes leading spaces and trailing spaces. Names are case sensitive.
ip

Specifies the IP address of a UPS device that the Oracle FS System is monitoring on the management network.

community

Identifies the community string for the Oracle FS System to authenticate the SNMP traps that are sent by UPS devices. Use the unique community string that is provided by the UPS vendor. The string you specify must match the community string that you specify when you configure the Oracle FS System to be an SNMP trap host.

EXAMPLE

Task

Configure the Oracle FS System to receive SNMP traps from a battery-backed power source.

Parameters
  • The name of the Oracle FS System as an SNMP trap host: UPS_trap_host

  • The name of the Oracle FS System as an SNMP query host: UPS_query_host

  • The shared IP address for the Oracle FS System: 10.50.4.50

  • The SNMP host port number for trap hosts: 162

  • The SNMP host port number for query hosts: 161

  • The name of the UPS device: Bldg7UPS

  • The IP address of the UPS device: 20.33.44.5

  • The community string: 12269VmDC12

$ fscli snmp_host ‑add ‑name UPS_trap_host ‑ip 10.50.4.50 ‑community 12269VmDC12 ‑trapPort 162
$ fscli snmp_host ‑add ‑name UPS_query_host ‑ip 10.50.4.50 ‑community 12269VmDC12 ‑trapPort 161
$ fscli ups ‑add ‑name ‑Bldg7UPS ‑ip 20.33.44.5 ‑community 12269VmDC12