Manual steps to perform for SNMP adapter 4.6.0 to work with hawk4.9.0 on Windows and Unix/Linux.

Manual steps to perform for SNMP adapter 4.6.0 to work with hawk4.9.0 on Windows and Unix/Linux.

book

Article ID: KB0089602

calendar_today

Updated On:

Products Versions
TIBCO Hawk -
Not Applicable -

Description

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 &lthawk_cfgmgmt>/bin/tibhawkagent.exe to &lthawk_cfgmgmt>/bin/tibhawksnmp.exe
3. copy &lthawk_cfgmgmt>/bin/tibhawkagent.tra to &lthawk_cfgmgmt>/bin/tibhawksnmp.tra
4. Copy &lttibcoHome>/hawk/4.9/adapters/snmp/tibhawksnmp.cfg to &lthawk_cfgmgmt>/bin/tibhawksnmp.cfg
5. edit tibhawksnmp.tra
a) Add '&lttibcoHome>/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 &lthawk_cfgmgmt>/bin/tibhawksnmp.cfg
d)set TIBHawkSNMP to ntservice.name
e)set "TIBCO Hawk SNMP Adapter" to ntservice.display
f)set &lthawk_cfgmgmt>/bin/tibhawksnmp.exe to ntservice.binary.path.absolute
6. edit tibhawksnmp.cfg
a) Replace ${hawk.hawk_root} with &lttibcoHome>/hawk/4.9
b) Replace ${file.separator} with /
c) For -trace_directory replace ${hawk.hawk_root} with &lthawk_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 &lthawk_cfgmgmt>/bin/tibhawkagent to &lthawk_cfgmgmt>/bin/tibhawksnmp
2. copy &lthawk_cfgmgmt>/bin/tibhawkagent.tra to &lthawk_cfgmgmt>/bin/tibhawksnmp.tra
3. Copy &lttibcoHome>/hawk/4.9/adapters/snmp/tibhawksnmp.cfg to &lthawk_cfgmgmt>/bin/tibhawksnmp.cfg
4. edit tibhawksnmp.tra
a) Add '&lttibcoHome>/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 &lthawk_cfgmgmt>/bin/tibhawksnmp.cfg

5. edit tibhawksnmp.cfg

a) Replace ${hawk.hawk_root} with &lttibcoHome>/hawk/4.9
b) Replace ${file.separator} with /
6. run tibahwksnmp from &lthawk_cfgmgmt>/bin

Issue/Introduction

Manual steps to perform for SNMP adapter 4.6.0 to work with hawk4.9.0 on Windows and Unix/Linux.