packages: cacti-template-varnish/get_varnish_stats.py - some fields were mi...

glen glen at pld-linux.org
Tue Apr 13 18:16:21 CEST 2010


Author: glen                         Date: Tue Apr 13 16:16:21 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- some fields were missing

---- Files affected:
packages/cacti-template-varnish:
   get_varnish_stats.py (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/cacti-template-varnish/get_varnish_stats.py
diff -u packages/cacti-template-varnish/get_varnish_stats.py:1.3 packages/cacti-template-varnish/get_varnish_stats.py:1.4
--- packages/cacti-template-varnish/get_varnish_stats.py:1.3	Tue Apr 13 15:30:51 2010
+++ packages/cacti-template-varnish/get_varnish_stats.py	Tue Apr 13 18:16:16 2010
@@ -20,7 +20,7 @@
         host = str(v)
     if o in ("-p", "--port"):
         port = int(v)
-	
+
 telnet = telnetlib.Telnet()
 telnet.open(host, port)
 telnet.write('stats\r\n')
@@ -39,12 +39,13 @@
 cache_hitpass           52996         2.96 Cache hits for pass
 cache_miss             788513        44.04 Cache misses
 backend_conn           494618        27.63 Backend conn. success
-backend_unhealthy            0         0.00 Backend conn. not attempted
+backend_unhealthy           0         0.00 Backend conn. not attempted
 backend_busy                0         0.00 Backend conn. too many
 backend_fail                0         0.00 Backend conn. failures
 backend_reuse          351664        19.64 Backend conn. reuses
 backend_recycle        817584        45.67 Backend conn. recycles
 backend_unused              0         0.00 Backend conn. unused
+backend_toolate        868693        25.81 Backend conn. was closed
 n_srcaddr                   0          .   N struct srcaddr
 n_srcaddr_act               0          .   N active struct srcaddr
 n_sess_mem               2200          .   N struct sess_mem
@@ -75,6 +76,9 @@
 s_pass                  56935         3.18 Total pass
 s_hdrbytes         5095096301    284594.55 Total header bytes
 s_bodybytes      105139468938   5872729.09 Total body bytes
+s_fetch               1669741        46.49 Total fetch
+s_req                28734002       799.12 Total Requests
+s_sess                6579080       182.90 Total Sessions
 sess_closed            211106        11.79 Session Closed
 sess_pipeline           52085         2.91 Session Pipeline
 sess_readahead          54758         3.06 Session Read Ahead
@@ -87,10 +91,18 @@
 shm_cycles                256         0.01 SHM cycles through buffer
 sm_nreq               1857435       103.75 allocator requests
 sm_balloc          3918831616          .   bytes allocated
+sm_bfree           5332348928          .   bytes free
+sm_nobj                 85307          .   outstanding allocations
 sma_nreq                    0         0.00 SMA allocator requests
 sma_nbytes                  0          .   SMA outstanding bytes
 sms_nreq                  344         0.02 SMS allocator requests
 sms_nbytes                  0          .   SMS outstanding bytes
+sma_balloc                  0          .   SMA bytes allocated
+sma_bfree                   0          .   SMA bytes free
+sma_nobj                    0          .   SMA outstanding allocations
+sms_balloc            4466012          .   SMS bytes allocated
+sms_bfree             4466012          .   SMS bytes freed
+sms_nobj                    0          .   SMS outstanding allocations
 backend_req            845376        47.22 Backend requests made
 n_vcl                       1         0.00 N vcl total
 n_vcl_avail                 1         0.00 N vcl available
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-template-varnish/get_varnish_stats.py?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list