Juniper Networks AVT
The Juniper Networks Application Volume Tracking (AVT) DSM for JSA accepts events by using Java Database Connectivity (JDBC) protocol.
JSA records all relevant events. To integrate with Juniper Networks NSM AVT data, you must create a view in the database on the Juniper Networks NSM server. You must also configure the Postgres database configuration on the Juniper Networks NSM server to allow connections to the database since, by default, only local connections are allowed.
This procedure is provided as a guideline. For specific instructions, see your vendor documentation.
- Log in to your Juniper Networks AVT device command-line interface (CLI).
- Open the following file:
- Add the following line to the end of the file:
host all all <IP address>/32 trust
Where: <IP address> is the IP address of your JSA console or Event Collector that you want to connect to the database.
- Reload the Postgres service:
su - nsm -c "pg_ctl reload -D /var/netscreen/DevSvr/pgsql/data"
- As the Juniper Networks NSM user, create the view by using
the following input:
create view strm_avt_view as SELECT a.name, a.category, v.srcip,v.dstip,v.dstport, v."last", u.name as userinfo, v.id, v.device, v.vlan,v.sessionid, v.bytecnt,v.pktcnt, v."first" FROM avt_part v JOIN app a ON v.app =a.id JOIN userinfo u ON v.userinfo = u.id;
The view is created.
You are now ready to configure the log source in JSA.
Configuring JSA to Receive Events from a Juniper Networks AVT Device
You can configure JSA to receive events from a Juniper Networks AVT device.
- From the Log Source Type list, select Juniper Networks AVT.
- You must also configure the JDBC protocol for the log
source. Use the following parameters to configure the JDBC protocol:
Table 1: JDBC Protocol Parameters
From the Database Type list, select Postgres
IP or Hostname
Type the IP address of the Juniper Networks NSM system
Type the user name for the profilerDb database
Type the password for profilerDB database
Use Prepared Statements
The Use Prepared Statements check box must be clear. The Juniper Networks AVT DSM does not support prepared statements.
Type 10 for the Polling interval
The database name and table name parameters are case-sensitive.