Re: Static Linking to Net-SNMP libraries

2012-07-22 Thread Thomas Anders
Bob O'Neil wrote:
 I have an application that acts as a subagent under Linux
 on a platform where Net-SNMP is installed from source.
 
 I have created an RPM to install the application, and since
 Net-SNMP was installed from source rather than from an
 RPM, the netsnmpagent, netsnmp, and netsnmpmibs shared
 libraries, which are dependants, are not known to the
 RPM database.   As a result, I have considered performing
 static linking of these libraries.

Do you have the option to also turn the manual net-snmp installation
into a RPM package? That'd probably be the cleanest approach.


+Thomas



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Problems writing AgentX subagent in Perl

2012-07-16 Thread Thomas Anders
Bill Melotti wrote:
 NET-SNMP version:  5.3.0.1
 [...]
 So I gave up on this and downloaded and build my own snmpd and perl from
 source. This seems even worse. It doesn’t attempt to read the config
 files, open a socket or even try to send or receive anything.

Rather than dealing with EOL'ed versions (5.3.0.1), let's try to help
you getting the latest version up and running.

How exactly did you build the software (version, configure options)? Did
you remove the OS-supplied net-snmp packages first (like you should
have)? Did make test report success? How exactly did you start and
configure snmpd and your subagent? What's the code of your Perl
subagent? May I suggest to start with the example agent from the
NetSNMP::agent manual page first?


+Thomas

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Problem building net-snmp 5.7.1 with embedded Perl support (no large files) on Solaris 10

2012-01-16 Thread Thomas Anders
Joel Hansell wrote:
 However, when running make I get the below sequence of errors and
 the build terminates.

Interesting. Thanks for the report.

 Is this a bug in the configure environment for Solaris, or am I doing
 something wrong with my config flags? Would a switch to GCC help? (I'd
 rather avoid that though.)

Yes, please try with gcc instead of cc and report back.


Cheers,
Thomas

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: AgentX subagent connected but is not worked

2011-12-02 Thread Thomas Anders
SLP wrote:
 I load the snmpd 5.7.1 and my subagent daemon at the system startup. First - 
 snmpd, second my subagent daemon. I view this message: NET-SNMP version 
 5.7.1 AgentX subagent connected in console. But I can not get my oids values 
 -
 After that I  login in system and restart the subagent. I view this message: 
 NET-SNMP version 5.7.1 AgentX subagent connected in console again. And it's 
 working.

You may want to start snmpd with -Dagentx/master and your subagent with 
-Dagentx/subagent (or add that debug token to your config file) to get some 
insight what's going (wr)on(g) with your AgentX communication.


+Thomas

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Using AgentX together with SNMPwalk

2011-05-18 Thread Thomas Anders
Stefan de Konink wrote:
 snmpwalk -v 3 ... C42-MIB::c42MIB

 Basically results in my data, but the actual 'walk' without the 'RootOID'
 still has no data. I do receive several 'requests' in the AgentX
 implementation, but nothing is returned. Tips are welcome.

Is C42-MIB placed in your private enterprise tree? snmpwalk doesn't walk that 
tree by default (see the documentation) if you omit the OID.


+Thomas

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Can't locate NETSNMP/ASN1.pm

2011-01-07 Thread Thomas Anders
Babin, Eddie T wrote:
 Can't locate NETSNMP/ASN1.pm in @INC (@INC contains:
 /usr/ib/perl5/5.8.8/i386-linux-tread-multi ……….)

Please give *exact* full error messages via copypaste! I doubt the error 
message really contains that path, unless your @INC is seriously broken.
Also, the example says NetSNMP::ASN while your error message says NETSNMP. 
Directory (and module) names are case-sensitive!

Where *exactly* is ASN1.pm on your system?


+Thomas

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: ubuntu-10.10's snmpget doesn't understand MIB names (Unknown Object Identifier)

2010-11-08 Thread Thomas Anders
raf wrote:
 i've just upgraded to ubuntu-10.10 and its snmpget
 (v5.4.3) doesn't understand MIB names:

Debian-based distros have stopped shipping IETF MIB files for legal reasons. 
However, there's a new snmp-mibs-downloader package 
(http://packages.ubuntu.com/maverick/snmp-mibs-downloader) to facilitate 
downloading and installing them.


+Thomas

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Net-snmp leaks memory after 5 hours

2010-09-07 Thread Thomas Anders
kavita raghunathan wrote:
 Hello, After 5 hours, I notice that the memory usage of net-snmp has jumped. 
 It does not seem to depend on the application code I have written - any ideas 
 where to look ?

Would you mind giving us a bit more information to work with? What platform, 
what net-snmp version, what's the output of net-snmp-config 
--configure-options, what's your run-time configuration (snmpd.conf and 
command-line options), what queries do you perform during those 5 hours, how 
exactly do you see the leak, can you also reproduce it without your application 
code and so on.


+Thomas

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: ifTable and ifXTable

2010-09-06 Thread Thomas Anders
Shoma S Achar wrote:
 Could anyone please let me know if ifTable and ifXTable are implemented
 in net-snmp-5.5?

What platform are you running? See 

http://www.net-snmp.org/docs/README.agent-mibs.html
http://www.net-snmp.org/wiki/index.php/IF-MIB_rewrite


+Thomas

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: : RE: net-snmp 5.2.X compilation errors in QNX Momentics 6.3.0

2010-09-04 Thread Thomas Anders
Ali Mirza, Rashid wrote:
 I downloaded net-snmp 5.6 rc2 and did a configure on the qnx machine. After 
 that did a make, and it seems it never finishes the make, and is in a loop, 
 as I keep getting the questions for the snmp version and default location 
 after its done a set of make steps. In fact it does the same when I do a make 
 install.
 Any help would be great.

You may either use configure ... --with-defaults to use defaults for the 
prompted values or specify the options (e.g. --with-default-snmp-version=2) 
individually to circumvent the prompts.


+Thomas

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp 5.2.X compilation errors in QNX Momentics 6.3.0

2010-08-24 Thread Thomas Anders
Ali Mirza, Rashid wrote:
 i have been trying to work with net-snmp-5.2.6, on a QNX momentics 6.3.0 
 platform.

I can only second Dave's suggestion to start with net-snmp 5.6.rc1 instead 
which explicitely claims to support QNX6. Earlier versions don't.


+Thomas

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Net-SNMP compilation error on AIX 5.3.8.3

2010-08-03 Thread Thomas Anders
Dana Kaempen wrote:
 In compiling Net-SNMP for AIX 5.3.8.3, I came upon these errors at the
 end of the attached make.out file:

I take it that you're trying to build Net-SNMP 5.5. What configure options are 
you using?
Do you also have other (earlier) versions of net-snmp installed on your system?


+Thomas

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Build net-snmp on AIX 7.1

2010-07-31 Thread Thomas Anders
Lissa Valletta wrote: 
 There are a lot of compiler directives for up to aix6,  but I need to
 build on aix7 which is coming out soon.   Do you have an easy way to
 build on aix7 or can you provide us source code that support AIX 7.1.

Could you please try building the just released net-snmp 5.6.pre3 on AIX 7 and 
report back?


Cheers,
Thomas

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Net-SNMP in AIX Setup help needed

2010-07-31 Thread Thomas Anders
Stock, Roger W wrote:
 I am getting a NULL return from a request for host MIB info.
  
 Can anyone tell me if they see something wrong with what I am doing?
  
 # snmpwalk -v 2c -c public localhost host
 SNMPv2-MIB::sysORID.1 = OID: SNMPv2-SMI::enterprises.2.3.1.2.1.1.3
 SNMPv2-MIB::sysORDescr.1 = STRING: AIX SNMP Agent

You are obviously running IBM's AIX SNMP Agent, not the Net-SNMP Agent, so I'd 
suggest to report your problems to that vendor.


+Thomas

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: configure: error: Perl support requires --enable-shared

2010-07-22 Thread Thomas Anders
Lissa Valletta wrote:
 Why do I get the error  when I have  
 
 ./configure  --enable-shared --with-perl-modules
 
 I thought I was satisfying the requirement.

What net-snmp version on what system?


+Thomas

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: AIX5.3 net-SNMP tables

2010-07-09 Thread Thomas Anders
IanA wrote:
 I compiled Net-SNMP using Gcc as shown hereafter. I have a problem
 displaying some tables :
 *.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable* *== no response
 (table is empty)
 **.iso.org.dod.internet.mgmt.mib-2.tcp.tcpConnTable* *== no response
 (table is empty)
 *
 *.iso.org.dod.internet.mgmt.mib-2.host.hrSWInstalled.hrSWInstalledTable*
 *== no response (table is empty)
 *
 Also the ifNumber always returns a zero though I have 2 Ethernet ports 
 the loopback I/F :
  
 .iso.org.dod.internet.mgmt.mib-2.interfaces.ifNumber.0

Unfortunately, most-if-not-all of these issues are known problems with net-snmp 
on 64-bit AIX kernels. See README.aix and the bug tracker for details.
It's need a volunteer to look into fixing these issues.


+Thomas

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: /usr/local/lib/perl5/5.10.1/x86_64-linux/CORE/libperl.a: could not read symbols: Bad value

2010-07-09 Thread Thomas Anders
Alexander King wrote:
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld:
 /usr/local/lib/perl5/5.10.1/x86_64-linux/CORE/libperl.a(op.o):
 relocation R_X86_64_32S against `PL_sv_yes' can not be used when making
 a shared object; recompile with -fPIC
 /usr/local/lib/perl5/5.10.1/x86_64-linux/CORE/libperl.a: could not read
 symbols: Bad value

Looks like you have a custom Perl installation in /usr/local that needs to be 
recompiled.
Please make sure you specify sh Configure -Duseshrplib ... when building you 
own Perl.


+Thomas

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Diff between smtpwalk output on debian and slack

2010-06-12 Thread Thomas Anders
Matías Sebastián Sardisco wrote:
 Debian$ snmpwalk -Os -v2c -c public 172.29.1.53 sysUpTime.0
 sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -
 sysUpTime)

What exact Debian version are your running? Please note that latest Debian 
versions don't ship MIBs by default for legal reasons.
See e.g. http://packages.debian.org/de/sid/snmp-mibs-downloader .


+Thomas

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: A very trifling BUG in Change Log

2010-06-06 Thread Thomas Anders
Ryota YUSHINA wrote:
 Change Log says
 snmpusm:
 - [PATCH 1591355]: Allow cloning to arbitrary engineIDs
 but, PATHCH 1591355 hasn't been applied.
 
 http://sourceforge.net/tracker/?func=detailaid=1591355group_id=12694atid=312694

You're right. The patch had been applied in r17157, but has been reverted in 
r17162 since it broke something.
Our tools to create the CHANGES template from SVN commit messages just doesn't 
cover that situation yet.

Thanks for the report.


+Thomas

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Perl-module:make test failure

2010-05-18 Thread Thomas Anders
vineet gehlot wrote: 
 i m presently working with net-snmp-5.5
 i insatlled it properly
 but while i was trying to install a perl-module present in its extracted
 folder i faced the afolowwing error..
 
 PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/lib -I../blib/arch test.pl
 1..90
 Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so'
 for module NetSNMP::default_store: libnetsnmp.so.20: cannot open shared
 object file: No such file or directory at

What exact steps did you perform to build net-snmp with the Perl modules and 
run the tests?
The recommended way is:

./configure --with-perl-modules ...
make
make test
make perltest
make install (as root)


+Thomas

--

___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: hp ux 11.23 not showing hrSWRunTable

2010-04-29 Thread Thomas Anders
SREENIVAS P wrote:
 I have compiled the net -snmp 5.4.2 on hp ux,but i am unable to find any
 entries for hrSWRunTable ,i am intrested to monitor processes using
 net-snmp.

What's the output of net-snmp-config --configure-options?
Are you running on PA-RISC or IA64?

For HP-UX/IA64, please see the following known bug:
http://sourceforge.net/tracker/?func=detailaid=1793680group_id=12694atid=112694


+Thomas

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: SNMPv3: Diffie-Hellman

2010-03-08 Thread Thomas Anders
Sam V wrote:
 Does net-snmp support the Diffie-Hellman mode for SNMPv3 authentication
 and privacy keys? If it does, what versions support this? Do I need a
 special configuration to enable this?

From http://www.net-snmp.org/docs/README.agent-mibs.html :

SNMP-USM-DH-OBJECTS-MIB
 usmDHPublicObjects.*.0   A 5.2 S snmp-usm-dh-objects-mib/=/*
 usmDHUserKeyTableA 5.2 M snmp-usm-dh-objects-mib/=/*
 usmDHKickstartTable  ---

As you can see, one table (usmDHKickstartTable) is not yet implemented. Patches 
always appreciated.


+Thomas

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Coexistence of Windows agent with HP SIM

2010-03-01 Thread Thomas Anders
Dave Ulrick wrote:
 I'm looking to replace the Microsoft SNMP Service on a number of Windows 2003 
 servers with the Net-SNMP Agent.  This is straightforward unless the 
 Microsoft SNMP Service is depended upon by other services.  On many of our 
 servers, the MS service is depended on by several services from the HP System 
 Insight Manager (SIM) agent

See the chapter Running Net-SNMP as a replacement for the Microsoft SNMP 
service in README.win32:

  http://www.net-snmp.org/docs/README.win32.html


+Thomas

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: make net-snmp v5.3.3 on rhel4

2010-02-23 Thread Thomas Anders
aurfal...@gmail.com wrote:
 I have an old system that must remain at RHEL 4x64.
 
 After downloading the source from net-snmp.org, and upon running make  
 I get;
 
 /usr/lib/libopt.so: could not read symbols: File in wrong format.

Try

./configure LDFLAGS=-L/usr/lib64 ...  make


+Thomas

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: ERROR: You don't have the SNMP perl module installed.

2010-02-22 Thread Thomas Anders
jithin.panakk...@wipro.com wrote:
 I installed netsnmp 5.3.0.1 successfully in sunOs [ 2.10 ] . BUt while
 running mib2c getting the error mentioned in the subject line.

Is there a good reason for choosing an outdated net-snmp version for a new 
installation?

What's the output of cat configure-summary in the build dir?

Did you run gmake install as root?

Please see http://www.net-snmp.org/docs/README.solaris.html for additional 
hints.


+Thomas

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp-5.5_CrossCompiling_xscale_be

2010-02-21 Thread Thomas Anders
Queenie de Melo wrote: 
 Iam a newbie to linux and I recently downloaded net-snmp, Iam getting
 errors when i try cross compiling net-snmp-5.5 for my target platform
 having xscale big endian architecture.

http://www.net-snmp.org/wiki/index.php/FAQ:General_07


+Thomas

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: statically linking netsnmplib

2010-02-21 Thread Thomas Anders
anand prasad worte:
 Now, I am trying to use snmptrap command:
 sudo ./snmptrap -v 2c -Ci -c public 192.168.1.137 
 NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification
 netSnmpExampleHeartbeatRate i 1234561
 I am getting the follwing error:
 Cannot find module (IP-MIB): At line 0 in (none)
[...]
 NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification: Unknown
 Object Identifier
 If I build snmptrap without -static, then it works fine i.e I am able to
 send/receive informReqeust and get-response. 
 But, I need to build my application by linking netsnmplib statically.

net-snmp warns about missing MIB files, not libraries. If you didn't use make 
install, you may need to copy them manually. See net-snmp-config 
--default-mibdirs for where your build expects them.


+Thomas

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: trap sending

2010-02-21 Thread Thomas Anders
maxim maxim wrote:
 How i can to send a SNMPv1 and SNMPv2 traps by net-snmp api?, i need
 some examples of code, i know how to do it from the command line, but
 i need this in code.

apps/snmptrap.c has the full source code of the command-line tool you're 
familar with.


+Thomas

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: if-mib

2010-02-10 Thread Thomas Anders
Dave Shield wrote:
 I've got a vague recollection of a suggestion that this behaviour should
 be controlled by a configure option, but it's not immediately apparent
 whether this was ever done.

It has been discussed, but has *not* been implemented, IIRC.

 The one thing that confuses me is that Luis seems to be seeing *both*
 the old and new indexes.

I think it's expected behaviour that the interface with the old index will 
not just disappear. It's supposed to have a status (down) associated with it, 
as well as counters etc.


+Thomas

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: How to disable/enable SNMP V1 and V2 on the fly?

2010-02-01 Thread Thomas Anders
chi.g...@l-3com.com wrote:
 I remove the enable-mini-agent in the configure,
 But I got compile errors as following:
 mibII/at.c: In function `ARP_Scan_Next':
 mibII/at.c:830: arithmetic on pointer to an incomplete type
 mibII/at.c:836: dereferencing pointer to incomplete type
 mibII/at.c:839: `ifIndex' undeclared (first use in this function)
 mibII/at.c:839: (Each undeclared identifier is reported only once
 mibII/at.c:839: for each function it appears in.)
 make[2]: *** [mibII/at.lo] Error 1
 make[2]: Leaving directory `/work/snmp/net-snmp-5.5/agent/mibgroup'
 make[1]: *** [subdirs] Error 1
 
 What is the correct configure parameters in QNX?

As Dave suggested, please trim your configure line down to something like:

./configure --enable-mini-agent --with-defaults --with-out-transports=Callback 
Unix TCP


+Thomas

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: compiling net-snmp 5.5 on AIX 6.1 fails

2010-01-26 Thread Thomas Anders
Willem Hilders wrote:
 When I compile net-snmp version 5.5 on my AIX 6.1 machine I get the
 errors underneath when I issue the make statement. Any one any idea how
 to solve this
 
 In file included from /usr/include/sys/cred.h:49,
  from /usr/include/sys/file.h:32,
  from system.c:110:
 
 /usr/include/sys/secattr.h:50: error: parse error before rid_t

What compiler (and version) are you using? Do you by chance also have another 
compiler available?
Please note that the compiler complains about a system header file, not about 
the net-snmp source.
Please have a look into  /usr/include/sys/secattr.h to find out what the 
compiler is choking on.


+Thomas

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: snmpd seg faults on AIX

2010-01-12 Thread Thomas Anders
Fulko Hew wrote:
 The daemon works, but now I see that there are many MIB variables missing.
 Important things like most of MIB-II, like the interface table, TCP
 connections, routing table, etc.
 
 Did I loose these when I compiled with --without-kmem-usage?

Almost definitely. You might want to try using the proxy directive to proxy 
requests for these MIB objects to the native AIX agent.
If you succeed doing so, please let the list know so others can benefit.


+Thomas

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: snmpd seg faults on AIX

2010-01-11 Thread Thomas Anders
Fulko Hew wrote:
 Upon further searching the mailinst archives, I find that this is an old
 (open) bug #1484814
 that fortunately has a workaround.  (./configure --without-kmem-usage)
 [...]
 In the end... that bug entry should probably (at the very least) be
 closed with with the suggested workaround.

FWIW, this problem is documented in README.aix shipping with the source.

  http://www.net-snmp.org/docs/README.aix.html


+Thomas

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: snmptrap (win32) tcp

2010-01-11 Thread Thomas Anders
C Wells wrote:
 I don't see a tcp option for snmptrap.exe so I assume it isn't there. 
 Does anyone know of a win32 snmptrap sending utility that can send using 
 TCP ?

Try: snmptrap.exe ... tcp:desthost:162 ...

(with desthost being the trap destination host)

In case it doesn't work: what exact version (and build options) or binary 
package do you use? What error(s) do you get?


+Thomas

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: munging Perl's stack

2010-01-11 Thread Thomas Anders
Stuart Kendrick wrote:
 Any insights into this issue?
 
 http://archives.devshed.com/forums/networking-100/munging-perl-s-stack-use-of-freed-vlaue-in-iteration-1378806.html
 
 I've replicated it under net-snmp-5.5 and perl-5.10.1, so I guess I can 
 predict 
 your answer Ick, gross, run away.  :)  Or, less melodramatically, 
 Unresolved.  But I figured I'd ask!

I'm afraid the answer is indeed that this is an unresolved issue waiting for a 
volunteer to look into the ugly details.


+Thomas

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Can two different versions of NET-SNMP be installed at the same time?

2009-12-29 Thread Thomas Anders
cornerbreeze wrote:
 If I have installed a NET-SNMP(for example,suppose its version is V1) in
 /usr/local/net-snmp;
 then can another version of NET-SNMP(suppose its version is V2) be
 installed in /usr/local/new-net-snmp?

You can do that, *if* you know what you're doing. E.g. you should pay attention 
to persistent storage: http://freesnmp.com/net-snmp/faqs/#persistmulti .
For net-snmp beginners, having multiple installations in parallel on one 
machine is *not* recommended.

+Thomas

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Replacing the net-snmp 8072 identifier

2009-12-20 Thread Thomas Anders
lanas wrote:
   Is it possible to easily change the 8072 identifier when, for
 instance, receiving an IF-MIB trap such as:
 
 'SNMPv2-MIB::snmpTrapEnterprise.0 (1.3.6.1.6.3.1.1.4.3.0):
 1.3.6.1.4.1.8072.3.2.10'.

Check the (help output for the) configure options --with-enterprise-oid and 
--with-enterprise-notification-oid when building net-snmp from source.


+Thomas

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: About latest bug corrections/patches

2009-12-18 Thread Thomas Anders
bheemesh v wrote:
 http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/branches/V5-X-patches./net-snmp/CHANGES
   (X=2..5)
 
 The above link to look for CHANGES in the project SVN repository is not
 accesible, any firewalls blocking access?

There's a typo (extra .) in the link above. For 5.4.x, try:

  
http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/branches/V5-4-patches/net-snmp/CHANGES

(similar for the other branches).


+Thomas

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Compiling net-snmp-5.4.2.1 fails for -lperl libraries

2009-12-16 Thread Thomas Anders
Lisa Tondon wrote:
 I was cross compiling net-snmp-5.4.2.1 for powerpc-linux.  The
 compilation fails for -lperl libraries
 [...]
 Am I missing anything here. Do I need to enable perl in the configure
 option?

Does your cross-compilation environment include Perl? If not, try disabling it 
using ./configure --disable-embedded-perl --without-perl-modules 


+Thomas

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: compiling under x86_64

2009-12-01 Thread Thomas Anders
Stuart Kendrick wrote:
 I'm trying to compile net-snmp on a 64-bit box

What exact version of net-snmp are you trying to compile?
What's the output of perl -V for your local Perl build?


+Thomas

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp 5.x compile problem(and fix?) on AIX 6.1

2009-10-26 Thread Thomas Anders
Jeff Quaintance wrote:
 long story short, I followed the same recommendation that the coreutils
 developer(s) came back with and applied it to the net-snmp tree,
 basically wherever you are including libperfstat.h you must now also
 include protosw.h or you get a compile error(detailed in the bug# listed
 above) i built a patch and attached it here.

Thanks for the patch! Please submit it to http://www.net-snmp.org/patches so it 
won't get lost.


Cheers,
Thomas

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: snmp v3 get failssnmpget: Unknown host (v) (Resource temporarily unavailable)

2009-10-06 Thread Thomas Anders
Swagatika Panda wrote:
 snmpget  -c NETMAN v 3 -t 30 -e 881c044653 -E 881c044654 -u 
 proxyuser1  -l noAuthNoPriv  -m 
 /home/swagatika/isstestsuite/snmp_mibtest/mibs/fscfa.mib 12.0.0.1 
 ifMainAdminStatus.34
 snmpget: Unknown host (v) (Resource temporarily unavailable)

Use -v 3 (note the minus) instead of v 3.


+Thomas

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Compile problem

2009-09-29 Thread Thomas Anders
Андрей Долгушин wrote: 
 ./configure --host=i686-pc-linux-gnu --target=powerpc

Are you sure that is a valid target? Please see 
http://freesnmp.com/net-snmp/faqs/#cross for further instructions.


+Thomas

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: limiting size of snmpd.log

2009-09-28 Thread Thomas Anders
Richard Gipps wrote:
 I was wondering if there is a way to limit the size of the log file so
 that the oldest messages fall of the end of the list when the file is
 greater than xKB?

I suggest using logrotate.


+Thomas

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Any limitation on the number of ipAddressTable entries for a given system

2009-09-26 Thread Thomas Anders
bheemesh v wrote:
 I'm trying to create more than 3000 VLAN's here.
 OK the version i am using is 5.3.1 and trace leads us to following back
 trace contents as below:

Please try again with a recent version of net-snmp, e.g. 5.5.


+Thomas

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Error with net-snmp on Solaris 9 sparc

2009-09-24 Thread Thomas Anders
Burkhardt, Chris wrote.
 It failed again.

Oops, my fault. Please try snmpd -I -at ... instead.


+Thomas

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


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

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


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, 
 entrysize=120, req_type=GET_FIRST, comp=0xff1a826c AT_Cmp, 
 arg=0xffbfebc0) at kernel_sunos5.c:746
 #2  0xff1a86ec in var_atEntry (vp=0xffbfeee0, name=0xffbfece0, 
 length=0xffbfecdc, exact=0, var_len=0xffbfecd8, write_method=0xffbfecd4)
 at mibII/at.c:414

Thanks. Please add the option -I -mibII/at to the snmpd invocation, try again 
and report back. If the agent still segfaults, please post a new backtrace.


+Thomas

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Error with net-snmp on Solaris 9 sparc

2009-09-22 Thread Thomas Anders
Burkhardt, Chris wrote:
 I am able to reproduce snmpd dying on the snmpwalk on both the
 production (E15k) and the development box (V440).

Thanks for your detailed feedback so far.

 making all in /var/tmp/net-snmp-5.5.rc3/agent
 make: Fatal error in reader: Makefile, line 333: Unexpected end of line
 seen Current working directory /var/tmp/net-snmp-5.5.rc3/agent
 *** Error code 1
 make: Fatal error: Command failed for target `subdirs'
 
 The errors at the end were the errors I had to work through.  Basically
 there were dozens of lines in the Makefile that didn't have a \ at the
 end that I manually fixed.

Could you please read section 13 (sed) of README.solaris and check if 
installing Sun sed patches or installing GNU sed fixes the issue for you?

 The output from make test is pretty substantial.  I can send it all if
 you want or if you let me know what section you are interested in I will
 send that.

What tests FAIL? I guess that at least the snmpwalk test fails for you. If in 
doubt, please post the full output.

 I sent a truss output as response to another email.  If you need a
 backtrace as well please let me know and I will read through the link
 you sent and see what I can do.

A backtrace would be extremely helpful!


+Thomas


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Error with net-snmp on Solaris 9 sparc

2009-09-21 Thread Thomas Anders
Burkhardt, Chris wrote:
 I believe I am running into an issue with too many VLAN’s or
 interfaces.  When I bring up net-snmp (version 5.4.2.1 that I downloaded
 precompiled from sunfreeware.com) it takes over a cpu (gets a lot of CPU
 time) and doesn’t respond to snmpwalk.  Prior to adding extra networks
 to this host it worked fine. 

Are you willing to build 5.5.rc3 from source and report back?


+Thomas

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Error with net-snmp on Solaris 9 sparc

2009-09-21 Thread Thomas Anders
Burkhardt, Chris wrote:
 That seems to have fixed the primary problem.  There were a lot of
 errors (missing \'s) in the makefiles that I had to fix to get it to
 compile.  Also, there seems to be some other bug or issue related to the
 snmpd process dying if you run the command snmpwalk -v 2c -c public -m
 ALL localhost.
 
 If I don't run that command it seems to stay up and running.  If I run
 that, snmpd dies.

Can you reproduce that only on the target host (E15K) or also on the build host?
What machine is the build host? Does it also run Solaris 9 at the same patch 
level? 
What's the output of make test on the build host?
What configure options did you use?
Is there any chance you can get us a backtrace (see 
http://www.net-snmp.org/wiki/index.php/Debugger)?


+Thomas

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Segfault on 5.4.2.1 (Redhat) when using DISMAN-SCHEDULE-MIB cron or repeat directives with numeric OIDs

2009-09-20 Thread Thomas Anders
Max wrote:
 Follow up .. GDB output:

Please open a bug report on http://www.net-snmp.org/bugs and post your full 
details there to make sure it won't get lost.


+Thomas

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Lm-Sensors3 support

2009-09-18 Thread Thomas Anders
Billy DeVincentis wrote:
 I  am  just  trying  to  find  out  if  there  is  support  for  
 building  against  the  newer  lmsensors  in  any  version  of  this  
 program.

Try 5.5.rc3 (or later) which should have some support for the v3 lmsensors API.


+Thomas

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: SNMPv3

2009-08-27 Thread Thomas Anders
Samer Vazdekis wrote:
 I'm running net-snmp 5.2.1.2. Does this version support SNMPv3?

Yes, it does. What authentication and privacy algorithms are supported depends 
on how the package was built. You may want to run:

foo# snmpd -H 21 | egrep 'def(Auth|Priv)Type'
defAuthType  MD5|SHA
defPrivType  DES|AES
foo#

to find out.


+Thomas

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: snmptrapd ignoring/dropping traps (performance issues?)

2009-08-25 Thread Thomas Anders
Ricardo Oliveira wrote:
 traphandle SNMPv2-SMI::enterprises.9.9.41.2.0.1 /usr/local/bin/TrapHandler
 --- end ---
  
 The TrapHandler is a C++ executable I made which basically receives a
 trap, forks and dumps the trap to a file, to try and return to the
 snmptrapd as fast as possible (before, I had a perl script, but it was
 way too slow).
  
 The symptoms I have are:
  
 - The trap is generated on the device
 - The trap is received at the interface (seen by tcpdump)
 - The traps never shows on any log file.

On the receiving side: consider switching to an embedded Perl trap handler 
which saves snmptrapd from forking on every notification. Depending on your 
package, you may need to rebuild net-snmp with embedded Perl support. Run 
snmptrapd -H 21 | grep -i perl to find out if snmptrapd supports the perl 
config token.

On the sender side: switch to SNMP INFORM instead of SNMP TRAP. The sender is 
expected to re-transmit the notification if it doesn't get a response, then.


+Thomas

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Make test failures on HP-UX Itanium (IA64)

2009-08-18 Thread Thomas Anders
Dave Shield wrote:
 1: testing SNMPv1 support... FAIL
 
 As Mike says, this indicates a fairly fundamental problem.
 
 If you have a look in /tmp, there should be a series of directories,
 one for each failed test.Each directory will contain copies
 of the configuration files used, the commands run, and various
 logs of exactly what happened.

I wouldn't be surprised if you'll find out that snmpd cannot start at 
all (agent/snmpd -H will tell you quickly) because the system cannot 
find a required external library (e.g. libcrypto). If you aren't able to 
fix this yourself, consult your friendly system administrator.


+Thomas

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: subagent crash

2009-08-16 Thread Thomas Anders
Raghu Ramaraj wrote: 
 I am facing problem while calling external lib API from
 subagent. It’s crashing the subagent.  I have generated the subagent
 using mib2c.
 
 1) Could you give me the points to resolve?
 
 2) Do need to follow anything when I call external shared lib API (.so.)?

I don't think we can provide serious help unless you tell us a lot more 
details, including code and backtrace.


+Thomas

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: passing context to MIB library

2009-07-26 Thread Thomas Anders
Pranali Hande (phande) wrote:
 If you refer  function set_snmp_log_params  in file 
 third-party/src/snmp/net-snmp-5.1/agent/snmp_agent.c
 
if (asp-orig_pdu-community) {
 for (i=0;iasp-orig_pdu-community_len;i++) {
if (asp-orig_pdu-community[i] == '@') {
 if (asp-orig_pdu-community_len  i+1) {

 memcpy(and_context_name,asp-orig_pdu-community[i+1], 
 ((asp-orig_pdu-community_len)-i));
 and_context_name_len =
 ((asp-orig_pdu-community_len)-(i+1));
  curr_ctx_entry_p = snmp_get_context_map_entry(

I don't think that code is part of the original net-snmp 5.1 release, so we're 
not in a position to answer questions about it.


+Thomas

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Solaris 10 install issue

2009-06-21 Thread Thomas Anders
Myasin wrote:
  gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2
 -Usolaris2 -Dsolaris2=solaris2 -c snmp_vars.c  -fPIC -DPIC -o
 .libs/snmp_vars.o
 
 In file included from /usr/include/kvm.h:14,
  from kernel.h:11, 
  from snmp_vars.c:142:
 /usr/include/sys/proc.h:202: error: syntax error before p_t1_lgrpid

What exact configure options did you use? What gcc version and package are you 
running? 
What's the value of HAVE_KVM_H and HAVE_SYS_PROC_H in 
include/net-snmp/net-snmp-config.h in the build dir after running configure?
Do you see similar errors wrt. kvm.h and sys/proc.h in config.log?

Alternatively, you may want to pick up the Sun Freeware binary package of 
net-snmp 5.4.2.1 from www.sunfreeware.com.


+Thomas

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: bug 1369983 and building net-snmp

2009-06-18 Thread Thomas Anders
Andrew McGrail wrote:
 Also - is there any plan to fix the net-snmp makefile so that it can
 allow for parallel make build systems?  
 
 Currently I am putting a local –j 1 override, but it would be nice if
 it looked after itself, seeing that the reason it fails is because of
 the dependencies.

This has been fixed by patch 2091156 which has been applied to SVN trunk in 
r17241.
The upcoming 5.5 release will contain the fix. You may want to try with current 
5.5.pre3.


+Thomas

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Solaris 10 and the dsk tree

2009-06-14 Thread Thomas Anders
Hamish Whittal wrote:
 Is this a known problem with Solaris and 5.0.9 of the agent? I guess if
 I need to go through a compile to get a newer version of the agent, then
 that's what I'll have to dobut I've been avoiding it.

I your primary goal is to avoid compiling it yourself, you may want to pick the 
5.4.2.1 package from www.sunfreeware.com.


+Thomas

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: compilation on MIPS platform

2009-05-21 Thread Thomas Anders
sanjaykumar wrote:
 Does we need to PROVIDE any option to enable the Encryption   at
 time of cross compilation ??

You need OpenSSL (at compile time) to enable privacy (encryption) support.


+Thomas

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Info: DLPAR and NetSNMP 5.4.1 on AIX 5.3

2009-05-18 Thread Thomas Anders
Boc(inec Juraj wrote:
 i'm just sending this as information, we're using NetSNMP 5.4.1 on AIX
 5.3 TL9 SP2 and we have experienced crash of snmpd when dynamically
 adding new CPUs to LPAR, as i don't know if there is any official
 development of NetSNMP for AIX, i'm not posting this as a bug.

We do support net-snmp on AIX on a best effort base and depend on AIX users 
such as yourself to participate.

That said, please post the bug on the tracker (http://www.net-snmp.org/bugs) 
with as many details as possible. A backtrace (see 
http://www.net-snmp.org/wiki/index.php/Debugger) as well as a test with latest 
SVN trunk would be much appreciated.


Cheers,
Thomas

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: How often is pass called?

2009-05-05 Thread Thomas Anders
Wes Hardaker wrote:
 The overhead you're seeing with execs is best avoidable by using a
 better infrastructure.  I'm sorry if you'd have to recode things, but to
 be honest the speed rates are something like this (worst to best):
 
 - pass and exec
 - pass_persist
 - embedded perl
 - C

Not to mention that exec is deprecated in favour of extend, but with more 
or less the same overhead.


+Thomas
 


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Problem in linking shared libraries

2009-05-04 Thread Thomas Anders
nitin agrawal wrote:
 Sir , I am using net-snmp and when I am running my files it is reporing
 th error as
 mpi_dual: error while loading shared libraries: libnetsnmpmibs.so.15:
 cannot open shared object file: No such file or directory
 
 This file is present in the usr/local/lib directory and its path is
 included in the usr/local/lib directory .
 It's path is also included in /etc/ld.so.conf file.Why this error is
 coming ?
 And what exactlt this file is doing and required by the system?

If you're on Linux, you probably need to run ldconfig (as root). See its 
manual page for details.

Otherwise, you need to tells us more details about your system.


+Thomas

--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Again: Solaris 10 x86 on zone and max number of hrSWRunEntry

2009-04-27 Thread Thomas Anders
Dale J. Chatham wrote:
 I'm using SMA version of Net-SNMP.  OS is Solaris 10 with latest patches.
 
 When I execute
 /usr/sfw/bin/snmpwalk -Os -v1 -c public hostname 1.3.6.1.2.1.25.4.2.1.2
 against a zone machine, I get a maximum of 45 entries returned.  The
 actual number should be in the hundreds.

What net-snmp agent is running on hostname? If you're using Sun's 
net-snmp-5.0.9-based package, there's nothing we can do for you because 5.0.x 
is EOL for us and only Sun could fix the package anyway.

You may want to install a more recent Net-SNMP version on hostname and try 
again.


+Thomas

--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: netsnmp 5.4.2.1 + patch 2505837

2009-04-22 Thread Thomas Anders
Christian Kovacic wrote:
 I am attempting to build an RPM of netsnmp 5.4.2.1

What OS are you trying to build for? You may want to use the 5.4.x SVN packages 
from

  http://www.net-snmp.org/wiki/index.php/Third-Party_Packages


+Thomas

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: compilation error: libnetsnmpagent.la

2009-04-20 Thread Thomas Anders
Gabriele Giorelli wrote:
 I installed libtool on the machine.
 
 now I have this:
 
 host/hr_swinst.c: In function 'init_hr_swinst':
 host/hr_swinst.c:210: warning: assignment makes pointer from integer without 
 a cast
 host/hr_swinst.c: In function 'var_hrswinst':
 host/hr_swinst.c:464: error: 'int_32' undeclared (first use in this function)
 host/hr_swinst.c:464: error: (Each undeclared identifier is reported only once
 host/hr_swinst.c:464: error: for each function it appears in.)
 host/hr_swinst.c:464: error: 'rpm_data' undeclared (first use in this 
 function)
 make[2]: *** [host/hr_swinst.lo] Error 1

You shouldn't need to install libtool to build net-snmp.

I suggest to start from scratch by unpacking the tarball to a fresh directory 
and running

  ./configure  make  make test

If you still have problems, please post the details.


+Thomas

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: lm-sensors doesn't report the information about fan!

2009-04-08 Thread Thomas Anders
김은영 wrote:
 I compiled net-snmp-5.2.2 sources and installed it.

Providing output of outdated versions doesn't help much. Please re-test with 
latest 5.4.2.1 or 5.5.pre1 and post the corresponding output.


+Thomas

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: No hrSWRunPath in HOST-RESOURCES-MIB

2009-04-06 Thread Thomas Anders
Dave Shield wrote:
 But could you please try the attached patch, and confirm
 whether or not it fixes your problems.

Works perfectly fine for me on openSUSE 11.1.


+Thomas

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: No hrSWRunPath in HOST-RESOURCES-MIB

2009-03-30 Thread Thomas Anders
Dave Shield wrote:
 could you possibly try the attached (temporary) patch,
 and let me know whether it makes any difference.
 (and if so, what you see)

Works for me with SVN trunk:

foo# snmpwalk [...] localhost hrSWRunPath
HOST-RESOURCES-MIB::hrSWRunPath.1 = STRING: init [5]
HOST-RESOURCES-MIB::hrSWRunPath.2 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.3 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.4 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.5 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.6 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.7 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.8 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.9 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.10 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.11 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.12 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.13 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.14 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.15 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.16 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.17 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.18 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.19 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.20 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.21 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.22 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.23 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.24 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.25 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.68 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.69 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.70 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.73 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.74 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.264 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.269 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.691 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.772 = STRING: /sbin/udevd
HOST-RESOURCES-MIB::hrSWRunPath.1363 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.1614 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.1617 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.1654 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.1656 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.1667 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.1755 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.1778 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.1964 = STRING: empty status
HOST-RESOURCES-MIB::hrSWRunPath.1973 = STRING: /sbin/mount.ntfs-3g
HOST-RESOURCES-MIB::hrSWRunPath.2404 = STRING: /sbin/acpid
HOST-RESOURCES-MIB::hrSWRunPath.2440 = STRING: /sbin/klogd
HOST-RESOURCES-MIB::hrSWRunPath.2444 = STRING: /sbin/syslog-ng
HOST-RESOURCES-MIB::hrSWRunPath.2451 = STRING: /bin/dbus-daemon
HOST-RESOURCES-MIB::hrSWRunPath.2575 = STRING: /usr/sbin/hald
HOST-RESOURCES-MIB::hrSWRunPath.2588 = STRING: /usr/sbin/console-kit-daemon
HOST-RESOURCES-MIB::hrSWRunPath.2589 = STRING: hald-runner
[...]


+Thomas

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: No hrSWRunPath in HOST-RESOURCES-MIB

2009-03-29 Thread Thomas Anders
Kamil Kisiel wrote:
 On 26/03/09 9:33 , Dave Shield d.t.shi...@liverpool.ac.uk wrote:
What is the result of
snmpwalk ... hrSWRunPath
 ?
 The output is just:
 HOST-RESOURCES-MIB::hrSWRunPath.1 = STRING: init [5]

FWIW, I can fully reproduce this problem on openSuSE 11.1 using SuSE's 
net-snmp-5.4.2.1-5.1 package.


+Thomas

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: No hrSWRunPath in HOST-RESOURCES-MIB

2009-03-29 Thread Thomas Anders
Kamil Kisiel wrote:
 I think
 that narrows it down to either some kind of configuration problem with the
 openSUSE 11.1 distro, or something wrong with the way they built their
 package.

Not the latter, at least. I could reproduce the problem on openSuSE 11.1 with 
*all* of the following:
- SuSE-provided net-snmp RPM
- stock net-snmp 5.4.2.1 (built from source)
- net-snmp SVN trunk (built from source)


+Thomas

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp 5.4.2.1: Error in make :gcc: /usr/local/fnmt/lib/libsocks.so: No such file or directory

2009-03-24 Thread Thomas Anders
Chetan Mahadev wrote:
 [r...@dhcp- net-snmp_rpms]# ldd  /usr/local/sbin/snmptrapd
 
 /usr/local/sbin/snmptrapd: /usr/local/fnmt/lib/libc.so.6: version
 `GLIBC_2.4' not found (required by /usr/lib/librpm-4.4.so)

What is /usr/local/fnmt meant to contain? You seem to have (incompatible) 
copies of core system libraries in that path which isn't a good idea unless you 
know *exactly* what you are doing. Since your Perl installation points to that 
path, a perl-enabled net-snmp build will pick them up and end up in a mess.


+Thomas

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp 5.4.2.1: Error in make :gcc: /usr/local/fnmt/lib/libsocks.so: No such file or directory

2009-03-23 Thread Thomas Anders
Chetan Mahadev wrote:
 gcc -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm -D_REENTRANT
 -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DSOCKS -fno-strict-aliasing -pipe
 -Wdeclaration-after-statement -I/usr/local/include
 -I/usr/local/fnmt/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -I/usr/include/gdbm
 -I/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/CORE -o
 .libs/snmpd .libs/snmpd.o -Wl,-E -Wl,-rpath
 -Wl,/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/CORE 
 -L/tmp/net-snmp-5.4.2.1/agent/.libs
 -L/tmp/net-snmp-5.4.2.1/agent/helpers/.libs
 -L/tmp/net-snmp-5.4.2.1/snmplib/.libs -L/tmp/net-snmp-5.4.2.1/snmplib
 -L/tmp/net-snmp-5.4.2.1/agent/helpers ./.libs/libnetsnmpagent.so
 helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so
 /tmp/net-snmp-5.4.2.1/agent/helpers/.libs/libnetsnmphelpers.so
 /tmp/net-snmp-5.4.2.1/agent/.libs/libnetsnmpagent.so
 /tmp/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.so -lrpm -lrpmio -lpopt
 ../snmplib/.libs/libnetsnmp.so -lcrypto -lz -L/usr/local/lib
 -L/usr/local/fnmt/lib
 /usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/auto/DynaLoader/DynaLoader.a
 -L/usr/local/fnmt/lib/perl5/5.8.8/i686-linux-thread-multi-ld/CORE -lperl
 -lm -lutil -lpthread -lc /usr/local/fnmt/lib/libsocks.so -lpam -lnsl
 -lcrypt -ldl   -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
 -Wl,/usr/local/fnmt/lib
 gcc: /usr/local/fnmt/lib/libsocks.so: No such file or directory

What configure options are you using?

It looks like you're using a custom Perl installation in /usr/local/fnmt. Why? 
What's the output of perl -V?
Incidentally, the dependency to libsocks.so comes from the same path.


+Thomas

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: ask help about engineBoots problem

2009-02-13 Thread Thomas Anders
XIANG Lei wrote:
  I am using net-snmp 5.2.4, I met an issue:
 
  When I restart snmpd and its agent, engineBoots can not increase by
 1, why?
  I'd like to know how can i configure the snmpd, I can make
 engineBoots increase after each time restart.

The engineBoots value gets written to the *persistent* snmpd.conf on
shutdown and is read in from there on startup, unless you instruct the
agent differently. The latter is the most typical reason for your type
of problem.

What's the output of net-snmp-config --persistent-directory?
Is the snmpd.conf file in this directory part of the output provided if
you add -Dread_config to your snmpd startup options?
How exactly (i.e. with what options) are you starting snmpd today?


+Thomas

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: AIX and Network interface issues.

2009-02-10 Thread Thomas Anders
Paul Hogan wrote:
 I did a search in the config.log and I didn't find a match to the issue you 
 are stating.  Sounds like the interfaces may not be typically supported 
 though?

If you're running a 64-bit AIX kernel, interface information currently
isn't supported by net-snmp. As Dave said: patches appreciated.


+Thomas

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96

2009-01-20 Thread Thomas Anders
PoWah Wong wrote:
 The file oamp_shm.h is not missing, that is why net-snmp-5.1.4.2 compile.
 If I use the compile instructions generated by 5.1.4.2 to compile 5.2.5.1, 
 5.3.2.3 or 5.4.2.1, then they all compile ok.
 The question is, in 5.4.2.1, how to generate the same compile instructions 
 generated by 5.1.4.2 (i.e. gcc -I../../include ...) ?

oamp_shm.h is not part of net-snmp and has never been. If you need to include 
any third-party include file from a dedicated directory, please make sure to 
*explicitly* pass the proper compiler options to pick up include files from 
that path. E.g.

env CFLAGS=-I/your/own/path ./configure ...


+Thomas

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: compile error when upgrading from 5.1.4.2 to 5.4.2.1 with gcc 2.96

2009-01-20 Thread Thomas Anders
Mike Ayers wrote:
   Isn't there a file or command that prints out the original configure 
 command and args used to build?  I believe this is what the OP is looking 
 for, in order to build 5.4.2.1 with the same args that worked so well for 
 5.1.4.2.

net-snmp-config --configure-options


+Thomas

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp compile problem

2009-01-14 Thread Thomas Anders
spectrum wrote:
 have a compile problem with Net-SNMP 5.4.2.1
 ./configure --enable-embedded-perl --enable-shared
 proceed without any error.

What Linux distro are you using? What Perl packages do you have installed?
What's the output of 'perl -V'?

 make
 ...
 gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2 
 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
 -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
 -I/usr/include/gdbm -I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE -c 
 snmp_perl.c  -fPIC -DPIC -o .libs/snmp_perl.o
 snmp_perl.c:1:20: error: EXTERN.h: Нет такого файла или каталога
 In file included from snmp_perl.c:2:
 /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/perl.h:948:21: error: 
 embed.h: Нет такого файла или каталога
 /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/perl.h:2382:19: error: 
 handy.h: Нет такого файла или каталога
 /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/perl.h:2560:24: error: 
 unixish.h: Нет такого файла или каталога

It looks like you're missing a couple of required Perl header files. Do you 
have embed.h, handy.h and unixish.h anywhere on your system? They should 
normally be in the very same directory as perl.h itself, i.e. 
/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE in your case.

Also, please use env LC_ALL=C make instead of just make before posting 
error messages in the future.


+Thomas

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp and vlan-interfaces on FreeBSD box

2009-01-09 Thread Thomas Anders
Alexander Shikoff wrote:
 Thank you very much! --enable-mfd-rewrites helped.

Could you please leave an appropriate note in the corresponding bug tracker 
item?


+Thomas

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp and vlan-interfaces on FreeBSD box

2009-01-09 Thread Thomas Anders
Alexander Shikoff wrote:
 On Fri, Jan 09, 2009 at 08:58:10AM +, Dave Shield wrote:
 Where do think I found the suggestion in the first place?  :-)
 :) I've looked onto bug tracker not very intently. The solution was on the 
 top,
 but I've scrolled page to the bottom... Thanks again! :)

OK, I didn't assume from the thread that the solution was already fully 
documented and the tracker item was already closed properly as Won't fix 
(which I just wanted to do).
We're done, I think.


+Thomas

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Cannot seem to get the notification sinks table compiled in

2009-01-06 Thread Thomas Anders
Shachar Shemesh wrote:
 It would appear the answer is no. My config.log has:
 default_mibs_install=' SNMPv2-MIB.txt RFC1213-MIB.txt 
 SNMP-VIEW-BASED-ACM-MIB.txt SNMP-COMMUNITY-MIB.txt 
 SNMP-FRAMEWORK-MIB.txt SNMP-MPD-MIB.txt SNMP-USER-BASED-SM-MIB.txt 
 SNMP-USER-BASED-SM-MIB.txt'
 
 The main question is why. Also, it was my understanding that MIBs are 
 not even required in order to run an agent. Why does the list of MIBs 
 matter?

In fact, what matters are the enabled mib *modules*. Please check and/or post 
the output of

./net-snmp-config --snmpd-module-list | tr   \n
grep default_modules configure-summary


+Thomas

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Cannot seem to get the notification sinks table compiled in

2009-01-06 Thread Thomas Anders
Shachar Shemesh wrote:
 ./net-snmp-config --snmpd-module-list | tr   \n
   
 mibII/snmp_mib
 mibII/system_mib
 mibII/sysORTable
 mibII/vacm_vars
 mibII/vacm_conf
 utilities/execute
 snmpv3/snmpEngine
 snmpv3/snmpMPDStats
 snmpv3/usmStats
 snmpv3/usmConf
 snmpv3/usmUser
 util_funcs
 mibII/vacm_context

 grep default_modules configure-summary

   Agent MIB code: default_modules =  snmpv3mibs 
 mibII/snmp_mib mibII/system_mib mibII/sysORTable mibII/vacm_vars 
 mibII/vacm_conf utilities/execute

As you can see, there's no sign of notification. Try adding 
--with-mib-modules=notification to your configure options.


+Thomas

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Retrieving Bit-Field/Hex-String with Perl

2009-01-06 Thread Thomas Anders
Nikos Balkanas wrote:
 Actually, according to the link that Mike posted, you should altogether 
 uninstall Net::SNMP, as it will clash with the snmp/net-snmp perl module. 

Not really. They do *not* clash and uninstalling Net::SNMP will *not* solve the 
OP's problem.


+Thomas

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Cannot seem to get the notification sinks table compiled in

2009-01-06 Thread Thomas Anders
Shachar Shemesh wrote:
 Thomas Anders wrote:
 As you can see, there's no sign of notification. Try adding 
 --with-mib-modules=notification to your configure options.
   
 I have tried removing all --with-out-mib-modules, and that did not 
 solve the problem. I then tried explicitly adding notification to 
 --with-mib-modules, and that seemed to do the trick.
 
 Now I need to figure out which mib modules I can remove to get some of 
 the 140Kb that this added to my code length back.
 
 The weird thing is that the configure help suggests that notification 
 is automatically added unless you ask for it to be removed.

Please post your entire current configure line.
Please note that --enable-mini-agent enables a bare-bone agent with way less 
features than default.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)  

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: snmp v3 authentication

2008-12-22 Thread Thomas Anders
Nikos Balkanas wrote:
 Server2:~/work/.../snmp/tutorial- snmpget -v 3 -u  127.0.0.1
 sysUpTime.0
 snmpget: Unknown user name (Sub-id not found: (top) - sysUpTime)
  
 But I give user-name ()! snmpd is 5.4.1 and os is Solaris 10.5. I
 also specify noAuthNoPriv in snmp.conf

The *agent* (SNMP daemon) responded that it doesn't know that user and snmpget 
displayed that result. Please check your agent configuration.


+Thomas

--
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: How can I add a v3 user successfully?

2008-12-10 Thread Thomas Anders
BOMB wrote:
 [EMAIL PROTECTED] net-snmp-5.4.2.1]# rwuser initial
 -bash: rwuser: command not found
  
 [EMAIL PROTECTED] net-snmp-5.4.2.1]# rwuser wes
 -bash: rwuser: command not found

Both lines need to go into your regular snmpd.conf file instead of your shell.

 [EMAIL PROTECTED] net-snmp-5.4.2.1]# createUser initial MD5
 setup_passphrase DES
 -bash: createUser: command not found

This line needs to go into your persistent snmpd.conf file.

Run net-snmp-config --snmpconfpath and net-snmp-config 
--persistent-directory to determine config file path names.


+Thomas

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: pr_size value in psinfo for 64 bit applications on Solaris 10

2008-12-06 Thread Thomas Anders
Frans Grotepass wrote:
 I received no response on this question... I dove into the code and added the 
 following patch. This results in  suitable behaviour with a 32 bit build 
 accessing the data from 64 bit applications. The patch was done on v5.4.2 and 
 tested on Solaris 10. Hopefully this could be added to the main branch.

Thanks for the patch. Please submit it to http://www.net-snmp.org/patches so it 
won't get lost.


+Thomas

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: IPV6 support

2008-12-03 Thread Thomas Anders
Reza Salehi wrote:
 Finally I could get it working and got the same result as yours.
 I should copy all libraries over to make it working.
 Anyhow as you mentioned there are some serious issues in IPV6 MIB
 implementation(like not seeing the ipv6 address) .Hopefully net-snmp
 committee can address this issues since IPV6 interfaces  are growing day
 by day.

All relevant committees are likely going to tell you that the IPV6-MIB is 
obsolete.
Use RFC4293 instead.


+Thomas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp with perl

2008-12-03 Thread Thomas Anders
Ambika Tripathy wrote:
 what is the suitable flag at configuration time to include perl
 module? Please give a sample example.

./configure --with-perl-modules

If you also want embedded Perl support in snmpd and snmptrapd, add 
--enable-embedded-perl (now default).


+Thomas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: net-snmp with perl

2008-12-03 Thread Thomas Anders
Ambika Tripathy wrote:
 checking for Perl cc... Can't locate Config.pm in @INC (@INC contains:
 /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
 /usr/local/lib/site_perl .).
 BEGIN failed--compilation aborted.
 configure: error: Could not determine the compiler that was used to build
 /usr/bin/perl. Either set the environment variable PERLPROG to a different
 perl binary or use --without-perl-modules to build without Perl.

Install the Ubuntu package that includes Perl's Config.pm (perl-modules in 
Debian Etch) or use --disable-perl-cc-checks.


+Thomas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Newbie MIB questions on Windows

2008-12-03 Thread Thomas Anders
Matthew Devine wrote:
 So I just installed Net-SNMP binary for Windows version 5.4.2.  Been
 reading through the documentation but unable to figure out why I can’t
 get any of the systemStats from the UCDavis SNMP MIB. 
 
 snmpwalk -v2c -c public localhost systemStats
 
 UCD-SNMP-MIB::systemStats = No Such Object available on this agent at
 this OID

Not implemented for Windows. See README.agent-mibs as shipped with the source.
Patches always appreciated. :-)


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)  

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: snmpd suddenly stopped working

2008-12-01 Thread Thomas Anders
Julius wrote:
 Connection from UDP: [127.0.0.1]-[127.0.0.1]:-5226 REFUSED
 [...]
 On Sun, 2008-11-30 at 18:23 +0100, Jan Houtsma wrote:
 Isn't that the same as the one i posted before (Re: Fedora
 10+x86_64+snmpd gives segfault in libc-2.9.so at startup)?

 The first symptom of snmpd not starting is that you get connection
 errors.. Are you on x86_64?
 
 Yes, its x86_64.
 heres a strace output from snmpd starting up: 
 http://www.reactos.org/paste/index.php/2451/
 
 contains a lot lines like this:
 close(344)  = -1 EBADF (Bad file descriptor)
 
 how can i check if snmpd crashes on libc.so.x ?
 
 but i doubt that glibc/snmpd versions are a problem here, both were not
 updated in my archlinux distribution after the first working
 installation.

A daemon that repeatedly logs

  Connection from UDP: [127.0.0.1]-[127.0.0.1]:-5226 REFUSED

is obviously running, i.e. has *not* crashed. Please check your tcp-wrapper 
configuration, i.e. /etc/hosts.allow and /etc/hosts.deny.


+Thomas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Compile error when cross compiling net-snmp

2008-12-01 Thread Thomas Anders
Mike Ayers wrote:
   It appears that the system is building perl modules, which have their 
 own set of flags.  I would suggest using the --disable-embedded-perl flag 
 to hopefully eliminate perl connections altogether.  If you will have perl on 
 the target system, you can try the --disable-perl-cc-checks flag, which I 
 suspect will force the same compiler to be used.  I must confess, however, 
 that I remain a bit baffled by the perl/net-snmp entanglement, and have not 
 yet been able to get a completely perl-free build...

configure --without-perl-modules --disable-embedded-perl should get you a 
perl-free build. If it doesn't, please report.

FYI, --disable-perl-cc-checks just disables the *checks* whether $CC and 
perl -V:cc are considered incompatible. You shouldn't need this option unless 
our heuristic is broken.


+Thomas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: lm_sensors support from net-snmp

2008-12-01 Thread Thomas Anders
Reza Salehi wrote:
 I need lm_sensor support from net_snmp. 
 I am running net-snmp 5.4.2.
  
 How can I configure snmpd to support lm-sensors?
  
 I can retrieve temperature using sensors -f   I can see 
 libsensors.so.3  in   /usr/lib   directory ,as well.

Are you building from source? If so, then

  ./configure --with-mib-modules=ucd-snmp/lmSensors ...

should add support for LM-SENSORS-MIB to (y)our agent.


+Thomas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: IPV6 support

2008-12-01 Thread Thomas Anders
Reza Salehi wrote:
 snmpwalk -v 2c localhost -c TC IPV6-MIB::ipv6IfTable
 IPV6-MIB::ipv6IfTable = No Such Object available on this agent at this OID
 
 I am wonder what I am missing here.

What net-snmp version are you using?
What OS version are you running on?
What's the output of

  net-snmp-config --configure-options
  net-snmp-config --snmpd-module-list | tr   \n | grep -i ipv6

?


+Thomas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Question about setting up IEXpress net-snmp for HP UX 11.23.

2008-11-25 Thread Thomas Anders
Paul Hogan wrote:
 Through some threads on the internet I was
 able to find the IEXpress net-snmp bundle that is out of HP's web site
 and download it.  [...] Can
 someone give me a step by step on how to set this up on this type of
 system?

If you have problems using a vendor's Net-SNMP package, then it'd
probably make sense to ask that vendor first.

For general questions on how to use/configure Net-SNMP, you may want to
consult the Net-SNMP FAQ:

  http://www.net-snmp.org/wiki/index.php/FAQ

and/or browse the other documents on http://www.net-snmp.org/ .


+Thomas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: extending snmpd.conf defaults to type string

2008-11-22 Thread Thomas Anders
ntwrkd wrote:
 I have a few questions about this:
 1) How can I force the data in question to an INTEGER or GAUGE by
 using the extending snmpd.conf method

Use pass or pass_persist instead of exec/extend. It's a bit more
complex, but gives you more flexibility (like returning data with a type
other than string).


+Thomas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: NetSNMP and RPM Support

2008-11-19 Thread Thomas Anders
Jorge Patrão wrote:
 My question is: is NetSNMP RPM support important or not? Should I
 install beecrypt or NetSNMP without RPM support?

RPM support is needed for implementation of the HOST-RESOURCES-MIB. If
you don't need that one, you should be fine without RPM support. If in
doubt, install beecrypt-devel and run the full-featured version.


+Thomas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


  1   2   3   4   5   6   7   8   9   10   >