commit 5851e9cb55d25753149b3a1717b7259ab0ebd278 from: mischa date: Sun Sep 24 12:08:08 2023 UTC changes commit - 2c6743b8db2ffec7c6e09457bd0259d143de2885 commit + 5851e9cb55d25753149b3a1717b7259ab0ebd278 blob - /dev/null blob + 1174c391a5aa6dccdb0977fb3aeb9483813a9afc (mode 644) --- /dev/null +++ .gitignore @@ -0,0 +1 @@ +snmp.conf blob - /dev/null blob + cb98fa445b68d892cc878b4b9e46acc7e470e39c (mode 755) --- /dev/null +++ snmp.conf-sample @@ -0,0 +1,13 @@ +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')