It should be the right suggestion, also the docs reported about this feature. But for now it didn't work ( I have net-snmp 5.0.8 revision, mybe it is too older ? )
When I added the proxy inside the config file the snmpd daemon crash. The last rows in the log files are reported belowe: BTW in this example I change the oid 17377 to 50 so : proxy localhost .1.3.6.1.4.1.9999 .1.3.6.1.4.1.50 ....... read_config: /usr/local/share/snmp/snmpd.conf:154 examining: file /var/log/snmp.conf.log 123000 trace: run_config_handler(): read_config.c, 345 read_config: Found a parser. Calling it: file / /var/log/snmp.conf.log 123000 trace: read_config(): read_config.c, 623 read_config: /usr/local/share/snmp/snmpd.conf:160 examining: proxy localhost .1.3.6.1.4.1.9999 .1.3.6.1.4.1.50 trace: run_config_handler(): read_config.c, 345 read_config: Found a parser. Calling it: proxy / localhost .1.3.6.1.4.1.9999 .1.3.6.1.4.1.50 trace: proxy_parse_config(): ucd-snmp/proxy.c, 75 proxy_config: entering trace: proxy_parse_config(): ucd-snmp/proxy.c, 87 proxy_args: final args: 0 = snmpd-proxy trace: proxy_parse_config(): ucd-snmp/proxy.c, 87 proxy_args: final args: 1 = (null) trace: proxy_parse_config(): ucd-snmp/proxy.c, 87 proxy_args: final args: 2 = localhost trace: proxy_parse_config(): ucd-snmp/proxy.c, 87 proxy_args: final args: 3 = .1.3.6.1.4.1.9999 trace: proxy_parse_config(): ucd-snmp/proxy.c, 90 proxy_config: parsing args: 4 trace: snmp_parse_args(): snmp_parse_args.c, 198 snmp_parse_args: starting: 5/4 trace: snmp_parse_args(): snmp_parse_args.c, 200 snmp_parse_args: arg 0 = snmpd-proxy trace: snmp_parse_args(): snmp_parse_args.c, 200 snmp_parse_args: arg 1 = (null) trace: snmp_parse_args(): snmp_parse_args.c, 200 snmp_parse_args: arg 2 = localhost trace: snmp_parse_args(): snmp_parse_args.c, 200 snmp_parse_args: arg 3 = .1.3.6.1.4.1.9999 regards, Enzo -----Messaggio originale----- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Dave Shield Inviato: lunedì 30 ottobre 2006 14.56 A: Enzo Arlati Cc: [EMAIL PROTECTED] Sourceforge. Net (E-mail) Oggetto: Re: reuse an enterprize extension with a different enterprize ID On 30/10/06, Enzo Arlati <[EMAIL PROTECTED]> wrote: > I have my own enterprize agent extention with my own enetrprise ID 17377 > Now I need to call the same agent data using a differet enetrprise ID ( es. > 9999 ) > It's require tha a call like this: > $ snmpwalk -Ofn myHostAgent .1.3.6.1.4.1.9999 > give the same output I should get whit a query on ID 17377. Untested, but you could try using "proxy" to map one subtree onto the other Something like proxy localhost .1.3.6.1.4.1.9999 .1.3.6.1.4.1.17377 Dave ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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