This section describes how to install, start, stop, and use 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.
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 |
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 |
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 |