Unknown user name - again!
Hi - I'm trying to talk to an APC power rail: using NET-SNMP version 5.3.0.1 snmpwalk -v 3 -u myuser -l authNoPriv -a MD5 -A myuserpowermyuserapc -c public 10.10.4.113 I recieve snmpwalk: Unknown user name I also get this every 30 seconds: error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) I have set up the user on the server thusly: # net-snmp-config --create-snmpv3-user -a "aoscpoweruserapc" aoscpower adding the following line to /var/net-snmp/snmpd.conf: createUser myuser MD5 "myuserpowermyuserapc" DES adding the following line to /usr/local/share/snmp/snmpd.conf: rwuser myuser all files have the lines specified. I start the daemon: snmpd -f -Le -Dread_config -Dusm & and get: read_config: /var/lib/net-snmp/snmpd.conf:1 examining: createUser myuser MD5 "myuserpowermyuserapc" DES read_config: Found a parser. Calling it: createUser / myuser MD5 "aoscpoweruserapc" DES usmUser: created a new user myuser but later get: (don't know if significant) read_config: /var/lib/net-snmp/snmp.local.conf: No such file or directory net-snmp: 1 error(s) in config file(s) read_config: storing: # # net-snmp (or ucd-snmp) persistent data file. # # STOP STOP STOP STOP STOP STOP STOP STOP STOP # # DO NOT EDIT THIS FILE # # STOP STOP STOP STOP STOP STOP STOP STOP STOP ## etc etc .. IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ 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
SNMP MIB Object
Hi, I have to define an alert as a MIB object. The object has a set of variables. For one of the variables I need to add a tag inorder to differentiate one set of alerts from another. How can I do the same? Also what change will be required to be made to the MIB. Thanks "No task is so humble that it does not offer an outlet for individuality" "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error,please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ 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
Re: Compiling a agent extension under Linux
Hi, On Mon, Mar 16, 2009 at 5:54 PM, Dave Shield wrote: > 2009/3/16 Rodolfo Leffa : > >> [init_KhompData] should also appear in > agent/mibgroup/mib_module_inits.h > > > > This file only exists in win32/ folder of my net-snmp sources. Nothing > like > > that on net-snmp\agent\mibgroup\ > > In which case there is definitely something strange about your copy > of "configure". This should generate agent/mibgroup/mib_module_inits.h > at the same time that it generates agent/mibgroup/mib_module_includes.h > > If that file isn't there, then you shouldn't be able to compile the > software. My mistake here. The file was there. But without a line to init my module. By the way, i've download the sources again and runned configure --with-mib-modules=KhompData and again it only put a commented line in mib_modules_includes.h and nothing on mib_modules_init.h . After that, I rename my source file KhompData.cpp to KhompData.c and runned configure again. And that works. The line was uncommented on includes and there was a " if (should_init("KhompData")) init_KhompData(); " on mib_modules_init.h . BUT, i can't compile (make) the sources now because there are some C++ structures defined on my code. Anybody knows a solution to this? Without having to convert and data structures and code to C style ;-) thanks > > Dave > -- Rodolfo Leffa de Oliveira -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ 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
Re: MIB supported by net snmp 5.4.2.1
2009/3/17 sanjaykumar : > I am looking at different MIB doc and RFC supported under > net-snmp5.4.2.1 Please see http://www.net-snmp.org/docs/mibs/ All of your questions are covered by the information listed there. > What about system group. Is it supported as per rfc1213 or rfc3418 ? What's the difference? All of the RFC 1213 system objects appear in RFC 3418, with exactly the same semantics. What difference does it make where you take the specification from? Dave -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ 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
MIB supported by net snmp 5.4.2.1
Hi All, I am looking at different MIB doc and RFC supported under net-snmp5.4.2.1 I have some doubt regarding IPV6 MIB. As I found different part of this as IPV6-MIB, IPV6-UDP-MIB, IPV6-TCP-MIB, Are all this part of RFC4293 or they are separate RFC( ?) number ? What about system group. Is it supported as per rfc1213 or rfc3418 ? Thanks and Regards, Sanjay Kumar -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ 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