Re: net-snmp v5.5 agent authenticationFailure for noAuthNoPriv V3 access

2010-08-20 Thread Dave Shield
On 19 August 2010 23:29, Ron Rader wrote: >  So these rouser statements allow specification of a MINIMUM security > level, which defaults to "auth." Correct. You need a line such as rouser xxxuser noauth to allow noAuthNoPriv requests. >  No problem.  I'll leave as-is and won't bother cha

Provifing ipAddrTable through subagent

2010-08-20 Thread Deepali Singalkar
Thanks for the solution for providing ifTable through subagent. I could override the ifTable of master agent successfullly by ifTable of subagent by using option -I -ifTable. But same is not working for ipAddrTable, with option -I -ipAddrTable Is this because ipAddrTable is depricated? Appreciate

Trap receivers, table_data.conf

2010-08-20 Thread Norasyikin MD Ali
Hi, First of all thank you Wes and Dave for you helpful replies to my various posts. Currently I'm trying to create a dynamic registration table so that an NMS can register and de-register to via snmpset. Is that feasible using table_data.conf? And will it's handler take care of creating and

Re: Provifing ipAddrTable through subagent

2010-08-20 Thread Dave Shield
On 20 August 2010 09:43, Deepali Singalkar wrote: > I could override the ifTable of master agent successfullly by ifTable of > subagent by using option -I -ifTable. > But same is not working for ipAddrTable,  with option -I -ipAddrTable > Is this because ipAddrTable is depricated? It depends on w

Re: How to configure snmpd.conf file via CLI?!

2010-08-20 Thread Wes Hardaker
> On Wed, 18 Aug 2010 09:00:14 +0800, "Alexander King" > said: >>> No,I mean,use the commands the net-snmp itself has,such as snmpset >>> or something,for example set a trap receiver IP,or delete a IP from >>> the snmpd.conf,is it feasible ??? The software will not, by design, modify *y

Re: Trap receivers, table_data.conf

2010-08-20 Thread Wes Hardaker
> On Fri, 20 Aug 2010 10:02:57 +0200, Norasyikin MD Ali > said: NMA> Currently I'm trying to create a dynamic registration table so that NMA> an NMS can register and de-register to via snmpset. Is that NMA> feasible using table_data.conf? And will it's handler take care of NMA> creating

net-snmp & HOST-RESOURCES-MIB::hrStorage

2010-08-20 Thread Julian Grunnell
Hi - hoping someone can help me with an issue I'm having with the above. I'm using snmp via a Cacti server to query disk usage on a client with a 21Tb partition defined - yet I seem to get the disk size incorrectly reported. I get the same result when querying the server locally. Platform details a

Re: MIB-Printer - prtConsoleDisable

2010-08-20 Thread Wes Hardaker
> On Tue, 17 Aug 2010 22:54:56 +0200, Uwe Riegger > said: UR> I try to lock/unlock different copiers with the OID iso. UR> 3.6.1.2.1.43.5.1.1.13.1 . getSNMP works, but when I want to setSNMP I UR> don't have the access to write at any copier. Because of the agent of UR> the device .

Re: Cant load subagent anyway

2010-08-20 Thread Wes Hardaker
> On Mon, 16 Aug 2010 20:42:21 -0300, Nedimar Turatti > said: NT> I cant get subagents to work on 5.4.2.1, on Ubuntu 10.04. And what happens when you walk the OID in question using "snmpwalk"? I assume nothing comes back? Can you walk other portions of the tree and that works? IE, ma

Re: differnet behavior between snmptrap command versions

2010-08-20 Thread Wes Hardaker
Using version NET-SNMP version 5.3.2.2 sending an SNMP trap with an enterprise OID of 1.3.6.1.4.1.789.0.86.0 results in a trap being sent (according to a wireshark capture) with an OID of 1.3.6.1.4.1.789.0.86.0 but if the enterprise OID is send as .1.3.6.1.4.1.789.0.86.0 (note the '.' At

Re: default timeout duration(SNMP Timeout)

2010-08-20 Thread Wes Hardaker
man snmpcmd: ... -t timeout Specifies the timeout in seconds between retries. The default is 1. Floating point numbers can be used to specify fractions of seconds. -- Wes Hardaker Cobham Analytic Solutions

Re: SNMPGET returning wrong value for the OID.

2010-08-20 Thread Wes Hardaker
You should be using "long" datatypes for integers, not "ints". That could be the issue if this is a 64 bit machine where the size of a long and the size of an int differs. -- Wes Hardaker Cobham Analytic Solutions -- T

Re: How to set trap2sink receiver IP via CLI?

2010-08-20 Thread Wes Hardaker
> On Tue, 17 Aug 2010 17:06:23 +0800, "Alexander King" > said: AK> com2sec local 0.0.0.0 public AK> # any IP is OK ? AK> And how to set trap2sink receiver IP via CLI? We currently don't support setting SNMPv2c based trap receivers via the CLI. However, if you're willing to

Re: net-snmp & HOST-RESOURCES-MIB::hrStorage

2010-08-20 Thread Dave Shield
On 20 August 2010 15:12, Julian Grunnell wrote: > > I’m using snmp via a Cacti server to query disk usage on a client with a 21Tb > partition defined – yet I seem to get the disk size incorrectly reported. > NET-SNMP version:  5.3.2.2 Can you please try with the most recent code (either 5.5, o