Search found 9 matches

by glen
Sat Feb 01, 2014 9:15 pm
Forum: Scripts and Templates
Topic: Varnish cache statistics
Replies: 26
Views: 30239

Re: Varnish cache statistics

i posted to the "other thread" (http://forums.cacti.net/viewtopic.php?f=12&t=36093) this: i've updated template and script to work with varnish3: https://github.com/glensc/cacti-template-varnish supports varnish2 as well via "-2" option in poller. i myself use xinetd, probabl...
by glen
Sat Feb 01, 2014 9:10 pm
Forum: Scripts and Templates
Topic: Varnish Template
Replies: 14
Views: 17588

Re: Varnish Template

i've updated template and script to work with varnish3:

https://github.com/glensc/cacti-template-varnish

supports varnish2 as well via "-2" option in poller.

i myself use xinetd, probably other options could be coded as well (ssh, snmp, systemd, ...)
by glen
Tue Jul 02, 2013 5:36 pm
Forum: Scripts and Templates
Topic: PHP-FPM Status template
Replies: 15
Views: 18638

Re: PHP-FPM Status template

i've imported the HTTP based template to github and made some changes
https://github.com/glensc/cacti-template-php-fpm

it supports polling over HTTP and over FCGI.
by glen
Sun May 02, 2010 11:56 am
Forum: Scripts and Templates
Topic: Varnish cache statistics
Replies: 26
Views: 30239

you can limit your 8062 port access with iptables, or use interface that is not exposed to the Internet (LAN interface, loopback device), also Varnish 2.1 should have authentication support in admin port, haven't checked as I limit my port access with private network.
by glen
Wed Apr 14, 2010 4:54 pm
Forum: Scripts and Templates
Topic: Varnish cache statistics
Replies: 26
Views: 30239

version 3 combined

i've combined two templates into superior one:

http://forums.cacti.net/viewtopic.php?p ... ht=#186676
by glen
Wed Apr 14, 2010 4:45 pm
Forum: Scripts and Templates
Topic: Varnish Template
Replies: 14
Views: 17588

version 3

i combined templates from this post [1] and script from the other post [2], and built up what i took the liberty to call version 3. this way i can have many graphs and do not have to play with snmp, don't need to do anything than open port of varnishd. you may want to upgrade to version 2.1 your var...
by glen
Sun Oct 05, 2008 5:57 pm
Forum: Scripts and Templates
Topic: Upgraded: snmpdiskio 0.9.6 (Disk I/O statistics on Linux)
Replies: 110
Views: 298632

nevermind about net-snmp 5.4 problem, i found that i can use diskio :) but about the reversed stats, why not just modify partition.xml to have: <hdOutBlocks> <name>Bytes Read</name> <method>walk</method> <source>value</source> <direction>output</direction> <oid>.1.3.6.1.4.1.2021.13.15.1.1.3</oid> </...
by glen
Sun Oct 05, 2008 5:27 pm
Forum: Scripts and Templates
Topic: Upgraded: snmpdiskio 0.9.6 (Disk I/O statistics on Linux)
Replies: 110
Views: 298632

has anyone got it work with net-snmpd 5.4.1.2 ? default 'exec' line does nothing, but 'extend' results something, but the numbers are different: (.4 not .101 expected) $ snmpwalk -v1 -c sw localhost .1.3.6.1.4.1.2021.54.4 UCD-SNMP-MIB::ucdavis.54.4.1.2.5.104.100.78.117.109.1 = STRING: "29"...
by glen
Sun Oct 05, 2008 10:52 am
Forum: Scripts and Templates
Topic: lighttpd Statistics - 1.0
Replies: 21
Views: 45318

in case anyone interested, i made some improvements to the script:

http://cvs.pld-linux.org/cgi-bin/cvsweb ... ttpd.patch

most important one is to accept HTTP/1.0 in response. in setings where you access the lighty server via squid proxy.