To activate, deactivate, restart the SNMP agent, or check its current status, use the following Rhino management console commands.

snmpstatus

Command

snmpstatus
  Description
    Provides an overview of all current SNMP agent state including the current SNMP
    defaults, per-node SNMP agent state, and saved per-node SNMP configuration.

Example

The initial status for a freshly installed single-node cluster looks like this:

Output What it means
SNMP Status
============

Agent status: enabled

The current state of the Rhino SNMP Agent.

This is the "desired" state of the agent, not the actual state of the SNMP agents for each cluster node. Individual SNMP agents on different nodes may have a different state. For example, the command may display a different state if the agent encounters a failure during startup (such as a port being unavailable).

Agent details:
  Name: Node ${node-id}
  Description: OpenCloud Rhino
  Location: Unknown location
  Contact: OpenCloud Support (support@opencloud.com)

Descriptions for the SNMP agent when queried, corresponding to the sysName, sysDescr, sysLocation, and sysContact variables from the SNMPv2 MIB.

Any system property string (in the form ${property.name*} will be replaced, on a per-node basis, so node-specific information can be included (if required).

The ${node-id} property is special and will be substituted with the node ID of the node the agent is running on.

Enabled OID registration behaviours: legacy-oids, static-oids

The OID registration models currently enabled.

Enabled versions: v1, v2c

The versions of SNMP currently enabled.

SNMP v1/v2c details:
  Community: public

The current configuration for SNMP v1/v2c.

SNMP v3 details:
  Username:         rhino
  Auth Protocol:    SHA
  Auth Key:         password
  Privacy Protocol: AES128
  Privacy Key:      password
  EngineBoots:      3
  EngineTime:       814

The current configuration for SNMP v3. This configuration is used for both statistics collection and notification delivery.

Network:
  Default subnet: 0.0.0.0/0
  Default port range: 16100-16200
  Loopback addresses: ignored
  Address bindings: not saved
  Port bindings: saved

Indicates how the SNMP agent responds to automatic port and interface discovery for newly booted Rhino nodes.

 Notifications: disabled

Indicates whether the SNMP agent is to generate notifications.

Notification configuration
==========================
  Notification targets:
    v2c:udp:127.0.0.1/162

Indicates the targets to which the SNMP agent sends notifications (if enabled and not filtered).

AlarmNotification
 forwarded
LogNotification
 forwarded
LogRolloverNotification
 forwarded
ResourceAdaptorEntityStateChangeNotification
 forwarded
ServiceStateChangeNotification
 forwarded
SleeStateChangeNotification
 forwarded
TraceNotification
 forwarded
UsageNotification
 forwarded

Indicates the types of notifications the SNMP agent is to send.

Saved per-node configuration
=============================
  101 <default>:16100

The persisted per-node state of the SNMP system; used to determine what ports/interfaces the SNMP agent for each node should bind to on startup.

Per-node agent status
======================
  101 Running 192.168.0.7:16100

The state of the SNMP agent on each node; includes the actual state of the agent, which may differ from the persisted or desired state.

activatesnmp

Command

activatesnmp
  Description
    Activates the Rhino SNMP agent.

Example

[Rhino@localhost (#1)] activatesnmp
Rhino SNMP agent enabled.

deactivatesnmp

Command

deactivatesnmp
  Description
    Deactivates the Rhino SNMP agent.

Example

[Rhino@localhost (#1)] deactivatesnmp
Rhino SNMP agent disabled.

restartsnmp

Command

restartsnmp
  Description
    Deactivates (if required) and then reactivates the Rhino SNMP agent.

Example

[Rhino@localhost (#1)] restartsnmp
Stopped SNMP agent.
Starting SNMP agent.
Rhino SNMP agent restarted.
Note If Rhino cannot start the SNMP agent successfully, it raises alarms. For details, use the listactivealarms management console command to check active alarms.
Previous page Next page
Rhino Version 3.1