Commit Diff


commit - 6154cf3218f09c3539521672f1c23d28c0d7f38a
commit + e8dbe8bdadf44c6ff8da31a962917773f65cfebd
blob - 2bb32e1eb58e66e29e5ce7cbfd57ba9dfc55de3a
blob + bf0e38d1fb7a1488caaada10bccda91089fcf51f
--- cores.sh
+++ cores.sh
@@ -17,6 +17,7 @@ HOST="$1"
 COMMUNITY="public"
 RRDFILES="/var/rrdtool"
 IMAGES="/var/www/htdocs"
+WATERMARK="OpenBSD Amsterdam - https://obsda.ms"
 RRDTOOL="/usr/local/bin/rrdtool"
 CPUINFO="/tmp/${HOST}-cores.txt"
 UPTIME=$(cat /tmp/${HOST}-uptime.txt)
@@ -53,7 +54,7 @@ ${RRDTOOL} graph ${IMAGES}/${HOST}-cores.png \
 	--start -432000 \
 	--title "${HOST} - CPU" \
 	--vertical-label "% CPU Used" \
-	--watermark "OpenBSD Amsterdam - https://obsda.ms" \
+	--watermark "${WATERMARK}" \
 	DEF:CORE0=${RRDFILES}/${HOST}-cores.rrd:ds0:AVERAGE \
 	DEF:CORE1=${RRDFILES}/${HOST}-cores.rrd:ds1:AVERAGE \
 	DEF:CORE2=${RRDFILES}/${HOST}-cores.rrd:ds2:AVERAGE \
blob - 4363ea772f6b630270073574e2a93198d9b6afac
blob + 6fc1eb8845df8c84fb9809bb69cf823509c2af8d
--- cpu_load.sh
+++ cpu_load.sh
@@ -17,6 +17,7 @@ HOST="$1"
 COMMUNITY="public"
 RRDFILES="/var/rrdtool"
 IMAGES="/var/www/htdocs"
+WATERMARK="OpenBSD Amsterdam - https://obsda.ms"
 RRDTOOL="/usr/local/bin/rrdtool"
 CPUINFO="/tmp/${HOST}-cpu.txt"
 UPTIME=$(cat /tmp/${HOST}-uptime.txt)
@@ -42,7 +43,7 @@ ${RRDTOOL} graph ${IMAGES}/${HOST}-cpu.png \
 	--start -43200 \
 	--title "${HOST} - CPU" \
 	--vertical-label "% CPU Used" \
-	--watermark "OpenBSD Amsterdam - https://obsda.ms" \
+	--watermark "${WATERMARK}" \
 	DEF:CPU=${RRDFILES}/${HOST}-cpu.rrd:ds0:AVERAGE \
 	AREA:CPU#FFCC00 \
 	LINE2:CPU#CC0033:"CPU" \
blob - 4084f4cb196551179d2aff7a09193bf4b47c4009
blob + 5485c41eaa7df712238d7149bfa1a98811c11569
--- interface.sh
+++ interface.sh
@@ -19,6 +19,7 @@ INTERFACE="$2"
 COMMUNITY="public"
 RRDFILES="/var/rrdtool"
 IMAGES="/var/www/htdocs"
+WATERMARK="OpenBSD Amsterdam - https://obsda.ms"
 RRDTOOL="/usr/local/bin/rrdtool"
 UPTIME=$(cat /tmp/${HOST}-uptime.txt)
 NOW=$(date "+%Y-%m-%d %H:%M:%S %Z" | sed 's/:/\\:/g')
@@ -50,7 +51,7 @@ ${RRDTOOL} graph ${IMAGES}/${HOST}-${INTERFACE}.png \
 	--start -43200 \
 	--title "${HOST} - ${DESCR}" \
 	--vertical-label "Bits per Second" \
-	--watermark "OpenBSD Amsterdam - https://obsda.ms" \
+	--watermark "${WATERMARK}" \
 	DEF:IN=${RRDFILES}/${HOST}-${INTERFACE}.rrd:ds0:AVERAGE \
 	DEF:OUT=${RRDFILES}/${HOST}-${INTERFACE}.rrd:ds1:AVERAGE \
 	CDEF:IN_CDEF="IN,8,*" \