Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Net-SNMP Config - Advanced field missing
« previous
next »
Print
Pages: [
1
]
Author
Topic: Net-SNMP Config - Advanced field missing (Read 2454 times)
wer
Newbie
Posts: 4
Karma: 0
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
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Net-SNMP Config - Advanced field missing
«
Reply #1 on:
February 17, 2020, 11:01:00 am »
Hi,
As a general policy we do wish to not support advanced fields because they can be security and stability risks.
You can -- however -- and for the benefit of everyone else -- request a specific feature to be added via:
https://github.com/opnsense/plugins/issues/new/choose
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Net-SNMP Config - Advanced field missing