Skip to content

Instantly share code, notes, and snippets.

View strayer's full-sized avatar
🇺🇦
🕊

Sven Grunewaldt strayer

🇺🇦
🕊
View GitHub Profile
@strayer
strayer / gen-telegraf-vigor-snmp.conf
Created December 21, 2020 14:45
Generate telegraf.conf for Vigor DSL model ADSL SNMP
#!/usr/bin/env bash
set -Eeuo pipefail
# download http://www.circitor.fr/Mibs/Mib/A/ADSL-LINE-MIB.mib to $HOME/.snmp/mibs
NAMES=$(snmpwalk -m ALL -v2c -cpublic $VIGOR_IP | grep ADSL | cut -f1 -d' ')
for i in $NAMES; do
SHORTNAME=$(printf "$i" | cut -f3 -d":" | cut -f1 -d'.')
OID=$(snmptranslate -On "$i")
# This is the OpenMW user 'settings.cfg' file. This file only contains
# explicitly changed settings. If you would like to revert a setting
# to its default, simply remove it from this file. For available
# settings, see the file 'files/settings-default.cfg' in our source repo or the documentation at:
#
# https://openmw.readthedocs.io/en/master/reference/modding/settings/index.html
[Camera]
viewing distance = 48680
view over shoulder = true
start=Seyda Neen
skip-menu=0
no-sound=0
groundcover=Vurt's Groundcover - Reeds.esp
groundcover=Rem_GL.esp
groundcover=Rem_WG.esp
groundcover=Rem_AL.esp
groundcover=Rem_BC.esp