You can monitor Solaris Bandwidth Manager using Solstice Site Manager, Solstice Domain Manager or any SNMP monitoring station. The Solaris Bandwidth Manager SNMP agent runs on hosts running the Solaris 2.6 or Solaris 2.7 operating system. It implements the management information base (MIB) found in the file /opt/SUNWconn/ba/snmp/ba_mib. The files associated with SNMP monitoring are all installed in the /opt/SUNWconn/ba/snmp directory.
Ten tables of information are available:
Information on parent/child relationships between classes
A list of routers configured on an interface in IP transparent mode
Information on the hosts and subnetworks defined in a filter
A list of the URLs defined in a filter
A list of the services defined in a filter
Information on flows
baDaemonUp, indicating that the Solaris Bandwidth Manager policy agent has started
baDaemonDown, indicating that the Solaris Bandwidth Manager policy agent has stopped
baReconfig, indicating that the configuration being used has changed
This section assumes you are using either Solstice Site Manager or Solstice Domain Manager as your management platform. In the following instructions, the term SNM refers to either Solstice Site Manager or Solstice Domain Manager.
The Solaris Bandwidth Manager SNMP agent is compatible with the Solstice Enterprise Agents. To integrate them:
Copy the files ba.rsrc, ba.reg and ba_read.acl to the /etc/snmp/conf directory.
Edit the file /etc/snmp/conf/ba_read.acl to specify hosts that will have read access to the SNMP agent. By default all hosts have access.
Copy the files SnmpAgent.html and qm_snmp.zip to the /opt/SUNWconn/ba/html/beans directory.
Edit the file /opt/SUNWconn/ba/snmp/ba_trap.acl to specify trap destinations. This file must also contain the local hostname, in order to give the SNMP Master Agent read access to the subagent. Specify the trap destinations as a comma-separated list of hostnames, as follows:
trap-recipients = { host1, host2, host3 }
Stop and restart the Solaris Bandwidth Manager agent and then the SNMP master agent.
The files ba_mib.oid and ba_mib.schema in the /opt/SUNWconn/ba/snmp directory allow you to query the Solaris Bandwidth Manager SNMP agent from a Solstice Site or Domain Manager console. Copy them to the agents directory (by default /opt/SUNWconn/snm/agents) on the managment station. Then rebuild the OID database using the command build_oid. The file ba_mib.traps in the /opt/SUNWconn/ba/snmp directory is used to map the trap numbers to an ASCII string. Append it to the trap file (by default /var/opt/SUNWconn/snm/snmp.traps. See the Solstice Site and Domain Manager documentation for more information about this process.