From 2fcf2fb063a4bf6cae4dcb45f4e47600afb916bf Mon Sep 17 00:00:00 2001 From: octo Date: Sat, 25 Feb 2006 16:45:21 +0000 Subject: [PATCH] Cleaned up contrib/: Removed old scripts, museum, etc.. --- contrib/{museum => }/collection.cgi | 0 contrib/users | 34 ----------------------------- 2 files changed, 34 deletions(-) rename contrib/{museum => }/collection.cgi (100%) delete mode 100755 contrib/users diff --git a/contrib/museum/collection.cgi b/contrib/collection.cgi similarity index 100% rename from contrib/museum/collection.cgi rename to contrib/collection.cgi diff --git a/contrib/users b/contrib/users deleted file mode 100755 index 0514f93f..00000000 --- a/contrib/users +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -FILE="/var/lib/collectd/users.rrd" -HOST="" - -if [ -n "$SERVER_NAME" ]; then - HOST=$SERVER_NAME - echo "Content-Type: image/png"; - echo ""; -else - HOST=`hostname -f` -fi - -rrdtool graph - -a PNG -t "$HOST users" -v "Users" \ - -c "BACK#000000" \ - -c "SHADEA#000000" \ - -c "SHADEB#000000" \ - -c "FONT#dddddd" \ - -c "CANVAS#202020" \ - -c "GRID#666666" \ - -c "MGRID#aaaaaa" \ - -c "FRAME#202020" \ - -c "ARROW#ffffff" \ - "DEF:users_avg=$FILE:users:AVERAGE" \ - "DEF:users_min=$FILE:users:MIN" \ - "DEF:users_max=$FILE:users:MAX" \ - "AREA:users_max#804040" \ - "AREA:users_min#202020" \ - "LINE1:users_avg#ff0000:Users" \ - "GPRINT:users_min:MIN:%4.1lf Min," \ - "GPRINT:users_avg:AVERAGE:%4.1lf Average," \ - "GPRINT:users_max:MAX:%4.1lf Max," \ - "GPRINT:users_avg:LAST:%4.1lf Last\l" - -- 2.30.2