Re: Unknown Object Identifier for log counter

2010-03-16 Thread Mudassar
Hi, Attached is the snmp conf file. I think all your required information is in it, i am using opennms to get all this information. # snmptranslate -Dparse-mib -IR logMatchCounter 2>&1 | grep UCD-SNMP parse-mibs: Module 51 UCD-SNMP-MIB is in /etc/sma/snmp/mibs/UCD-SNMP-MIB.txt parse-mibs:

RE: snmpwalk does not walk the table when using dynamic load.

2010-03-16 Thread Wei Zheng
Sorry, I misread the question. When doing snmpgetnext, it returns the top of next table. # snmpgetnext -c public localhost lmPlNumber.0 LOCAL-MIB::lmPlStatResetStats.0 = INTEGER: 0 (** It should be: # snmpgetnext -c public localhost lmPlNumber.0 LOCAL-MIB::lmPlName."test1" = STRING: test1 **) T

RE: snmpwalk does not walk the table when using dynamic load.

2010-03-16 Thread Wei Zheng
It gave out correct answer to lmPNumber.0, # snmpwalk -c public localhost ltmPoolNumber.0 LOCAL-MIB::lmPlNumber.0 = INTEGER: 3 Thanks, Wei -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Tuesday, March 16, 2010 1:19 A

Re: Solaris ssCpuRawIdle counter update rate?

2010-03-16 Thread Dave Shield
On 16 March 2010 15:55, Brendan Woodward wrote: > I am using the ssCpuRawIdle counter on a Solaris system to measure the > number of "ticks" spent idle over a given period of time. > I have found that this counter only updates every 5 seconds and would really > like to be able to query the value

Solaris ssCpuRawIdle counter update rate?

2010-03-16 Thread Brendan Woodward
Hi, I am using the ssCpuRawIdle counter on a Solaris system to measure the number of "ticks" spent idle over a given period of time. The counter is documented like this: " MIBUCD-SNMP-MIB TYPE ssCpuRawIdle OID

Re: NET SNMP Sub agent And Master Agent Connection

2010-03-16 Thread Dave Shield
On 16 March 2010 11:43, Ashish vashishtha wrote: > in case multiple subagent are running on the same machine can we configure > different sub agent ports for each subagent to establish connection with > master agent ? Why? The master agent will be listening on a standard port (typically the name

Re: NET SNMP Sub agent And Master Agent Connection

2010-03-16 Thread Ashish vashishtha
Ok... in case multiple subagent are running on the same machine can we configure different sub agent ports for each subagent to establish connection with master agent ? Regards Ashish On Tue, Mar 16, 2010 at 4:56 PM, Dave Shield wrote: > On 16 March 2010 10:22, Ashish vashishtha > wrote: > >

Re: NET SNMP Sub agent And Master Agent Connection

2010-03-16 Thread Dave Shield
On 16 March 2010 10:22, Ashish vashishtha wrote: > i have a question regarding master agent and sub agent connection. when sub > agent connection is establishes its connection with master agent with > init_agent() and init_snmp() does it opens any specific port between sub > agent and master agent

NET SNMP Sub agent And Master Agent Connection

2010-03-16 Thread Ashish vashishtha
Hello Dev and All, i have a question regarding master agent and sub agent connection. when sub agent connection is establishes its connection with master agent with init_agent() and init_snmp() does it opens any specific port between sub agent and master agent? if yes than how we can configure th

Re: would a single group with different access right to access different views?

2010-03-16 Thread Dave Shield
On 15 March 2010 23:34, Fatima Peter wrote: > Suppose we have > > 2 views: “all” and “none” > 1 group: “group1” > 3 access right: noAuthNoPriv, AuthNoPriv, and AuthPriv > > > > Could we configure: > > Group name    access right ReadView > ---

Re: About net-snmp table iterator performance

2010-03-16 Thread Dave Shield
On 16 March 2010 09:10, Zhao Li H wrote: > We have our data stored in a AVL tree, that makes the search very quickly. > Is it ok to use raw table helper which is templated in mib2c.raw_table.conf? Of course you can. That does mean you'll have to do most of the processing from within your table h

RE: About net-snmp table iterator performance

2010-03-16 Thread Zhao Li H
We have our data stored in a AVL tree, that makes the search very quickly. Is it ok to use raw table helper which is templated in mib2c.raw_table.conf? Appriciate your reply. -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shiel

Re: snmpwalk does not walk the table when using dynamic load.

2010-03-16 Thread Dave Shield
On 15 March 2010 22:50, Wei Zheng wrote: > When I do “snmpwalk  -c public localhost lmPl”,  it outputs, > > # snmpwalk -c public localhost lmPl > LOCAL-MIB::lmPNumber.0 = INTEGER: 2 What happens if you run snmpgetnext -c public localhost LOCAL-MIB::lmPNumber.0 ? Dave -

Re: -sh: ./snmpd:not found

2010-03-16 Thread Bart Van Assche
On Mon, Mar 15, 2010 at 2:52 PM, Sylvain Dery wrote: > Setting LD_TRACE_LOADED_OBJECTS did not do anything... any other > suggestions are welcome! > > > /usr/local/sbin # LD_TRACE_LOADED_OBJECTS=1 ./snmpd > -sh: ./snmpd: not found > > Printing which shared libraries are necessary by setting LD_TRA