opnsense / plugins

OPNsense plugin collection
https://opnsense.org/
BSD 2-Clause "Simplified" License
845 stars 639 forks source link

NET-SNMP: Add advanced configurations dialog to config screen #3964

Closed camsaway closed 6 months ago

camsaway commented 6 months ago

Important notices Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe. There is additional data that I would like to expose via SNMP (specifically CPU and SSD temps exposed from sysctl and smartctl). To do so I need to add extend commands to the snmpd.conf file that will not be overwritten on saving new settings.

Describe the solution you'd like I would like a textbox "advanced configurations" added to the Settings screen for Net-SNMP

Describe alternatives you've considered

Additional context I'm relatively new to OPNSense, so if there is an easier way to achieve what I want, please let me know. I have spent literally days googling for answers and options on this one. I'm not a coder, but I'm even prepared to try to create a PR to do this if someone can assist me. Adding the AgentX support didn't look like a big change and I believe there are other text box config options I could look to as an example on how to do it.

fichtner commented 6 months ago

This is against our established security guideline. If you need custom configuration either use the template override, provide feature request or PR for individual options, or use the package manually without the plugin.

Cheers, Franco

camsaway commented 6 months ago

Thank you @fichtner both for the VERY prompt response and guidance. I'll give template overrides a go.