Skip to content

collectors VarnishCollector

Rob Smith edited this page Aug 11, 2012 · 12 revisions

VarnishCollector

VarnishCollector grabs stats from Varnish and submits them the Graphite

Dependencies

  • /usr/bin/varnishstat

Options

  • Generic Options
  • bin: The path to the smartctl binary
  • sudo_cmd: Path to sudo
  • use_sudo: Use sudo?
  • enabled: Enable collecting these metrics
  • byte_unit: Default numeric output(s)

Example Output

servers.hostname.accept_fail 0
servers.hostname.backend_busy 0
servers.hostname.backend_conn 13363
servers.hostname.backend_fail 0
servers.hostname.backend_recycle 0
servers.hostname.backend_req 13363
servers.hostname.backend_retry 0
servers.hostname.backend_reuse 0
servers.hostname.backend_toolate 0
servers.hostname.backend_unhealthy 0
servers.hostname.cache_hit 6580
servers.hostname.cache_hitpass 0
servers.hostname.cache_miss 2566
servers.hostname.client_conn 10799
servers.hostname.client_drop 0
servers.hostname.client_drop_late 0
servers.hostname.client_req 10796
servers.hostname.dir_dns_cache_full 0
servers.hostname.dir_dns_failed 0
servers.hostname.dir_dns_hit 0
servers.hostname.dir_dns_lookups 0
servers.hostname.fetch_bad 0
servers.hostname.fetch_chunked 0
servers.hostname.fetch_close 331
servers.hostname.fetch_eof 0
servers.hostname.fetch_failed 0
servers.hostname.fetch_head 0
servers.hostname.fetch_length 12986
servers.hostname.fetch_oldhttp 0
servers.hostname.fetch_zero 0
servers.hostname.hcb_insert 2379
servers.hostname.hcb_lock 2379
servers.hostname.hcb_nolock 9146
servers.hostname.losthdr 0
servers.hostname.n_backend 4
servers.hostname.n_ban 1
servers.hostname.n_ban_add 1
servers.hostname.n_ban_dups 0
servers.hostname.n_ban_obj_test 0
servers.hostname.n_ban_re_test 0
servers.hostname.n_ban_retire 0
servers.hostname.n_expired 2557
servers.hostname.n_lru_moved 5588
servers.hostname.n_lru_nuked 0
servers.hostname.n_object 9
servers.hostname.n_objectcore 17
servers.hostname.n_objecthead 27
servers.hostname.n_objoverflow 0
servers.hostname.n_objsendfile 0
servers.hostname.n_objwrite 2546
servers.hostname.n_sess 1
servers.hostname.n_sess_mem 19
servers.hostname.n_vampireobject 0
servers.hostname.n_vbc 1
servers.hostname.n_vcl 1
servers.hostname.n_vcl_avail 1
servers.hostname.n_vcl_discard 0
servers.hostname.n_waitinglist 10
servers.hostname.n_wrk 10
servers.hostname.n_wrk_create 10
servers.hostname.n_wrk_drop 0
servers.hostname.n_wrk_failed 0
servers.hostname.n_wrk_lqueue 0
servers.hostname.n_wrk_max 11451
servers.hostname.n_wrk_queued 0
servers.hostname.s_bodybytes 23756354
servers.hostname.s_fetch 13362
servers.hostname.s_hdrbytes 4764593
servers.hostname.s_pass 10796
servers.hostname.s_pipe 0
servers.hostname.s_req 10796
servers.hostname.s_sess 10798
servers.hostname.sess_closed 10798
servers.hostname.sess_herd 0
servers.hostname.sess_linger 0
servers.hostname.sess_pipeline 0
servers.hostname.sess_readahead 0
servers.hostname.shm_cont 0
servers.hostname.shm_cycles 0
servers.hostname.shm_flushes 0
servers.hostname.shm_records 1286246
servers.hostname.shm_writes 102894
servers.hostname.sms_balloc 0
servers.hostname.sms_bfree 0
servers.hostname.sms_nbytes 0
servers.hostname.sms_nobj 0
servers.hostname.sms_nreq 0
servers.hostname.uptime 35440
Clone this wiki locally