rrdtool/snmp.conf-sample

14 lines
442 B
Plaintext
Executable File

AUTHPASS="password123"
USER="mgmt"
PRIVPASS="321drowssap"
RRDFILES="/home/mischa/rrd"
IMAGES="/var/www/rrdtool/obsda.ms"
WATERMARK="OpenBSD Amsterdam - https://obsda.ms"
RRDTOOL="/usr/local/bin/rrdtool"
CPUINFO="/tmp/${HOST}-cpu.txt"
UPTIMEINFO="/tmp/${HOST}-uptime.txt"
VERSIONINFO="/tmp/${HOST}-version.txt"
UPTIME=$(cat /tmp/${HOST}-uptime.txt)
VERSION=$(cat /tmp/${HOST}-version.txt)
NOW=$(date "+%Y-%m-%d %H:%M:%S %Z" | sed 's/:/\\:/g')