Re: Problems to get DISMAN-PING-MIB results

2009-09-23 Thread Peter Hicks
Charles Liu wrote: > (4) The problem is that there is no information about the Ping Results. > > Does someone know how to get the ping results? Have you tried looking in DISMAN-PING-MIB::pingResultsTable? Poggs -- Com

how to use net-snmp in cramfs

2009-09-23 Thread Raghu Ramaraj
hi, We would like to have net-snmp in read only file system (cramfs). what are the things need to do? In our file system, only /tmp has R/W access .If i run snmpd, it is writing some files under /var/net-snmp/and also using /var/agentx/... is it possible to redirect from /var to /tmp

Re: Handling the inform request

2009-09-23 Thread sanjaykumar
Wes Hardaker wrote: On Wed, 23 Sep 2009 12:54:10 +0530, sanjaykumar said: s> what about the different API available in agent/agent_trap.c ? If you're writing code within the agent, you should be

Problems to get DISMAN-PING-MIB results

2009-09-23 Thread Charles Liu
Hi: (1) I have installed "net-snmp-5.4.2.1.tar.gz" with enabling of disman-ping (2) I was able to do the following: snmpset -v 2c -c private localhost pingCtlRowStatus.6.107.97.106.116.122.117.3.65.66.67 = 6 snmpset -v 2c -c private localhost pingCtlRowStatus.6.107.97.106.116.122.117.3.65.66.67

Re: Error with net-snmp on Solaris 9 sparc

2009-09-23 Thread Thomas Anders
Burkhardt, Chris wrote: > #0 0xff3b05c8 in memcpy () >from /usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1 > (gdb) bt > #0 0xff3b05c8 in memcpy () >from /usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1 > #1 0xff1f1508 in getMibstat (grid=MIB_INTERFACES, resp=0xffbfeb48, > entry

snmp-readonly file system

2009-09-23 Thread Raghu Ramaraj
hi, We would like to have net-snmp in read only file system (cramfs). what are the things need to do? In our file system, only /tmp has R/W access .If i run snmpd, it is writing some files under /var/net-snmp/and also using /var/agentx/... is it possible to redirect from /var to /tmp

Re: delegated and getbulk

2009-09-23 Thread Wes Hardaker
> On Wed, 23 Sep 2009 11:35:19 +1000, John Fisher > said: JF> Should the delayed instance example process MODE_GETBULK in the same way as MODE_GET and MODE_GETNEXT, except with the extra call to netsnmp_bulk_to_next_fix_requests(requests)? JF> http://www.net-snmp.org/dev/agent/delayed

Re: Handling the inform request

2009-09-23 Thread Wes Hardaker
> On Wed, 23 Sep 2009 12:54:10 +0530, sanjaykumar > said: s> what about the different API available in agent/agent_trap.c ? If you're writing code within the agent, you should be using the agent's API for sending traps. See the agent/mibgroup/examples/notification.c for an example. --

Re: SNMPv3 user authentication failure

2009-09-23 Thread Wes Hardaker
> On Wed, 23 Sep 2009 16:49:06 +0900, ±èÀº¿µ > said: k> This is some part of /usr/local/share/snmp/snmpd.conf: k> createUser jupiter MD5 my_password DES k> rouser jupiter k> And I requested sysUpTime.0 on the same host like this: k> snmpget -v3 -u jupiter -l authNoPriv -a MD5 -A my_pass

RE: agent_check_and_process: select info

2009-09-23 Thread Sam V
Is this issue being followed up? Is there at least a ticket submitted? From: sbazd...@hotmail.com To: net-snmp-users@lists.sourceforge.net Subject: RE: agent_check_and_process: select info Date: Wed, 16 Sep 2009 16:22:24 -0400 I agree. On an embedded system, there are application

Re: Error with net-snmp on Solaris 9 sparc

2009-09-23 Thread Wes Hardaker
> On Wed, 23 Sep 2009 17:55:29 +0200, Thomas Anders > said: TA> Thanks. Are you able to provide the requested back trace anytime TA> soon? Otherwise I don't see the slightest chance to get a potential TA> fix into the upcoming 5.5 release. I agree this is looking more and more likely to

Re: Changing snmpconf path

2009-09-23 Thread Wes Hardaker
> On Wed, 23 Sep 2009 10:09:31 +0300, "Deniz Aydin" > said: DA> Hi Wes thanks for reply, DA> These are the configuration files ; That's not what I meant actually. I mean do you have a /usr/local/sbin/snmptrapd and a /usr/sbin/snmptrapd? -- Wes Hardaker Cobham Analytic Solutions -

Re: Error with net-snmp on Solaris 9 sparc

2009-09-23 Thread Thomas Anders
Burkhardt, Chris wrote: > Here are the results of running some more tests: Thanks. Are you able to provide the requested back trace anytime soon? Otherwise I don't see the slightest chance to get a potential fix into the upcoming 5.5 release. +Thomas --

RE: Error with net-snmp on Solaris 9 sparc

2009-09-23 Thread Burkhardt, Chris
Here are the results of running some more tests: 1st time: failure after multicast 224.0.0.0 (IP-MIB::ipNetToMediaIfIndex.4.224.0.0.0 = INTEGER: 4 ) 2nd time: completed successfully 3rd time: failure after multicast 224.0.0.0 (IP-MIB::ipNetToMediaIfIndex.4.224.0.0.0 = INTEGER: 4) 4th time: fail

Re: Error with net-snmp on Solaris 9 sparc

2009-09-23 Thread Dave Shield
2009/9/22 Burkhardt, Chris : > /us/local/bin/snmpwalk -v 2c -c public -m .1.3 localhost No - that's the wrong command. What Mike was asking for was snmpwalk -v 2c -c public localhost .1.3 (i.e. walking the whole tree, not just the standard objects). > Also caused snmpd to die with a falk

Re: Error with net-snmp on Solaris 9 sparc

2009-09-23 Thread Dave Shield
2009/9/22 Burkhardt, Chris : > I'm not specifying an OID.  The command > > snmpwalk -v 2c -c public -m ALL localhost > > is what I type in.  snmpd halts on both my dev and production boxes with that > build. [snip] > As you can see from the truss, I am getting some response back from the >

SNMPv3 user authentication failure

2009-09-23 Thread 김은영
Hi. I’m testing SNMPv3 authentication. But the agent always returns authentication failure message. This is some part of /usr/local/share/snmp/snmpd.conf: createUser jupiter MD5 my_password DES rouser jupiter And I requested sysUpTime.0 on the same host like this: snmpget -v3 -u jupite

RE: Error with net-snmp on Solaris 9 sparc

2009-09-23 Thread Burkhardt, Chris
The command: /us/local/bin/snmpwalk -v 2c -c public -m .1.3 localhost Also caused snmpd to die with a falk #6, FLTBOUNDS -Chris -Original Message- From: Mike Ayers [mailto:mike_ay...@tvworks.com] Sent: Tuesday, September 22, 2009 11:49 AM To: Burkhardt, Chris Cc: net-snmp-users@lists.s

Handling the inform request

2009-09-23 Thread sanjaykumar
Hi All, I have a expecting to handle the inform Request, as per the my  requirement. Presently I am handling it using snmptrap.c under "app". But  I am facing the problem of having two "select" system call, one in agent/snmpd.c and another  snmplib/snmp_client.c . As per my require

RE: Changing snmpconf path

2009-09-23 Thread Deniz Aydin
Hi Wes thanks for reply, These are the configuration files ; locate snmptrapd.conf /etc/snmp/snmptrapd.conf /usr/share/man/man5/snmptrapd.conf.5.gz /usr/share/snmp/snmptrapd.conf /var/net-snmp/snmptrapd.conf I suppose the one under /var/net-snmp is not editable and also there is one under /usr/sh