- When I build a new agent object with new NetSNMP::agent(Name => 'myAgent'),
apparently the library does not read the configuration file called myAgent.conf, even if
the file is located in the SNMP_HOME directory. Instead it reads the snmp.conf file. But
the real problem is that it does not seem to take into account what there is in the
snmp.conf file. For instance, the community is not used (the snmp manager can give a
wrong community, the agent answers to the request), the port is not used (instead, it
tries to open the 161 one), idem for the version, ... Is there a mistaske with my
configuration file :
defaultPort 5000
defVersion 2c
defCommunity myCommunity
See the snmpd.conf(5) man page. Rather use "agentaddress" and "rocommunity"/"rwcommunity" directives. (There's no run-time directive
for the version, since it uses whatever the client asks for.)
+Thomas
-- Thomas Anders <[EMAIL PROTECTED]>
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
