hercules-team / augeas

A configuration editing tool and API
http://augeas.net/
GNU Lesser General Public License v2.1
486 stars 199 forks source link

snmpd lenses #304

Open denbekker opened 9 years ago

denbekker commented 9 years ago

Hello,

would it be possible to create a snmpd lens for augeas ?? I am trying to parse the /etc/snmp/snmpd.conf or the /etc/snmp/snmpd.local.conf.. And it looks like this:

e.g.

exec name check_logfiles usr/lib/nagios/plugins/check_logfiles --config /usr/lib/nagios/templates/test.conf

When I use augtool print /files/etc/snmp/snmp.conf it just returns nothing ..

Or does such a lens already exist ??

Thnx,

raphink commented 9 years ago

There is no snmp lens yet indeed. I don't see what could prevent from writing one.