packages: cacti-template-varnish/get_varnish_stats.py - update fieldlist wi...
glen
glen at pld-linux.org
Tue Apr 13 18:28:27 CEST 2010
Author: glen Date: Tue Apr 13 16:28:27 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- update fieldlist with counters from varnishstat, 12 more were missing
---- Files affected:
packages/cacti-template-varnish:
get_varnish_stats.py (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/cacti-template-varnish/get_varnish_stats.py
diff -u packages/cacti-template-varnish/get_varnish_stats.py:1.4 packages/cacti-template-varnish/get_varnish_stats.py:1.5
--- packages/cacti-template-varnish/get_varnish_stats.py:1.4 Tue Apr 13 18:16:16 2010
+++ packages/cacti-template-varnish/get_varnish_stats.py Tue Apr 13 18:28:22 2010
@@ -32,78 +32,90 @@
# Also all entries present in this table must be present in result
# You should upgrade Varnish 2.1 as Varnish 2.0 does not have "uptime" column.
sample = """
-uptime 17903 . Child uptime
-client_conn 3333449 186.19 Client connections accepted
-client_req 14776402 825.36 Client requests received
-cache_hit 13929762 778.07 Cache hits
-cache_hitpass 52996 2.96 Cache hits for pass
-cache_miss 788513 44.04 Cache misses
-backend_conn 494618 27.63 Backend conn. success
+uptime 36897 . Child uptime
+client_conn 6724115 182.24 Client connections accepted
+client_drop 0 0.00 Connection dropped, no sess
+client_req 29357678 795.67 Client requests received
+cache_hit 27645207 749.25 Cache hits
+cache_hitpass 114269 3.10 Cache hits for pass
+cache_miss 1586933 43.01 Cache misses
+backend_conn 995606 26.98 Backend conn. success
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_fail 1 0.00 Backend conn. failures
+backend_reuse 716090 19.41 Backend conn. reuses
+backend_toolate 937223 25.40 Backend conn. was closed
+backend_recycle 1653334 44.81 Backend conn. recycles
backend_unused 0 0.00 Backend conn. unused
-backend_toolate 868693 25.81 Backend conn. was closed
+fetch_head 33 0.00 Fetch head
+fetch_length 613801 16.64 Fetch with Length
+fetch_chunked 1087578 29.48 Fetch chunked
+fetch_eof 0 0.00 Fetch EOF
+fetch_bad 0 0.00 Fetch had bad headers
+fetch_close 5649 0.15 Fetch wanted close
+fetch_oldhttp 0 0.00 Fetch pre HTTP/1.1 closed
+fetch_zero 2304 0.06 Fetch zero len
+fetch_failed 17 0.00 Fetch failed
n_srcaddr 0 . N struct srcaddr
n_srcaddr_act 0 . N active struct srcaddr
n_sess_mem 2200 . N struct sess_mem
-n_sess 1207 . N struct sess
-n_object 151202 . N struct object
-n_objecthead 91698 . N struct objecthead
-n_smf 326799 . N struct smf
-n_smf_frag 24687 . N small free smf
-n_smf_large 326 . N large free smf
-n_vbe_conn 26 . N struct vbe_conn
+n_sess 1168 . N struct sess
+n_object 76813 . N struct object
+n_objecthead 51153 . N struct objecthead
+n_smf 159665 . N struct smf
+n_smf_frag 4500 . N small free smf
+n_smf_large 1979 . N large free smf
+n_vbe_conn 29 . N struct vbe_conn
n_bereq 212 . N struct bereq
n_wrk 600 . N worker threads
-n_wrk_create 600 0.03 N worker threads created
+n_wrk_create 600 0.02 N worker threads created
n_wrk_failed 0 0.00 N worker threads not created
n_wrk_max 0 0.00 N worker threads limited
n_wrk_queue 0 0.00 N queued work requests
-n_wrk_overflow 2639 0.15 N overflowed work requests
+n_wrk_overflow 2639 0.07 N overflowed work requests
n_wrk_drop 0 0.00 N dropped work requests
n_backend 20 . N backends
-n_expired 472014 . N expired objects
-n_lru_nuked 165622 . N LRU nuked objects
+n_expired 808579 . N expired objects
+n_lru_nuked 701957 . N LRU nuked objects
n_lru_saved 0 . N LRU saved objects
-n_lru_moved 6575346 . N LRU moved objects
+n_lru_moved 13197669 . N LRU moved objects
+n_deathrow 0 . N objects on deathrow
+losthdr 10 0.00 HTTP header overflows
n_objsendfile 0 0.00 Objects sent with sendfile
-n_objwrite 14087414 786.87 Objects sent with write
+n_objwrite 27988657 758.56 Objects sent with write
n_objoverflow 0 0.00 Objects overflowing workspace
-s_pipe 879 0.05 Total pipe
-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
-sess_linger 14576708 814.20 Session Linger
-sess_herd 11874652 663.28 Session herd
-shm_records 626744114 35007.77 SHM records
-shm_writes 37710636 2106.39 SHM writes
-shm_flushes 32226 1.80 SHM flushes due to overflow
-shm_cont 101165 5.65 SHM MTX contention
-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
+s_sess 6724087 182.24 Total Sessions
+s_req 29358671 795.69 Total Requests
+s_pipe 2219 0.06 Total pipe
+s_pass 122593 3.32 Total pass
+s_fetch 1709352 46.33 Total fetch
+s_hdrbytes 10134822172 274678.76 Total header bytes
+s_bodybytes 210452858412 5703793.22 Total body bytes
+sess_closed 404260 10.96 Session Closed
+sess_pipeline 110465 2.99 Session Pipeline
+sess_readahead 117895 3.20 Session Read Ahead
+sess_linger 28952376 784.68 Session Linger
+sess_herd 23901613 647.79 Session herd
+shm_records 1248208604 33829.54 SHM records
+shm_writes 75556170 2047.76 SHM writes
+shm_flushes 54950 1.49 SHM flushes due to overflow
+shm_cont 238017 6.45 SHM MTX contention
+shm_cycles 509 0.01 SHM cycles through buffer
+sm_nreq 4123515 111.76 allocator requests
+sm_nobj 153186 . outstanding allocations
+sm_balloc 2119176192 . bytes allocated
+sm_bfree 4323274752 . bytes free
sma_nreq 0 0.00 SMA allocator requests
+sma_nobj 0 . SMA outstanding allocations
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_nreq 617 0.02 SMS allocator requests
sms_nobj 0 . SMS outstanding allocations
-backend_req 845376 47.22 Backend requests made
+sms_nbytes 0 . SMS outstanding bytes
+sms_balloc 4539572 . SMS bytes allocated
+sms_bfree 4539572 . SMS bytes freed
+backend_req 1709428 46.33 Backend requests made
n_vcl 1 0.00 N vcl total
n_vcl_avail 1 0.00 N vcl available
n_vcl_discard 0 0.00 N vcl discarded
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-template-varnish/get_varnish_stats.py?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list