[erlang-bugs] snmp:config() error

Sergey Yelin <>
Tue May 31 12:36:33 CEST 2011


Hi,

trying to setup simple snmp agent and manager via snmp:config() as described
in "Simple Network Management Protocol (SNMP) 4.20" PDF file (leaving
missing lines with defaults) with no luck. Here is error report:

8. Current configuration files will now be overwritten. Ok (y/n)? [y]

- - - - - - - - - - - - -
The following manager files were written: manager.conf, agents.conf ,
users.conf and usm.conf
- - - - - - - - - - - - -

--------------------
Configuration directory for system file (absolute path)? [/home/selin]
/home/selin/Projects/snmp
{error,
    {failed,
        {'EXIT',
            {function_clause,
                [{snmp_config,write_sys_config_file_manager_atl_opt,
                     [<0.66.0>,{seqno,false}]},
                 {snmp_config,write_sys_config_file_manager_atl_opts,2},
                 {snmp_config,write_sys_config_file_manager_opt,2},
                 {snmp_config,write_sys_config_file_manager_opts,2},
                 {snmp_config,write_sys_config_file_service,2},
                 {snmp_config,write_sys_config_file_services,2},
                 {snmp_config,write_sys_config_file,2},
                 {snmp_config,config2,0}]}}}}

But this configuration method works well without configuring audit trail log
both for agent and manager.

Checked on Erlang 14B03 and 14B02.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20110531/ebbf595c/attachment.html>


More information about the erlang-bugs mailing list