Installing and Using the SNMP Adapter for WBEM (Task Map)
The following table identifies the procedures that you need to follow to install, start, stop, and use the SNMP Adapter for WBEM, the Adapter.
Task | Description | For Instructions |
---|---|---|
Install the SNMP Adapter for WBEM. | Install the Adapter when you install the Solaris operating environment. | |
Start the SNMP Adapter for WBEM. | Start the SNMP Adapter for WBEM by moving snmpXwbem.rsrc- into snmpXwbem.rsrc. | |
Disable or stop the SNMP Adapter for WBEM. | Stop the SNMP Adapter for WBEM by using the pkill command. | |
Force the SNMP Adapter for WBEM to reread the mapping file directory. | Force the SNMP Adapter for WBEM to reread the mapping file directory by updating snmpXwbem.reg so that it includes the new subtree, and by using the pkill command. | "How to Force the SNMP Adapter for WBEM to Reread the Mapping File Directory" |
Installing and Using the SNMP Adapter for WBEM
This section describes how to install, start, stop, and use the SNMP Adapter for WBEM.
How to Install the SNMP Adapter for WBEM
Install the Solaris operating environment on your system.
The Adapter software is installed on your system along with the Solaris software.
How to Start the SNMP Adapter for WBEM
When you are ready to retrieve data from the CIM Object Manager through your SNMP application, follow these steps to start the Adapter.
Become superuser.
Stop the Master Agent.
# /etc/init.d/init.snmpdx stop
Change directory to /etc/snmp/conf.
Move snmpXwbem.rsrc- into the Adapter resource file.
# mv snmpXwbem.rsrc- snmpXwbem.rsrc
Restart the Master Agent.
# /etc/init.d/init.snmpdx start
How to Disable the SNMP Adapter for WBEM
When you are finished retrieving data from the CIM Object Manager or to modify a file in /etc/snmp/conf, you need to disable the Adapter. Follow these steps.
Become superuser.
Stop the Master Agent.
# /etc/init.d/init.snmpdx stop
Stop the Adapter.
# /usr/bin/pkill -9 -x -u 0 snmpXwbemd
Change directory to /etc/snmp/conf.
Temporarily rename snmpXwbem.rsrc.
# mv snmpXwbem.rsrc snmpXwbem.rsrc-
Restart the Master Agent.
# /etc/init.d/init.snmpdx start
How to Force the SNMP Adapter for WBEM to Reread the Mapping File Directory
After you place a new mapping file or update an existing mapping file in /var/sadm/wbem/snmp/map, you must signal the Adapter to reread all mapping files in the directory. You specify the signal SIGHUP to signal the Adapter.
Follow these steps to force the Adapter to reread all mapping files (without having to restart the CIM Object Manager).
Become superuser.
Does a new mapping file or a new entry in a mapping file reference a subtree that is not registered by the Adapter?
If yes, go to the next step.
If no, go to Step 5.
Update /etc/snmp/conf/snmpXwbem.reg so that it includes the new subtree.
Stop and restart the Master Agent.
# /etc/init.d/init.snmpdx stop
# /etc/init.d/init.snmpdx start
Signal the Adapter that you have updated a mapping file.
# /usr/bin/pkill -1 -x -u 0 snmpXwbemd
Troubleshooting Problems With the SNMP Adapter for WBEM
This section lists specific console error messages that you might encounter when using the Adapter.
If you encounter errors, problems, or unexpected results that are not described in this section or if you want to troubleshoot problems more precisely, use the Solaris Management Console Log Viewer to view log data.
Instructions that describe how to start the Solaris Management Console Log Viewer are presented in "Viewing Log Data Through Log Viewer".
Sending and Receiving Requests
Error Message
ERROR: sending request to Adapter Service. |
ERROR: receiving request from Adapter Service. |
Cause
Either snmpXwbemd believes WBEM is enabled but cannot communicate with the Adapter Service, or the request timed out.