Net-SNMP 5.4.3.rc2 and 5.2.6.rc2 available for testing

2010-04-09 Thread Dave Shield
New release candidate versions of the 5.4.x and 5.2.x packages are now available from the SourceForge download servers. The main changes since the rc1 versions are: - Proper handling of multiple matching VACM entries (using the "best match" rather than the first one seen) This could

Re: If up/down notification

2010-04-09 Thread Dave Shield
On 9 April 2010 16:30, Kavita Raghunathan wrote: > I notice that if up/down is only invoked from the ifTable_container_load > function. Correct. That's the routine which looks at information about interfaces status and statistics, so is the natural place to spot changes in status, and hence trigg

Re: "failed to run mteTrigger query" due to AgentX

2010-04-09 Thread Dave Shield
On 9 April 2010 18:36, X Z wrote: > Can you confirm if the following patch is the fix for the problem? > 2008-06-10 14:37  dts12 >    *  agent/mibgroup/utilities/iquery.c, >       include/net-snmp/library/snmp_api.h, snmplib/snmp_client.c: >    snmpd: PATCH: 1918383: Fix DisMan monitoring of Agent

RE: Help on Index ou t of range error ‏

2010-04-09 Thread X Z
Hi Dave, Thank you very much for the detailed explanation. Making the change as you suggested DOES solve the problem. Thank you again for your help! Xuan > Date: Fri, 9 Apr 2010 13:46:05 +0100 > Subject: Re: Help on Index out of range error ‏ > From: d.t.shi...@liverpool.ac.uk > To: b...@live.co

RE: "failed to run mteTrigger query" due to AgentX

2010-04-09 Thread X Z
Can you confirm if the following patch is the fix for the problem? 2008-06-10 14:37 dts12 * agent/mibgroup/utilities/iquery.c, include/net-snmp/library/snmp_api.h, snmplib/snmp_client.c: snmpd: PATCH: 1918383: Fix DisMan monitoring of AgentX subagents Note that this doesn't act

RE: delay in trap management

2010-04-09 Thread Mike Ayers
> From: Javier González Lázaro [mailto:jagon...@yahoo.es] > Sent: Thursday, April 08, 2010 10:53 PM > Everything works fine with one exception: when receiving simultaneous > traps, snmptrapd is not capable of manage them simultaneously and there > is a delay of 40sg between them. I have to say tha

If up/down notification

2010-04-09 Thread Kavita Raghunathan
Hello, I notice that if up/down is only invoked from the ifTable_container_load function. This function is called only during initialization. So, this seems to indicate that the if up down notification will only be sent out the first time the software starts up. What about subsequent interface u

Re: No OID's for hrDeviceStatus in HOST-RESOURCES-MIB of net-SNMP agent(RHEL, Solaris)

2010-04-09 Thread Dave Shield
On 8 April 2010 10:34, Evgeny Nagaev wrote: > Now what I see from my SNMP Agent is that I don't have in hrDeviceEntry > column named hrDeviceStatus. This MIB object is only implemented for selected categories of device. In particular, Network interfaces, CPUs and (ish) printers. There is no code

Re: Help on Index out of range error ‏

2010-04-09 Thread Dave Shield
2010/4/7 X Z : > Here are the original c & h files. The problem lies with the registration of the table. In particular, how you specified the list of indexes. You had: netsnmp_table_helper_add_indexes(table_info, ASN_UNSIGNED, 1); which should have been netsnmp_table_helper_add_indexes

RE: ": No such file or directory" error message from snmpd

2010-04-09 Thread Perzon Berry
> See the routines "Init_HR_FileSys" and "Get_Next_HR_FileSys" in the file mentioned above. Probably lines 592-613 and 695-700 (or somewhere around there) >The variables it uses (aixmnt, aixcurr and HRFS_entry) are defined towards the top of the same file (line 136ff) Thanks for the help. I f

Re: ": No such file or directory" error message from snmpd

2010-04-09 Thread Dave Shield
On 9 April 2010 12:44, Perzon Berry wrote: >> Checking the code (agent/mibgroup/host/hr_filesys.c), AIX seems to use >> the system call "mntctl()" to retrieve the list of mounted filesystems. > I'm unfamiliar with the net-snmp code. As far as I can see, the > "mntctl()" is used to determine the a

SV: ": No such file or directory" error message from snmpd

2010-04-09 Thread Perzon Berry
> Check what filesystems are mounted on the systems in question, and compare this against a working setup. Compared it to the working servers, and it looks the same. Nothing wrong in /etc/filesystems. The mount, lsfs and df commands shows the same information when comparing to a system with the sam

Re: create table with pass directive

2010-04-09 Thread Dave Shield
On 8 April 2010 18:12, Michael Musenbrock wrote: > If I do a snmpwalk on that oid, it looks quite ok for me: > > # start Snmpwalk output ## > > # snmpwalk -mALL -v2c -c public -Os localhost .1.3.6.1.4.1.232.6.2.7.2 > cpqHePostMsgIndex.1 = INTEGER: 1 > cpqHePostMsgIndex.2 = INTEGER: 2 >

Re: ": No such file or directory" error message from snmpd

2010-04-09 Thread Dave Shield
On 9 April 2010 08:51, Perzon Berry wrote: > I'm facing a problem with net-snmp V5.4.1, compiled from source. Same > compiled binaries is installed on 50 AIX 6.1 servers. All servers have the > same TL/SP level, and from my point of view, configured in the same way. On > six of the servers, I get

Re: Seg fault when querying for the UDP table

2010-04-09 Thread Dave Shield
On 9 April 2010 01:23, Malathi Panyam wrote: > I would like to mention that When I try the same on Ubuntu machine everything > works fine, when I try to move the code to the target machine, which runs the > linux with OpenWRT I am seeing the segfault.. It might have been useful if you had mention

Re: Removing default MIBs

2010-04-09 Thread Dave Shield
On 8 April 2010 17:51, Mike Ayers wrote: >> From: Ishika Mahajan [mailto:ishu.maha...@gmail.com] >> Sent: Wednesday, April 07, 2010 11:31 PM > >> We have created a sb-agent and do not want to expose information by >> default mibs. >> For example we have following mibs file which we do not want: >>

Re: "failed to run mteTrigger query" due to AgentX

2010-04-09 Thread Dave Shield
On 8 April 2010 15:47, X Z wrote: > I searched through the email lists and find out that I am experiencing the > same problems as described below: > [Dave Shield] OK - I've managed to reproduce the problem using the > latest development code. It definitely looks as if there is > some incompatab

Re: Can't change OID value

2010-04-09 Thread Fokusas
Hi again, Ok, i have TEST-MIB.txt (i loaded it to /usr/share/snmp/mibs/TEST-MIB. txt), compiled TEST-MIB (/usr/local/share/mibs/ietf/TEST-MIB), and subagent on SNMP4J agentx lib. But it still not work. What do i done wrong? 2010/3/25 Dave Shield > On 25 March 2010 13:18, Fokusas wrote: > >> H

Net snmp sysObjectID returning wrong value Solaris 10

2010-04-09 Thread SREENIVAS P
Hi, We have recently compiled net-snmp on sun solaris 10.The problem we are facing is we are getting wrong sysObjectID when we do a query bash-2.05$ snmpwalk -v2c -c pblic 1.1.1.1 .1.3.6.1.2.1.1.2.0 SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::org bash-2.05$ ./sm_snmp -c public -d 1.1.1.1 get

Re: Seg fault when querying for the UDP table

2010-04-09 Thread Malathi Panyam
Hi Dave,   It may not be possible to use a newer version of Net SNMP as we are about the release the product soon.. I would like to mention that When I try the same on Ubuntu machine everything works fine, when I try to move the code to the target machine, which runs the linux with

": No such file or directory" error message from snmpd

2010-04-09 Thread Perzon Berry
Hello I'm facing a problem with net-snmp V5.4.1, compiled from source. Same compiled binaries is installed on 50 AIX 6.1 servers. All servers have the same TL/SP level, and from my point of view, configured in the same way. On six of the servers, I get a message saying ": No such file or directory