Log on to your traffic server as root, and run:
sflowtool -p 8888 -t -z 8 | /usr/sbin/tcpdump -n -r -
Then go to to web interface, select Server->Forwarding, and configure one of the rows as follows:
for Agent, enter the IP Address of one of your network switches.
for Address, enter "localhost".
for Port, enter 8888.
click the button on the left to enable this row, and then click Submit.
Back on the terminal window, you should see tcpdump output. If you get an error message from tcpdump, try running the same command but without the "-z 8" option.
To pretty-print all the sFlow fields, change the command to just:
sflowtool -p 8888
This format can easily be parsed by tools such as awk, grep and perl.
This tool has already been sucessfully compiled on at least one Microsoft
Windows and one HP-UX platform. Please ask for details.
You can keep adding as many &agent=&interface= parameter-pairs
as you like. By default, MultiChart will arrange them in two
columns. To change the number of columns to 3, add &columns=3.
If you just want to show the utilization, add the parameter &selection=utilization.
If you want to show the topConnections instead, add the parameter &type=topConnections.
If you want to change the size of the charts, you can set &chartHeight=<pixels>
and &chartWidth=<pixels>.
To increase the time-window displayed, set &capacity=<minutes>.
When setting &title=<string>, remember to use '+' for
spaces.
The heading above each chart is actually a link to the full-size version
of that chart. From there you can get to the long-term history, top-talkers
and other resources.
-- --------- Neil McKee mailto:Neil_McKee@InMon.com InMon Corp. http://www.InMon.com
This archive was generated by hypermail 2b29 : 06/14/01 EDT