Re: persistent data file

2012-02-27 Thread Dave Shield
On 23 February 2012 17:06, Ravi Kumar wrote: > why  can not we  keep snmpv3 users in  non persistent snmpd.conf ? You can. It's perfectly possible to set up SNMPv3 users in the "normal" snmpd.conf file. (I'll often do this with temporary config files, while debugging assorted problems or deve

Re: snmp_async_send triggers a memory leak, if agent is unreachable

2012-02-27 Thread Wes Hardaker
> On Fri, 17 Feb 2012 21:46:22 +0530, said: > If it is powered off, it triggers a memory leak; causing the size of the > application to increase by 1mb every day. Are you freeing the PDU when a failure occurs? If you read the documentation on snmp_send you'll find you need to. However, you

Re: UDS

2012-02-27 Thread Wes Hardaker
> On Fri, 10 Feb 2012 16:22:11 +0200, shay naveh said: sn> 1. Does SNMP ( any version ) support abstract names? if so, from which sn> version? and how they are configured? sn> Note: UDS abstract name is a UDS socket which is opened in the process sn> memory rather than as a file path. Our cu

Re: Int size issue with TUTORIAL-MIB on x86_64

2012-02-27 Thread Joe Lorenz
Thanks Robert. "Item created successfully. (Artifact 3495075)" On 2/27/12 1:35 PM, Robert Story wrote: > JL> On 2/24/12 10:59 AM, Joe Lorenz wrote: > JL> > $ snmpset -v 2c -c private dut > JL> > NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 i 5 Error in packet. > JL> > Reason: wrongLength

Re: [PATCH, RFC] Make Net-SNMP independent of system clock adjustments

2012-02-27 Thread Bart Van Assche
On Mon, Feb 27, 2012 at 5:35 PM, Robert Story wrote: > On Wed, 15 Feb 2012 11:36:17 +0100 Bart wrote: > BVA> Update: the changes that were present on the master+ntpd-fix branch > BVA> have been committed on the v5.7 and master branches, and the > BVA> master+ntpd-fix branch itself has been delete

Re: command snmptrap (a command line interface) using SNMP v2

2012-02-27 Thread Robert Story
On Mon, 27 Feb 2012 17:03:34 +0100 Zeljko wrote: ZM> I'd like to use the command snmptrap to reach following scenarios ZM> ZM>AgentClient ZM> (10.140.20.71) (10.140.20.69) ZM> ZM> |

Re: Int size issue with TUTORIAL-MIB on x86_64

2012-02-27 Thread Robert Story
JL> On 2/24/12 10:59 AM, Joe Lorenz wrote: JL> > $ snmpset -v 2c -c private dut JL> > NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 i 5 Error in packet. JL> > Reason: wrongLength (The set value has an illegal length from what the JL> > agent expects) JL> > Failed object: NET-SNMP-TUTORIAL-MIB::ns

Re: [PATCH, RFC] Make Net-SNMP independent of system clock adjustments

2012-02-27 Thread Robert Story
On Wed, 15 Feb 2012 11:36:17 +0100 Bart wrote: BVA> On Fri, Feb 10, 2012 at 8:46 PM, Bart Van Assche BVA> wrote: BVA> > In case anyone wants to help testing, I've just created a branch called BVA> > master+ntpd-fix in the SourceForge Net-SNMP git repository. The code on BVA> > that branch includes

command snmptrap (a command line interface) using SNMP v2

2012-02-27 Thread Zeljko Mihelcic
Hello Mr.Robert Story I'd like to use the command snmptrap to reach following scenarios AgentClient (10.140.20.71) (10.140.20.69) || | Notification (S

RE: snmp error

2012-02-27 Thread Peter Olajide
Thanks. I have been able to resolve the issue. I noticed there was no snmpd.config in the config search paths: path: /usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp://.snmp). So I created one and specified my parameters in one of the paths, /usr/local/share/snmp Rwcommunity Roco

Re: [PATCH, RFC] Make Net-SNMP independent of system clock adjustments

2012-02-27 Thread Robert Story
On Fri, 10 Feb 2012 10:53:25 -0500 Doug wrote: DM> Two weeks ago, one of my customers had an issue with polling their DM> SNMPv3 devices; we have a single-process, multi-threaded poller that DM> uses net-snmp 5.4.3 Unfortunately, the SNMPv3 code is not thread safe. ---

Re: command snmptrap (a command line interface) using SNMP v2

2012-02-27 Thread Robert Story
On Fri, 24 Feb 2012 14:36:55 +0100 Zeljko wrote: ZM> I'd like to work with net-snmp agent , i.e. using it to send traps to the ZM> snmp manager with a command line interface on Linux Idea is to simulate ZM> expected traps from FTTH (fiber to the home) network build with different ZM> nodes (SmartMe

Re: Net-SNMP AgentX

2012-02-27 Thread Robert Story
On Fri, 24 Feb 2012 16:21:04 +0800 liujun331 wrote: L> I am having problems with running net-snmp related to net-snmp L> configuration. I get these messages from running net-snmp: L> L> # /bin/snmpd -f -Le -d & L> 53 L> # Cannot find module (SNMPv2-MIB): At line 0 in (none) L> Cannot find module

Re: persistent data file

2012-02-27 Thread Robert Story
On Thu, 23 Feb 2012 14:00:25 +0530 Ravi wrote: RK> Hi All, RK> RK> What is this persistent data file ? what type of information should be RK> stored in this ? RK> RK> /var/net-snmp/snmpd.conf This is where the agent and mib modules can store persistent information (information that is needed fro

Re: realStorageUnits 0 causes hrStorageUsed to be incorrect

2012-02-27 Thread Robert Story
On Thu, 2 Feb 2012 13:57:12 -0600 Sean wrote: SL> snmpd -v SL> NET-SNMP version: 5.3.2.2 5.3.x is no longer supported. Can you reproduce the issue in a more recent version? -- Try before you buy = See our experts in acti

Re: snmp error

2012-02-27 Thread Robert Story
On Tue, 21 Feb 2012 16:04:12 + Peter wrote: PO> Please can some help me resolve this snap error. PO> My snmp service is generates this error in the /var/log/snmp.log file PO> anytime I start the service on HPUX server. PO> PO> PO> Warning: no access control information configured. PO> (Con

Re: sample table with full dynamic row creation facility

2012-02-27 Thread Robert Story
On Tue, 21 Feb 2012 10:45:01 +0530 Ravi wrote: RK> Hi, RK> RK> Is there any sample table in net-snmp which is implemented with RK> complete functionality(or at least partial) of dynamic row creation RK> using ROW-STATUS ? Grep is your friend. Several tables implement it, with various degrees of e

Re: mib2c error: 'ERROR: unknown node.decl: in_addr_t'

2012-02-27 Thread Robert Story
On Mon, 06 Feb 2012 18:03:20 + Peter wrote: PH> On 05/02/12 11:13, Peter Hertting wrote: PH> > | | +-> Processing nonindex atmInterfaceMyNeighborIpAddress PH> > ERROR: unknown node.decl: in_addr_t PH> After further investigation I believe that this might actually be a bug PH> in the MFD conf