1
20.1 Legacy Series / Net-SNMP Config - Advanced field missing
« on: February 17, 2020, 10:41:09 am »
Hi there
I am missing a "Advanced" field in the Net-SNMP config page.
Purpose of this is for example to add a custom SNMP MIB for external temperature monitoring.
Adding it to /usr/local/share/snmp/snmpd.conf works, but SSH access is required.
Example to add:
extend cpuTemp0 /sbin/sysctl dev.cpu.0.temperature | /usr/bin/sed 's/dev.cpu.0.temperature: //g' | /usr/bin/sed 's/C//g'
extend smartHealth0 /usr/local/sbin/smartctl --health /dev/ada0 | sed -n -e 's/^.*result: //p'
Editing the snmp settings removes the manually added lines.
Would it be possible to add this field to the GUI ?
Regards,
wer
I am missing a "Advanced" field in the Net-SNMP config page.
Purpose of this is for example to add a custom SNMP MIB for external temperature monitoring.
Adding it to /usr/local/share/snmp/snmpd.conf works, but SSH access is required.
Example to add:
extend cpuTemp0 /sbin/sysctl dev.cpu.0.temperature | /usr/bin/sed 's/dev.cpu.0.temperature: //g' | /usr/bin/sed 's/C//g'
extend smartHealth0 /usr/local/sbin/smartctl --health /dev/ada0 | sed -n -e 's/^.*result: //p'
Editing the snmp settings removes the manually added lines.
Would it be possible to add this field to the GUI ?
Regards,
wer