Re: is agentx support is there in 5.0.9 on solaris ????

umashankar tm <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

   I am also facing the same problem with Solaris10 Net-SNMP 5.0.9. My code works perfectly fine when it is run as a master agent. But if I run it as a agentx subagent, it seems to work fine but does not respond to any queries. 

  I found that the problem is in OID registration. Please see the following snmpd logs in debug mode:

:
:
NET-SNMP version 5.0.9
register_mib: registering "AgentX subagent 7, session   554590, subsession   5550b0" at .4294967296.12884901888.25769803776.4294967296.17179869184.4294967296.45045617000448.4294967296.4294967296.21474836480
:

It is taking some junk values for the oids. It was supposed to be {1,3,6,1,4,1,107xx,1,1,5}

I also tried doing dlmod in snmpd.conf file by creating shared library but without any success.
I was getting the following
 error:

dlopen failed: ld.so.1: snmpd: fatal: /usr/sfw/lib/libseaProxy.so: wrong ELF class: ELFCLASS32
dlopen failed: ld.so.1: snmpd: fatal: /usr/sfw/lib/libseaExtensions.so: wrong ELF class: ELFCLASS32

I guess this is because I am using 64-bit machine, but my libs are of 32-bit. Please let me know if I am missing out an anything.

Regards,
Umashankar


--- On Tue, 17/2/09, Wes Hardaker <[email protected]> wrote:
From: Wes Hardaker <[email protected]>
Subject: Re: is agentx support is there in 5.0.9 on solaris ????
To: "Dave Shield" <[email protected]>
Cc: "Wes Hardaker" <[email protected]>, "[email protected]" <[email protected]>
Date: Tuesday, 17 February, 2009, 9:34
 PM

>>>>> On Tue, 17 Feb 2009 16:02:28 +0000, Dave Shield
<[email protected]> said:

DS> One thought - was AgentX enabled by default in the 5.0.x line?

My thought is that the default sun build had it enabled because I
thought they were using it.  Good question though.

-- 
Wes Hardaker
Sparta, Inc.

------------------------------------------------------------------------------
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
[email protected]
Please see the following page
 to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


       Add more friends to your messenger and enjoy!  Invite them now.


      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

------------------------------------------------------------------------------
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.