Re: Perl SNMP module does not read snmp/hosts/ configs

2015-04-06 Thread Bill Fenner
Try: SNMP::register_debug_tokens("read_config,snmp_build,snmp_send,snmpv3"); $SNMP::debugging = 2; to see what it's doing. In theory the per-host files are read deep inside the transport, which perl can't avoid using, but using the debugging may help see what's happening. When I was reading the

Re: NEt-SNMP questions

2015-04-06 Thread Matthew G. Marsh
I am using 5.7.2 and it works flawlessly. Not sure what John was running. He seemed to be asking how to do the snmp_conf_Dir/hosts/XXX files. I am asking in a separate thread about the Perl module (SNMP) that ships with Net-SNMP and whether it should read those hosts files. The Readme states t

Re: NEt-SNMP questions

2015-04-06 Thread Bill Fenner
What net-snmp version are you using? https://sourceforge.net/p/net-snmp/bugs/2611 seems to have established that while these files are read, they have no effect in net-snmp 5.7.3 because the security parameters are read from the data store before the file is read. Bill On Sat, Apr 4, 2015 at 1