| Graph Name | 110 |Host | 111 |Arcs | 112 |RSS | 113 |Virt | 114 |Age | 115 |
|---|---|---|---|---|---|
| {{ graph.name }} | {{ graph.host }} | 119 |120 | | 121 | | 122 | | 123 | |
├── gp ├── .gitignore ├── static ├── erricon.png ├── sorttable.js └── erricon.svg ├── .gitmodules ├── SciTE.properties ├── cgstat-fcgi.conf ├── templates └── template.html ├── cgstat.fcgi └── GPL /gp: -------------------------------------------------------------------------------- 1 | gpClient/gp/ -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | -------------------------------------------------------------------------------- /static/erricon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmde/cgstat/master/static/erricon.png -------------------------------------------------------------------------------- /static/sorttable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wmde/cgstat/master/static/sorttable.js -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "gpClient"] 2 | path = gpClient 3 | url = https://github.com/wmde/catgraph-client-python/ 4 | -------------------------------------------------------------------------------- /SciTE.properties: -------------------------------------------------------------------------------- 1 | #OMFG 2 | command.go.*.fcgi=SUDO_ASKPASS=/usr/bin/ssh-askpass sudo -A bash -c "cp cgstat-fcgi.conf /etc/lighttpd/conf-available/10-cgstat-fcgi.conf; service lighttpd restart" 3 | command.go.*.conf=SUDO_ASKPASS=/usr/bin/ssh-askpass sudo -A bash -c "cp cgstat-fcgi.conf /etc/lighttpd/conf-available/10-cgstat-fcgi.conf; service lighttpd restart" 4 | command.go.*.html=SUDO_ASKPASS=/usr/bin/ssh-askpass sudo -A bash -c "cp cgstat-fcgi.conf /etc/lighttpd/conf-available/10-cgstat-fcgi.conf; service lighttpd restart" 5 | -------------------------------------------------------------------------------- /cgstat-fcgi.conf: -------------------------------------------------------------------------------- 1 | # this goes into /etc/lighttpd/conf-available/ (local) or ~/.lighttpd.conf (tool labs) 2 | 3 | 4 | #debug.log-request-handling= "enable" 5 | # apparently i don't need all this crap -- just disable fastcgi handling for static files below... 6 | #server.modules += ("mod_rewrite") 7 | #alias.url+= ( 8 | # "^.*/static" => server.document-root + "/static", 9 | #) 10 | #url.rewrite-once+= ( 11 | # "^.*static/(.*)$" => "/cgstat/static/$1" 12 | #) 13 | 14 | 15 | 16 | # setup app fastcgi server 17 | #fastcgi.debug = 1 18 | $HTTP["url"] !~ "^/cgstat/static" { 19 | $HTTP["url"] !~ "hostmap" { 20 | fastcgi.server += ( 21 | "/cgstat" => 22 | (( 23 | "socket" => "/tmp/cgstat-fcgi.sock", 24 | "bin-path" => server.document-root + "/cgstat.fcgi", 25 | "check-local" => "disable", 26 | "max-procs" => 1 27 | )) 28 | ) 29 | } 30 | } 31 | 32 | # this will enable counters http://tools.wmflabs.org/catgraph/server-status (resp: .../server-statistics) 33 | server.modules += ("mod_status") 34 | status.status-url = "/cgstat/server-status" 35 | status.statistics-url = "/cgstat/server-statistics" 36 | -------------------------------------------------------------------------------- /static/erricon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 69 | -------------------------------------------------------------------------------- /templates/template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 || Graph Name | 110 |Host | 111 |Arcs | 112 |RSS | 113 |Virt | 114 |Age | 115 |
|---|---|---|---|---|---|
| {{ graph.name }} | {{ graph.host }} | 119 |120 | | 121 | | 122 | | 123 | |