Can snmpd give custom responses to a non authenticated client? I would like it when I do
snmpgetnext -v1 -On -c public 127.0.0.1 1.3.6.1.4.1.2699.1.2 that I get .1.3.6.1.4.1.2699.1.2.1.1.1.0 = STRING: "en-US" as a response. I have read the manual but it is unclear to me how to implement this I tried adding "extend .1.3.6.1.4.1.2699.1.2.1.1.1.0 lang /scripts/response.sh lang" to the /etc/snmp/snmpd.conf and restarting snmpd and created /scripts/response.sh to reply with en-US with the lang argument but snmpd still responds with Error in packet. Reason: (noSuchName) There is no such variable name in this MIB. Failed object: .1.3.6.1.4.1.2699.1.2 here is my /etc/snmp/snmpd.conf com2sec notConfigUser default public group notConfigGroup v1 notConfigUser group notConfigGroup v2c notConfigUser view systemview included .1.3.6.1.2.1.1 view systemview included .1.3.6.1.2.1.25.1.1 access notConfigGroup "" any noauth exact systemview none none view all included .1 80 syslocation Unknown (edit /etc/snmp/snmpd.conf) syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf) dontLogTCPWrappersConnects yes extend .1.3.6.1.4.1.2699.1.2.1.1.1.0 lang /scripts/response.sh lang ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users