Re: Need Help

2008-12-09 Thread Parveen Yadav
thanks for your reply. After looking at some sample code generated by mib2c i used following method to aceess tables with static data and no index storage in structure. I changed only get first and get next data points. index is used to store table index.In this case i have two indices. This fil

RE: How to configure snmptrapd to accept all traps

2008-12-09 Thread Mike Ayers
> From: Jared Gillis [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 09, 2008 3:10 PM > I want to receive and handle every trap that is sent to my > trap server, > regardless of community. Is this possible? I've done quite a > bit of searching > around and haven't been able to find anything

How to configure snmptrapd to accept all traps

2008-12-09 Thread Jared Gillis
Hello, I recently upgraded to the latest net-snmp (5.4.2.1) from v5.1.x, and I am having trouble with the new requirement that an authCommunity be defined for any incoming trap community. I want to receive and handle every trap that is sent to my trap server, regardless of community. Is this possi

RE: monitor snmd.conf

2008-12-09 Thread Hindley Nick
found it... you must have whitespace around prErrorFlag.1 != 0 not prErrorFlag.1 !=0 -Original Message- From: Hindley Nick [mailto:[EMAIL PROTECTED] Sent: 09 December 2008 14:20 To: Net-snmp-users@lists.sourceforge.net Subject: monitor snmd.conf Hi all, using NET-SNMP version 5.4

RE: how to save changes into snmpd.conf

2008-12-09 Thread Ron Rader
> From: Wes Hardaker [mailto:[EMAIL PROTECTED] > A snmpset of 1 to versionSavePersistentData.0 will cause the agent to > save it's persistent data... Original Poster: I found that datum in UCD-SNMP-MIB. Thanks for the help, Wes. Ron The information contained in this message may be pr

Re: Need Help

2008-12-09 Thread Wes Hardaker
> On Fri, 5 Dec 2008 13:09:03 +0530, "Parveen Yadav" <[EMAIL PROTECTED]> > said: PY> I am new user to net-SNMP and i am trying to implement new tables in PY> code.My data is in shared space and in the form of static structure. PY> Can somebody provide some examples of using integer index

Re: how to save changes into snmpd.conf

2008-12-09 Thread Wes Hardaker
> On Thu, 4 Dec 2008 15:49:01 -0500, "Ron Rader" <[EMAIL PROTECTED]> said: RR> The key here is "via a snmp request." So, how do MIB writes that RR> affect daemon operation become part of the persistent, rather than RR> in-memory, configuration? My short answer is "I don't know" because RR> I

Re: snmpwalk with "-Ib" option (regexp)

2008-12-09 Thread Wes Hardaker
> On Wed, 3 Dec 2008 18:30:45 -0200, "Livio Zanol Puppim" <[EMAIL > PROTECTED]> said: LZP> I've tried to use the regex expression match, with the "-Ib" option LZP> to SNMPWALK, but couldn't find a way to make it work... Can someone LZP> guide me to what I'm doing wrong? Take a look at the

Re: How to enable encryption

2008-12-09 Thread Wes Hardaker
> On Mon, 8 Dec 2008 17:50:51 -0800 (PST), Steve Miller <[EMAIL PROTECTED]> > said: SM> I am getting Encrytion not enable error from my snmpd. I used pretty SM> much the default options from configure to generate the makefiles. SM> I was under the impression that encryption shoud be on by

Re: External user management for SNMPv3

2008-12-09 Thread Wes Hardaker
> On Mon, 8 Dec 2008 14:17:22 +0200, "Tanya Brudner" <[EMAIL PROTECTED]> > said: TB> I am trying to understand if it is possible to have the snmpv3 (usm) TB> users authenticated externally. Is there a way for an external account TB> management? I couldn't find a way to connect the SNMP us

Re: Size of net-snmp for embedded platform

2008-12-09 Thread Wes Hardaker
> On Tue, 9 Dec 2008 12:10:41 +0800, "BOMB" <[EMAIL PROTECTED]> said: B> After I ported the net-snmp to mips embedded system, I found it B> really a big bulk, I tried to install only necessary B> libs(libnetsnmp.so 465kB libnetsnmpagent.so 121KB B> libnetsnmphelpers.so 73KB libnetsnmpmibs.so 1

Re: How to make v3 effective after porting net-snmp to embedded system

2008-12-09 Thread Wes Hardaker
> On Tue, 9 Dec 2008 11:18:44 +0800, "BOMB" <[EMAIL PROTECTED]> said: B> I've ported the net-snmp v3 to a mips embedded system, after copied the libs B> to target lib and modified Example.conf to /etc/snmp/snmpd.conf You might try to make sure you can get to it via our command-line apps first

Re: Can't locate "session" via package "Net::SNMP"

2008-12-09 Thread Wes Hardaker
> On Tue, 9 Dec 2008 16:52:47 +0530, "Ambika Tripathy" <[EMAIL PROTECTED]> > said: AT> I have net-snmp 5.4.2.1 version with my system. When I try to AT> execute below perl script it is showing error as can't locate object method AT> " via package "Net::SNMP" (perhaps you forgot to load "N

Re: Clone snmpv3 user by SNMP interface

2008-12-09 Thread Wes Hardaker
> On Tue, 9 Dec 2008 10:59:06 +, liao yedda <[EMAIL PROTECTED]> said: ly> Does anyone explain above issue? Is it the correct behavior of ly> Net-SNMP? If we hope the Net-SNMP to handle the new user ly> automatically for both of configuration files, how do we do? What ly> are the corrected

monitor snmd.conf

2008-12-09 Thread Hindley Nick
Hi all, using NET-SNMP version 5.4.2.1 am trying to get the monitor directive to work Have the following lines in my snmpd.conf as per http://www.net-snmp.org/docs/README.solaris.html proc xntpd monitor -r 30 -u solarw -i -o prNames.1 -o prErrMessage.1 "Process xntpd" prErrorFlag.1 !=0 but

Can't locate "session" via package "Net::SNMP"

2008-12-09 Thread Ambika Tripathy
Hi Experts, I have net-snmp 5.4.2.1 version with my system. When I try to execute below perl script it is showing error as can't locate object method " via package "Net::SNMP" (perhaps you forgot to load "Net::SNMP"?) use Net::SNMP; use RRDs; $database = "/var/www/rrd/cpulo

Clone snmpv3 user by SNMP interface

2008-12-09 Thread liao yedda
Hello Everyone, During using the Net-SNMP, there is a problem about cloning a new snmpv3 user by SNMPv3 MIB. The problem is summarized as below. Please give me your hand if you have any good idea. Thanks! I use SNMP interface (SNMPv3 MIB) to clone a v3 user through “net-snmp-config” and