Re: SMUX problem and FreeRADIUS and x86_64
Taymour A. El Erian wrote: > Taymour A. El Erian wrote: > >> Thomas Anders wrote: >> >> >>> Taymour A. El Erian wrote: >>> >>> >>> I have a running setup on RHEL 3, FreeRADIUS 1.1.7 and Net-SNMP 5.0.9 on i386 and I can monitor RADIUS correctly. I have created the same setup on RHEL 5.1, FreeRADIUS 1.1.7, Net-SNMP 5.3 on x86_64 and FreeRADIUS can not connect to SNMP (connection refused). I have tried building Net-SNMP 5.4 and still the same problem. >>> Please try 5.4.1 which should work fine with FreeRADIUS as a SMUX subagent. >>> If it doesn't, what are the exact configuration settings and error messages >>> on both sides? >>> >>> >>> +Thomas >>> >>> >>> >>> >> I tried 5.4.1 before sending the email (sorry I forgot to say it is >> 5.4.1). I built it from the source (using your spec file) on RHEL 5.1 >> x86_64. It still does not work. >> >> here is the output of radiusd -x >> >> module: Instantiated radutmp (radutmp) >> main: smux_password = "password" >> main: snmp_write_access = no >> SMUX connect try 1 >> SMUX open oid: 1.3.6.1.4.1.3317.1.3.1 >> SMUX open progname: radiusd >> SMUX open password: password >> SMUX register oid: 1.3.6.1.2.1.67.1.1.1.1 >> SMUX register priority: -1 >> SMUX register operation: 1 >> SMUX register oid: 1.3.6.1.2.1.67.2.1.1.1 >> SMUX register priority: -1 >> SMUX register operation: 1 >> SMUX register message send failed: Connection reset by peer >> >> snmp.conf >> smux_password = password >> >> snmpd.conf >> >> smuxpeer .1.3.6.1.4.1.3317.1.3.1 password >> >> >> > one more thing I forgot to say that I had to add > --enable-ucd-snmp-compatibility while compiling otherwise freeradius > does not see snmp available during compilation > > Can you help with this ? -- Taymour A El Erian System Division Manager RHCE, LPIC, CCNA, MCSE, CNA TE Data E-mail: [EMAIL PROTECTED] Web: www.tedata.net Tel:+(202)-33320700 Fax:+(202)-33320800 Ext:1101 - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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: Disabling mibs
Hi, Succeeded to do it by the following: snmpd -I -ifXTable,ifTable,interfaces,system_mib,sysORTable Thanks On Wed, Apr 2, 2008 at 7:42 PM, Mike Ayers <[EMAIL PROTECTED]> wrote: > > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of oknets10 > > Sent: Tuesday, April 01, 2008 11:06 PM > > > No one can help with this ? please help. > > > oknets10 <[EMAIL PROTECTED]> escreveu: > > > > Hi, > > > > I'm trying to disable MIBs at the original snmpd. > > I have tried snmpd -I-hr_system for example, > > but this didn't work. > > Actually, I don't care to disable all MIBII, if > > it's possible ? > > If not, then how can I disable system, > > interfaces & rmon mibs ? > >I doubt that you can disable these if they've been built into the > system. However, you can edit your VACM tables such that those tables will > not be visible to anyone, which is externally indistinguishable from not > being there, provided you hide the VACM information (which you should > anyway) and retain all VACM authority. > >Other than that, you'd want to download sources and build with only > what you want to run. Great opportunity to upgrade! > > >HTH, > > Mike > - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ 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: SNMPv3 Help - Problems with user accounts. Trying to snmpwalk
Thanks for the replies - I managed to get the below snmpd -f .. cmd working - it outputs the following: read_config: storing: usmUser 1 3 0x80001f88808a8d595a63bdf847 0x6d797573657200 0x6d797573657200 NULL .1.3.6.1.6.3.10.1.1.2 0x8e08e613d2c40de5756a0c71653e38dc .1.3.6.1.6.3.10.1.2.2 0x8e08e613d2c40de5756a0c71653e38dc "" read_config: storing: setserialno 651478771 read_config: storing: ## read_config: storing: # # snmpNotifyFilterTable persistent data # read_config: storing: ## read_config: storing: read_config: storing: ## read_config: storing: # # ifXTable persistent data # read_config: storing: ifXTable .1 14:0 18:0x $ read_config: storing: ifXTable .2 14:0 18:0x $ read_config: storing: ifXTable .3 14:0 18:0x $ read_config: storing: ## read_config: storing: read_config: storing: engineBoots 1 read_config: storing: oldEngineID 0x80001f88808a8d595a63bdf847 NET-SNMP version 5.4.1 > No. > *Stop* the agent, but don't restart it. > > >> I can the snmpd -f -Le -Dread_config -Dusm, seemed to run fine >> although the last couple lines are as below - > >> Error opening specified endpoint "" >> Server Exiting with code 1 > > That's because you've already got an agent running > (sudo service snmpd start) > > You need: > sudo service snmpd stop > sudo snmpd -f -Le -Dread_config -Dusm > > > Dave _ Amazing prizes every hour with Live Search Big Snap http://www.bigsnapsearch.com - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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: SNMPv3 Help - Problems with user accounts. Trying to snmpwalk
Apologies, The command then continues to output the following line: "error getting netmask for interface 1" Nothing else. Daniel _ The next generation of Windows Live is here http://www.windowslive.co.uk/get-live - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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: SNMPv3 Help - Problems with user accounts. Trying to snmpwalk
However another attempt at the -f -Le -Dread_config -Dusm command shows the below output - completely different to my first, though i changed nothing. [EMAIL PROTECTED]:~$ sudo service snmpd stop [sudo] password for dano: Stopping network management services: snmpd snmptrapd. [EMAIL PROTECTED]:~$ sudo snmpd -f -Le -Dread_config -Dusm registered debug token read_config, 1 registered debug token usm, 1 netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() error getting netmask for interface 1 read_config: reading premib configuration tokens read_config: config path used for snmpd:/usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/home/dano/.snmp (persistent path:/var/net-snmp) read_config: config dir: /usr/local/etc/snmp read_config: Directory not present: /usr/local/etc/snmp read_config: config dir: /usr/local/share/snmp read_config: Reading configuration /usr/local/share/snmp/snmpd.conf read_config: /usr/local/share/snmp/snmpd.conf:1 examining: rwuser myuser read_config: /usr/local/share/snmp/snmpd.local.conf: No such file or directory read_config: config dir: /usr/local/lib/snmp read_config: Directory not present: /usr/local/lib/snmp read_config: config dir: /home/dano/.snmp read_config: Directory not present: /home/dano/.snmp read_config: config path used for snmpd:/var/net-snmp (persistent path:/var/net-snmp) read_config: config dir: /var/net-snmp read_config: Reading configuration /var/net-snmp/snmpd.conf read_config: /var/net-snmp/snmpd.conf:32 examining: usmUser 1 3 0x80001f88808a8d595a63bdf847 0x6d797573657200 0x6d797573657200 NULL .1.3.6.1.6.3.10.1.1.2 0x8e08e613d2c40de5756a0c71653e38dc .1.3.6.1.6.3.10.1.2.2 0x8e08e613d2c40de5756a0c71653e38dc "" read_config: /var/net-snmp/snmpd.conf:33 examining: setserialno 651478771 read_config: /var/net-snmp/snmpd.conf:45 examining: ifXTable .1 14:0 18:0x $ read_config: /var/net-snmp/snmpd.conf:46 examining: ifXTable .2 14:0 18:0x $ read_config: /var/net-snmp/snmpd.conf:47 examining: ifXTable .3 14:0 18:0x $ read_config: /var/net-snmp/snmpd.conf:51 examining: engineBoots 1 read_config: /var/net-snmp/snmpd.conf:52 examining: oldEngineID 0x80001f88808a8d595a63bdf847 read_config: Found a parser. Calling it: oldEngineID / 0x80001f88808a8d595a63bdf847 read_config: /var/net-snmp/snmpd.local.conf: No such file or directory read_config: config path used for agentx:/usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/home/dano/.snmp (persistent path:/var/net-snmp) read_config: config dir: /usr/local/etc/snmp read_config: Directory not present: /usr/local/etc/snmp read_config: config dir: /usr/local/share/snmp read_config: /usr/local/share/snmp/agentx.conf: No such file or directory read_config: /usr/local/share/snmp/agentx.local.conf: No such file or directory read_config: config dir: /usr/local/lib/snmp read_config: Directory not present: /usr/local/lib/snmp read_config: config dir: /home/dano/.snmp read_config: Directory not present: /home/dano/.snmp read_config: config path used for agentx:/var/net-snmp (persistent path:/var/net-snmp) read_config: config dir: /var/net-snmp read_config: /var/net-snmp/agentx.conf: No such file or directory read_config: /var/net-snmp/agentx.local.conf: No such file or directory read_config: config path used for snmp:/usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/home/dano/.snmp (persistent path:/var/net-snmp) read_config: config dir: /usr/local/etc/snmp read_config: Directory not present: /usr/local/etc/snmp read_config: config dir: /usr/local/share/snmp read_config: /usr/local/share/snmp/snmp.conf: No such file or directory read_config: /usr/local/share/snmp/snmp.local.conf: No such file or directory read_config: config dir: /usr/local/lib/snmp read_config: Directory not present: /usr/local/lib/snmp read_config: config dir: /home/dano/.snmp read_config: Directory not present: /home/dano/.snmp read_config: config path used for snmp:/var/net-snmp (persistent path:/var/net-snmp) read_config: config dir: /var/net-snmp read_config: /var/net-snmp/snmp.conf: No such file or directory read_config: /var/net-snmp/snmp.local.conf: No such file or directory read_config: reading normal configuration tokens read_config: config path used for snmpd:/usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/home/dano/.snmp (persistent path:/var/net-snmp) read_config: config dir: /usr/local/etc/snmp read_config: Directory not present: /usr/local/etc/snmp read_config: config dir: /usr/local/share/snmp read_config: Reading configuration /usr/local/share/snmp/snmpd.conf read_config: /usr/local/share/snmp/snmpd.conf:1 examining: rwuser myuser read_config: Found a parser. Calling it: rwuser / myuser read_co
Re: is there SNMP for embedded system?
Hi, I recently compiled net-snmp-5.4.1 for ARM using snapgear and its working as expected. I think this will work on any embedded system, you need to configure and compile it correctly. Configure and compilation is biggest task in this case. Vishal N On Sun, Apr 6, 2008 at 9:59 PM, Vishal Nandanwar <[EMAIL PROTECTED]> wrote: > Hi , > > I recently compiled net-snmp-5.4.1 for ARM using snapgear and its working > as expected. I think this will work on any embedded system, you need to > configure and compile it correctly. Configure and compilation is biggest > task in this case. > > Vishal N > > On Sun, Apr 6, 2008 at 11:28 AM, rakesh zingade <[EMAIL PROTECTED]> > wrote: > > > I did one project in which I embedded net-snmp on ARM board by using > > gcc cross-compilation methods. > > The source code is availabe so compile it accourding to your need > > > > > > On 4/4/08, Brian A. Seklecki <[EMAIL PROTECTED]> wrote: > > > > > > > > > On Fri, 2008-04-04 at 16:28 +0700, komang adi wrote: > > > > I want to know, is there any snmp design for embedded system from > > > > net-snmp?? > > > > > > code.google.com/p/bsd-appliance. I run the agent on all my builds. > > > > > > POSIX systems an embedded platforms can tend to be a conflict of > > > interest -- but we're making a lot of progress. > > > > > > ~BAS > > > > > > > for example, i have heard net-snmp for pebble linux, but now pebble > > > > linux is not support again, because superseded by Pyramid Linux. > > > > If any, what is it? > > > > thanks. > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > > > Komang. > > > > > > > - > > > > Check out the new SourceForge.net Marketplace. > > > > It's the best place to buy or sell services for > > > > just about anything Open Source. > > > > > > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > > > ___ 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 > > > > > > > > > > > > - > > > Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > > > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > > ___ > > > 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 > > > > > > > > > > > -- > > Rakesh P. Zingade > > +919420357790 > > > > - > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Register now and save $200. Hurry, offer ends at 11:59 p.m., > > Monday, April 7! Use priority code J8TLD2. > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > ___ > > 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 > > > > > - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ 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: Net-SNMP (ASAP)
On 03/04/2008, Umesh Kamath <[EMAIL PROTECTED]> wrote: > I have one more question. > While running snmpgetnext command i got "Encryption support not enabled" > Error. We have OpenSSL 0.9.8b 04 version in my system and during config > we used --with-openssl=/opt/perl_modules/bin/openssl also. I'm very surprised that your OpenSSL libraries are installed under /opt/perl_modules - OpenSSL isn't really related to perl anyway. What did the output of "configure" say about openssl support? It might be worth checking the file 'configure.log' which would indicate whether the OpenSSL support was recognised or not. Dave - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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: want some info??
On 01/04/2008, saroj kumar <[EMAIL PROTECTED]> wrote: > how do i set environment variable for my own private MIBS. > Export MIBS= No. You should set the environmental variable MIBS to the name(s) of the MIB *modules* - not the directory containing them. (This name is the token that follows DEFINITIONS in the MIB file). If you've copied the MIB files to the standard location (or to $HOME/.snmp/mibs), then that should be sufficient. If the MIB files are in a different location, then set the environmental variables MIBDIRS to point to this directory. > when i use mib2c > command it is saying that activeperl should be installed but it is already > installed in my system. Is it complaining that Active Perl should be installed, or that the SNMP modules should be installed? What is the exact error message? Dave - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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: Unknown token: smux
Le Samedi, 05 Avril 2008 15:56:36 +0200, Thomas Anders <[EMAIL PROTECTED]> a écrit : > lanas wrote: > > And then I chdir to /usr/local/sbin/ and: > > ./snmpd -Dsmux,smux_init,smux_conf > > > > [M1> /usr/local/share/snmp/snmpd.conf: line 14: Warning: Unknown > > token: smux. > > I cannot reproduce this over here. Are you sure you don't have any > other net-snmp installation on your system? What's the output of > > ldd /usr/local/sbin/snmpd I don't have this system now. But I've rebuild on a quite similar system (Fedora 8 x86) this one running inside VmWare. This time, instead of using the defalt /usr/local/ prefix I've specified /usr. And this time I do not see the warning as above. I'm still trying to make OSPF talk with net-snmp, though. Al - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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: Tables on agentx
On 02/04/2008, Vincent Royo <[EMAIL PROTECTED]> wrote: > I have the same data on each node, like number of disks, capacity, the > status of a dynamic set of services, etc. > The same mib is installed on all nodes. I think the correct way is to > use tables. Are these MIBs that you have defined, or ones that you have been given to work with? There are two basic approaches to splitting a MIB over several subagents. a) Use "contexts" to register parallel versions of the same MIB table(s) b) Have each subagent register one (or more) individual rows in the table > I create the table in the mib and create the generic code with mib2c; If you are using the first approach (parallel tables), then using mib2c to generate a table framework (using any of the table helpers) is sensible. If you are registering individual rows, then mib2c won't help you. In fact, don't think in terms of registering a table at all. Instead have each subagent reister one (or more) generic handlers. The secret here is to register an OID *slice*, rather than a single OID. The agent will combine these registrations to form an implicit table. Unfortunately there aren't any examples of this in the Net-SNMP code. > what is the structure of the code generated by mib2c when I use > mib2c.mfd.conf? Pass. You'd probably do best asking that on the IRC channel The MfD framework is Robert's baby, and he's the best one to answer that question. > What is the difference between container and cache? The "container" is effectively the table. It's a structure that contains information about the individual rows (including the row data itself, the index of that row, etc) The "cache" is a structure used to decide whether the contents of the table are OK to use, or whether it is "too old" and should be reloaded. Dave - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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: Unknown token: smux
lanas wrote: > I don't have this system now. But I've rebuild on a quite similar > system (Fedora 8 x86) this one running inside VmWare. This time, > instead of using the defalt /usr/local/ prefix I've specified /usr. > And this time I do not see the warning as above. > > I'm still trying to make OSPF talk with net-snmp, though. Could you try it on the VM system, please? +Thomas - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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