Table of Contents
When everything is configured correctly, Java Web
Start should automatically install sFlowTrend-Pro.
However, sometimes the browser is not aware of Java
Web Start. In this case, you have to tell it
manually to run the Java Web Start program. This is
called
javaws.
You may need to browse to the location of
javaws
- on Microsoft Windows, it should be installed in
C:\Program Files\Java\jre1.6.0_06\bin
(note the path may vary depending on the specific
version of Java installed).
When Java Web Start is installed correctly, it should
automatically be launched from the browser. If the
browser displays a text (xml) file instead, then
right-click on the link, select
save link as
or
save target as,
and save the file as
sFlowTrend.jnlp
.
Then, try double-clicking on the saved file. If this
still doesn't work, then open a command prompt
window, and run
javaws sFlowTrend.jnlp
(you will need to make sure that
sFlowTrend.jnlp
is in the current directory).
sFlowTrend-Pro is written in Java, and needs a minimum of Java v6.0. Java must be installed before installing sFlowTrend-Pro. Also, in the case of other installation problems, it is often easiest just to re-install the Java JRE.
The JRE is available from Sun's java.com web site
There can be some problems with running Java Web Start on Linux. If you experience any problems, then these are some issues to be aware of:
With Java 6.0, Java Web Start (and the Java
Control Panel) require old C++ libraries to
run. If, when trying to start sFlowTrend-Pro, you
get an error message indicating that the
application could not be started, try the
"more details" button. If somewhere in the
details it mentions that the system could not
find the file
libstdc++.so.5
,
or something
similar, then this is likely to be the problem.
To resolve this, you will need to install the
older, compatibility C++ libraries. On Fedora,
install the rpm
compat-libstdc++-33
; other
Linux distributions should have a similar
compatibility library available. Note that this
issue does not exist with Java 5.0.
Java for 64-bit Linux still does not include Java Web Start. Until Sun makes this available, the best approach is to install an appropriate 32-bit JRE on the system, and then associating the file extension ".jnlp" in your browser with the javaws program located in the 32-bit JRE.
GNU Java may be installed on your Linux system. Unfortunately, this does not currently include Java Web Start, and so you will need to install Sun Java. This can be installed from Sun's java.com web site .
If there are no switches listed in the Switch selector in the Charts, Interfaces, and Threshold tabs, all the charts in the Dashboard tab show Waiting for first data point and the Activity LED is not flashing then sFlowTrend-Pro is not receiving sFlow data. The Status bar should also show Configure switches/routers to monitor.
You must first configure your switches to send sFlow, see Appendix A, Configuring switches to send sFlow. If there are still no switches listed see Section 14.1.6, “sFlowTrend-Pro is not receiving sFlow from a switch or host”.
If you select a switch using the Switch selector in the Charts tab and a blank screen is displayed, sFlowTrend-Pro has not received sFlow data that matches the criteria specified by the current settings in the Charts tab.
If the Interface selector is also empty, sFlowTrend-Pro is not receiving sFlow data from the switch. First ensure that the selected switch is enabled (see Section 3.1, “Selecting the switch and interface to analyse”. If the switch is enabled see Section 14.1.6, “sFlowTrend-Pro is not receiving sFlow from a switch or host”.
If there are interfaces listed in the
Interface
selector, sFlowTrend-Pro has received sFlow data
from the switch, but possibly not for the
combination of the currently selected
interface, chart, time, and filter. First make
sure that the selected switch is enabled so that
button is showing next to the
Switch selector and that the
Status bar indicates that the switch is not
disabled.
Then change the settings in the
control bar as follows:
Charts: Top sources
Interfaces: All (this selection is only available if you are viewing a top N traffic trend chart).
Time:
Last hour
Filter is disabled
For more information on settings in the Charts tab see Chapter 3, Charts.
Now wait for the Progress indicator to reach 100%.
If the Top sources chart is still not showing data, then sFlowTrend-Pro is not receiving sFlow from the switch, see Section 14.1.6, “sFlowTrend-Pro is not receiving sFlow from a switch or host”.
If you are now seeing data in the
Top sources chart, sFlowTrend-Pro
is receiving sFlow
data from the switch. To understand which
interfaces are reporting on traffic, change
to the
Interfaces
tab and click on the
Unicasts/s
column heading until the table is sorted so
that rows are listed with the interface
showing the highest unicasts/s listed first.
If there are interfaces listed in table but
there are no counter values, wait for the
Progress indicator to reach 100% again (see
Chapter 5, Switch interface statistics
for more information on the
Interfaces
tab). Then click on the chart
button associated with first row. You will
now be taken to the
Charts
tab with the interface with the most
unicast/s selected.
If you select a switch using the Switch selector in the Interfaces tab and the table remains empty even after the Progress indicator has reached 100%, sFlowTrend-Pro is not receiving sFlow from that switch.
If Status bar message indicates that the switch is disabled,
enable the switch by clicking on the click the
button next to the
Switch
selector.
If the switch is enabled, then see Section 14.1.6, “sFlowTrend-Pro is not receiving sFlow from a switch or host”.
If you select a switch using the Switch selector in the Interfaces tab and the table includes rows for the interfaces but the interface counter columns show "-" even after the Progress indicator has reached 100%, twice, sFlowTrend-Pro is receiving sFlow from the switch but the sFlow data does not include interface counters. Check that the switch is configured to export interface counters (see Appendix A, Configuring switches to send sFlow).
If the switch has been configured using the CLI to send sFlow, follow the steps below:
Ensure that the switch is using the correct IP address and UDP port used by the host running sFlowTrend-Pro. To view and configure the IP address and UDP port used by sFlowTrend-Pro see Section 13.4.3, “Configuring advanced options”.
Ensure that there are no host or network firewalls between the switch and sFlowTrend-Pro that are blocking the sFlow packets.
There may be insufficient traffic flowing through the switch for sFlow packets to be generated using the currently configured sampling rate. Try configuring the switch to sample more frequently. See Appendix C, Recommended sampling rates for recommended sampling rates.
If the host is running the sFlow agent, follow the steps below:
Ensure that the host is using the correct IP address and UDP port used by the host running sFlowTrend-Pro. To view and configure the IP address and UDP port used by sFlowTrend-Pro see Section 13.4.3, “Configuring advanced options”.
Ensure that there are no host or network firewalls between the host and sFlowTrend-Pro that are blocking the sFlow packets.
Check that the sFlow agent is running on the host. For more information on configuring the host agent, see Appendix B, Configuring hosts to send sFlow.
If sFlowTrend-Pro is to use SNMP to configure the switch to send sFlow, follow the steps below:
Make sure that the switch has been added to sFlowTrend-Pro, see Section 13.2.1, “Adding a switch that is to be configured via SNMP” and that the correct SNMP v2 or SNMP v3 settings, which allow write access to the sFlow MIB, have been specified. Some additional configuration of the switch may be necessary to allow it to accept SNMP sets from the host running sFlowTrend-Pro, for example, see Section A.1.1, “Configuring ProCurve switches to allow sFlow configuration via SNMP”.
Use
button. If the status indicates that the
switch is not sending sFlow use the
additional status message to identify the
problem:
sflowtrend.useForce
).
If the status indicates that sFlow has been successfully configured, there may be insufficient traffic flowing through the switch for sFlow packets to be generated using the currently configured sampling rate. Try changing the sFlowTrend-Pro configuration so that the switch to is configured to sample more frequently (see Section 15.1, “Custom configuration”).
If sFlowTrend-Pro cannot communicate with the switch using SNMP, the status bar shown when you go to the Charts, Interfaces, or Wireless tabs and select a switch, will include No SNMP. In this case, sFlowTrend-Pro will be unable to display friendly names for the switch and its interfaces. It will also be unable to use SNMP to configure the switch to send sFlow. Verify that the that the sFlowTrend-Pro is using the correct SNMP settings and that there are no firewalls in the network or on the host that are blocking SNMP.
More diagnostics are available by using
button. For example:
The sFlowTrend-Pro log file in the sFlowTrend-Pro server home directory (see Section 13.4.3, “Configuring advanced options”) may give additional details.