problems with configure on Solaris 11 (repost)

2012-07-26 Thread Bruce Shaw
checking for grep that handles long lines and -e... configure: error: no acceptable grep could be found in /usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/sbin:/usr/sbin:/usr/xpg4/bin I thought I had this working. Did I miss a package? ---

How to convert Port_instance to portnumber

2012-07-26 Thread najmudheen.thodika
Hi All, I want to convert a port instance internal name to its corresponding port number. for example when I query a get Bulk for OID name ="fcsPortState" the SNMP agent gives me back with values like this fcsPortState. 1.32.10.0.13.236.4.91.0-- 3 fcsPortState. 1.32.11.0.13.236.4.

Re: Net-snmp compilation errors

2012-07-26 Thread Dave Shield
On 26 July 2012 09:59, Madhu Sudhana Rao wrote: > Sorry! I can't post companys propriety code here, because it has copyrights. > > Is there a way to compile the code with configure_require(mibII/interface) > line, by commenting other things like if-mib/ifTable? I have no idea - without seeing the

Re: Net-snmp compilation errors

2012-07-26 Thread Madhu Sudhana Rao
Sorry! I can't post companys propriety code here, because it has copyrights. Is there a way to compile the code with configure_require(mibII/interface) line, by commenting other things like if-mib/ifTable? Please suggest. -Madhu. On Thu, Jul 26, 2012 at 1:49 PM, Dave Shield wrote: > On 26 July

Re: SNMP-errors

2012-07-26 Thread Dave Shield
On 25 July 2012 14:22, Jatin Bodarya wrote: > I can’t grab integer values with read_objid() function. Correct - you can't. That's not what this API call is for. >From the mib_api(3) man page: read_objid takes a string containing a textual version of an object identifier (in ei

SNMP-errors

2012-07-26 Thread Jatin Bodarya
I can't grab integer values with read_objid() function.. can tou help me? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT manag

Re: Net-snmp compilation errors

2012-07-26 Thread Dave Shield
On 26 July 2012 09:11, Madhu Sudhana Rao wrote: > Problem is if I comment interface line, I am getting "no such object > available at this OID" for one my properity table which is related to > ifTable. OK - please post the code for your properity table (as attachments), so that we can take a look

Re: Net-snmp compilation errors

2012-07-26 Thread Madhu Sudhana Rao
Problem is if I comment interface line, I am getting "no such object available at this OID" for one my properity table which is related to ifTable. If I use my old version net-snmp 5.2.1 (which includes both if-mib/ifTable and mibII/interfaces lines), the table is printing with snmpwalk command.

Re: Net-snmp compilation errors

2012-07-26 Thread Dave Shield
On 26 July 2012 08:38, Madhu Sudhana Rao wrote: > I commented config_require(mibII/interfaces) and compilation done without > any issues So run with that. There's no problem - that's essentially what the 'mibII/ifTable' header does anyway Dave ---

Re: Net-snmp compilation errors

2012-07-26 Thread Madhu Sudhana Rao
Hi, I commented config_require(mibII/interfaces) and compilation done without any issues, but if I comment config_require(if-mib/ifTable) and leave interfaces I am getting same errors. Are there any other places/files I need to look at? -Thanks, Madhu. On Wed, Jul 25, 2012 at 2:47 PM, Dave Shi