Re: R: Table get is slow

2007-09-18 Thread Dave Shield
On 17/09/2007, <[EMAIL PROTECTED]> wrote: > > I found that getting tables managed by my subagent is really slow, > > asking a particular column of a row involves iterating over all the > > rows. > > Is it possible to speed up this process? > > I'm using table iterator and my subagent is written in

Re: Truncation of trap by snmptrapd with DisplayString ending in null

2007-09-18 Thread Dave Shield
On 18/09/2007, Mike Ayers <[EMAIL PROTECTED]> wrote: > > Now it could be argued that snmptrapd should be able to handle > > embedded null characters, and display them sensibly. But in > > practise, NUL is not a character that you would ever expect to > > find in a DisplayString value. > >

Re: Inform Handling

2007-09-18 Thread Dave Shield
On 17/09/2007, Steve Kittleson <[EMAIL PROTECTED]> wrote: >Does the agent handle the necessary retries and timeouts Yes. > Who/what does the processing when there is no response to an inform? The snmp library handles this automatically. > Specifically, how are the timeout and retrycoun

Re: Does iterator work for tables with two indices

2007-09-18 Thread Dave Shield
On 18/09/2007, <[EMAIL PROTECTED]> wrote: > Does iterator work for tables with two indices? Yes Dave - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk

Re: example program does not compile

2007-09-18 Thread Dave Shield
On 15/09/2007, Devvrat Tripathi <[EMAIL PROTECTED]> wrote: > gcc -I. `/usr/local/bin/net-snmp-config --cflags`test1.c -o test1 > /home/devvrat/test1.c:31: undefined reference to `init_snmp' > collect2: ld returned 1 exit status : > make: *** [test1] Error 1 > > I have checked /usr/local/

RE: I am a factory.how to manage the snmp production in wan?

2007-09-18 Thread goon863
>Provided that the DDNS names resolve, and the firewall permits SNMP traffic, >you can use net-snmp for this application. Mike Thank you Mike.yes,our production is modem,and the firewall is opening the SNMP port.So it can work.As you know,most of the network manage softwares are fit for lan,

Re: I am a factory.how to manage the snmp production in wan?

2007-09-18 Thread Thomas Anders
goon863 wrote: > By the way,my production > is running on uclinux system,and the snmpv3 dose not work .Has anyone > ported snmpv3 to uclinux? net-snmp fully supports SNMPv3 and there have been several reports of people who succeeded to build and run net-snmp on uclinux. +Thomas

Re: Please help! disk usage no effecting

2007-09-18 Thread yin zhang
> > Hi Net-SNMP gurus, > >I have installed the net-snmp5.4 in redhat AS4.0, and I copied the > example.conf file(in the install package) to the /usr/local/share/snmp/, > and renamed it to snmpd.conf. > > Then I added something to the snmpd.conf for monitoring the disk > space, the snmp.conf

Please help! disk usage no effecting

2007-09-18 Thread yin zhang
Hi Net-SNMP gurus, I have installed the net-snmp5.4 in redhat AS4.0, and I copied the example.conf file(in the install package) to the /usr/local/share/snmp/, and renamed it to snmpd.conf. Then I added something to the snmpd.conf for monitoring the disk space, the snmp.conf is below: …

Please help! disk usage no effecting

2007-09-18 Thread yin zhang
Hi Net-SNMP gurus, I have installed the net-snmp5.4 in redhat AS4.0, and I copied the example.conf file(in the install package) to the /usr/local/share/snmp/, and renamed it to snmpd.conf. Then I added something to the snmpd.conf for monitoring the disk space, the snmp.conf is below :

Help regarding IpAddress as table index

2007-09-18 Thread kolakalurikrishna.chaitanya
Hi, Is there any example mib code using table_iterator helper available, which has index as InetAddress. Thanks Krishna - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 20

RE: Format of JetDirect SNMPv3 authentication, privacy keys?

2007-09-18 Thread Goltz, Jim (NIH/NLM/LHC) [C]
Davin <[EMAIL PROTECTED]> wrote: > I'm pretty sure that there's a little remembered Perl script packaged > with Net-SNMP that can localize passwords to keys if you provide the > remote agent ID. It uses the Perl API provided by Net-SNMP if you want > to integrate it into your tools. and mentions

RE: cpan tries to "upgrade" installed SNMP perl mod to lower version

2007-09-18 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of dns admin > Sent: Monday, September 17, 2007 8:15 PM > I just built up Net-SNMP r16702 from scratch. Everything > went OK, no problems: > Checking for updates with "cpanp" says otherwise. > which show that INSTALLED v

Re: Persistent storage

2007-09-18 Thread Peter Czaja
Hi, coming back to.. Dave Shield schrieb: > On 04/09/07, Peter Czaja <[EMAIL PROTECTED]> wrote: >> But where is the equivalent to the "init_myagent_scalar()" function? >> >> Something like "finalize_myagent_scalar()", which would be a natural >> place to implement the corresponding calls to netscn

Re: cpan tries to "upgrade" installed SNMP perl mod to lower version

2007-09-18 Thread dns admin
Hey, It makes perfect sense. You were upgraded I was? What got upgraded? I said I installed NetSNMP, and got the v5.0401SNMP mod installed. That's an install, not an upgrade. And, best I can tell, I'm at the version I'm supposed to be. v5.0401 It makes perfect sense. You we

RE: I am a factory.how to manage the snmp production in wan?

2007-09-18 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of goon863 > Sent: Tuesday, September 18, 2007 1:40 AM > As you know,most of > the network manage softwares are fit for lan,is there any wan > manage software ? Most management software will handle LAN, WAN, and beyond

RE: cpan tries to "upgrade" installed SNMP perl mod to lower version

2007-09-18 Thread Mike Ayers
> From: dns admin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 18, 2007 9:58 AM > I didn't use cpanp to install ANYTHING associated with SNMP. So what then is this? cpanp CPAN Terminal> o [MSG] Checking if source files are up to date [MSG] Retrieving ~/.cpanp/sourcefil

Re: cpan tries to "upgrade" installed SNMP perl mod to lower version

2007-09-18 Thread dns admin
On 9/18/07, Mike Ayers <[EMAIL PROTECTED]> wrote: > > > From: dns admin [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 18, 2007 9:58 AM > > > I didn't use cpanp to install ANYTHING associated with SNMP. > > So what then is this? > > > cpanp > CPAN Terminal> o > [MSG] Checking if

Re: cpan tries to "upgrade" installed SNMP perl mod to lower version

2007-09-18 Thread Thomas Anders
dns admin wrote: > But a check BY "cpanp -o" (there ARE other reasons/modules to run it) > detects the "privately" installed SNMP perl module and tries to > downgrade it. The net-snmp 5.4.1 Perl modules have just been submitted to CPAN. Check again later and everything should be fine. +Thomas -

RE: cpan tries to "upgrade" installed SNMP perl mod to lower version

2007-09-18 Thread Mike Ayers
> From: dns admin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 18, 2007 11:38 AM > It is a simple check with cpanp of module updates. man pages > are your friend: > > man cpanp | grep "o " | grep MODULE > o [ MODULE ... ]# list installed module(s) > that aren't up

Re: cpan tries to "upgrade" installed SNMP perl mod to lower version

2007-09-18 Thread dns admin
Hey Thomas, On 9/18/07, Thomas Anders <[EMAIL PROTECTED]> wrote: > > dns admin wrote: > > But a check BY "cpanp -o" (there ARE other reasons/modules to run it) > > detects the "privately" installed SNMP perl module and tries to > > downgrade it. > > The net-snmp 5.4.1 Perl modules have just been s

Re: cpan tries to "upgrade" installed SNMP perl mod to lower version

2007-09-18 Thread dns admin
> Then correct your subject line. Nothing wrong with my subject line. cpanp's piping-up about an upgrade. It's detecting my INSTALLED SNMP perl mod at ONE version, and trying to DOWNGRADE to a lower version. Seems pretty simple & clear to me. Looking, > cpanp -o [MSG] Checking if

Receiving traps with snmptrapd on Windows XP

2007-09-18 Thread Mark Hoffman
Hello, I am trying to receive SNMP traps in a Perl script using NetSNMP. However, I get the message "Warning: Unknown token: perl:" from the snmptrapd program when I try to invoke a Perl file (to register a function with the trap handler) in the snmptrapd.conf file. I'm guessing that my snmptrap

How to change the default directory

2007-09-18 Thread Reza Salehi
Hello All, I am trying to use SNMPCONFPATH directive in snmp.conf to change the default path to /etc/snmp for pointing to snmpd.conf. When I add SNMPCONFPATH in snmp.conf I am getting Unknow Token error once I run snmpget or walk. Could please advise me how to change the default

Re: Receiving traps with snmptrapd on Windows XP

2007-09-18 Thread Alex Burger
Hi Mark. Mark Hoffman wrote: > I am trying to receive SNMP traps in a Perl script using NetSNMP. However, I > get the message "Warning: Unknown token: perl:" from the snmptrapd program > when I try to invoke a Perl file (to register a function with the trap > handler) in the snmptrapd.conf file.

Please help! disk usage no effecting

2007-09-18 Thread yin zhang
Hi Net-SNMP gurus, i am sorry,i made some mistake in the email i sent yesterday,because this is my first time send email to the net-snmp mail list, i am very sorry!! I have installed the net-snmp5.4 in redhat AS4.0, and I copied the example.conf file(in the install package) to the /usr/l