haproxy getting stats for tcp traffic


 
Thread Tools Search this Thread
Special Forums IP Networking haproxy getting stats for tcp traffic
# 1  
Old 10-04-2011
haproxy getting stats for tcp traffic

On my HAProxy box, I have in the config file, a couple lines to keep stats thru the web interface...

stats enable
stats auth <username>:<password>

not literally but with the actual username and pass in there of course.

This seems to enable http stats, but we are also trying to get stats for tcp. We have several listen sections for our modules... is there something like mode tcp or stats enable for each section that I need to include?


I've heard one response so far about this and they said that what I'm trying to do is impossible, but I also have a boss that wants results...
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Solaris

Too much TCP retransmitted and TCP duplicate on server Oracle Solaris 10

I have problem with oracle solaris 10 running on oracle sparc T4-2 server. Os information: 5.10 Generic_150400-03 sun4v sparc sun4v Output from tcpstat.d script TCP bytes: out outRetrans in inDup inUnorder 6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies

2. UNIX and Linux Applications

Haproxy SSL

I have a single SSL eg. www.abc.com. Im trying to get haproxy to accept any request eg. xyz.com or ijk.com to redirect to https://www.abc.com. Is this possible? #--------------------------------------------------------------------- # main frontend for XXX which proxys to the backends... (0 Replies)
Discussion started by: timmywong
0 Replies
Login or Register to Ask a Question
BATTERY-STATS-COLLECTOR(8)				      System Manager's Manual					BATTERY-STATS-COLLECTOR(8)

NAME
battery-stats-collector - Collect statistics about battery charge SYNOPSIS
battery-stats-collector [option] ... DESCRIPTION
Does exactly as it says on the tin - it will collect information from the APM subsystem and write it to a log file. Normally battery-stats-collector will be invoked by the system startup scripts. OPTIONS
battery-stats follow the usual GNU command line syntax, with long options starting with two dashes (`-'). -V, --version Show version of battery-stats-collector and exit. -h, --help Show summary of options and exit. -s, --syslog Log error messages to syslog, rather than stderr. Note that messages regarding invalid command line parameters will still go to stderr. -o filename, --output filename Append statistics to the given file. The default filename is /var/log/battery-stats -1, --once Only collect a single sample and exit. The default is to loop continiously. -i seconds, --interval=seconds Sampling intervals in seconds. If not specified, stats will be collected every 30 seconds. -I, --ignore-missing-battery Keeps quiet about missing batteries. This stops the warnings on stderr/syslog that would otherwise occur when the battery is miss- ing. -F samplecount, --flush=samplecount Flushes data to the logfile every <samplecount> samples. A value of zero turns off flushing altogether. If left unspecified, bat- tery-stats-collector will assume a value of 1, i.e. flush at every write. Setting the value too low will tend to keep the disk spinning (and use battery needlessly). Setting the value too high will loose statistics in case of an improper shutdown. Note that since battery-stats-collector uses the standard Ansi C library, data will still be flushed periodically (regardless of this setting) once the buffer fills up. The size of the buffer is platform dependent, but 4Kb and 8Kb seem pretty normal. FILES
/var/log/battery-stats Default file for writing battery charge samples to. SEE ALSO
battery-graph(1) Newer versions of this program may (or may not) be available at http://karl.jorgensen.com/battery-stats AUTHOR
This manual page was written by Karl E. Jorgensen <karl@jorgensen.com>, for the Debian GNU/Linux system (but may be used by others). September 18, 2002 BATTERY-STATS-COLLECTOR(8)