Products | Versions |
---|---|
TIBCO Hawk | - |
Not Applicable | - |
Resolution:
For SNMP adapter 4.6.0 to work with Hawk 4.9, the following manual steps need to be performed
On windows:
1. Install JRE from JRE installer
2. copy <hawk_cfgmgmt>/bin/tibhawkagent.exe to <hawk_cfgmgmt>/bin/tibhawksnmp.exe
3. copy <hawk_cfgmgmt>/bin/tibhawkagent.tra to <hawk_cfgmgmt>/bin/tibhawksnmp.tra
4. Copy <tibcoHome>/hawk/4.9/adapters/snmp/tibhawksnmp.cfg to <hawk_cfgmgmt>/bin/tibhawksnmp.cfg
5. edit tibhawksnmp.tra
a) Add '<tibcoHome>/hawk/4.9/adapters/snmp/java' to the end of tibco.class.path.extended
b) Replace java.start.class COM.TIBCO.hawk.agent.HawkAgent with java.start.class COM.TIBCO.hawk.snmp.SnmpHMA
c) Replace the whole line starting with application.args with application.args -file <hawk_cfgmgmt>/bin/tibhawksnmp.cfg
d)set TIBHawkSNMP to ntservice.name
e)set "TIBCO Hawk SNMP Adapter" to ntservice.display
f)set <hawk_cfgmgmt>/bin/tibhawksnmp.exe to ntservice.binary.path.absolute
6. edit tibhawksnmp.cfg
a) Replace ${hawk.hawk_root} with <tibcoHome>/hawk/4.9
b) Replace ${file.separator} with /
c) For -trace_directory replace ${hawk.hawk_root} with <hawk_cfgmgmt>.
7. To run snmp adapter as service
a) Uninstall existing ntservice
b) Install nt service by running tibhawksnmp.exe --install
c) Start the nt service
On Unix
===========
1. copy <hawk_cfgmgmt>/bin/tibhawkagent to <hawk_cfgmgmt>/bin/tibhawksnmp
2. copy <hawk_cfgmgmt>/bin/tibhawkagent.tra to <hawk_cfgmgmt>/bin/tibhawksnmp.tra
3. Copy <tibcoHome>/hawk/4.9/adapters/snmp/tibhawksnmp.cfg to <hawk_cfgmgmt>/bin/tibhawksnmp.cfg
4. edit tibhawksnmp.tra
a) Add '<tibcoHome>/hawk/4.9/adapters/snmp/java' to the end of tibco.class.path.extended
b) Replace java.start.class COM.TIBCO.hawk.agent.HawkAgent with java.start.class COM.TIBCO.hawk.snmp.SnmpHMA
c) Replace the whole line starting with application.args with application.args -file <hawk_cfgmgmt>/bin/tibhawksnmp.cfg
5. edit tibhawksnmp.cfg
a) Replace ${hawk.hawk_root} with <tibcoHome>/hawk/4.9
b) Replace ${file.separator} with /
6. run tibahwksnmp from <hawk_cfgmgmt>/bin