Re: Problem in registering timeticks

2005-03-02 Thread Kelvin Moss
There isn't an existing function to do what you want, but it's pretty easy tocreate one. Copy the netsnmp_instance_ulong_handler andnetsnmp_register_ulong_instance functions, change 'ulong' to 'timeticks' andchange ASN_UNSIGNED to ASN_TIMETICKS, and you're in business. --- Thanks much. I

RE: Need advises to configure my agent

2005-03-02 Thread Harter Damien
Still get the same error... and here is my snmpd.conf file : ### BEGIN CONF group publicv1 public group publicv2c public group publicusm public accesspublic"" any noauthexact all none none # load [1MAX=12.0] [5MAX=12.0] [15MAX=12.0] # # 1MAX: If

I am not able to recompile the SNMP agent with support of DISMAN-EVENT-MIB

2005-03-02 Thread jprieto
Hello, This is Jesus, from Soluziona, Spain. I am trying to configure the snmp agent to send traps to a manager station, but I'm not able to recompile the agent for supporting the DISMAN-EVENT MIB.I have read all the documentation available in the web site, where I see that I need to recompile the

what are advantages of agentx over smux

2005-03-02 Thread Ravi
Hi can anybody tell me advantages of agentx over smux. and what exactly the statement "AgentX has Efficient message format and coding" means? thanks --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hun

Re: snmpset version differences

2005-03-02 Thread LJP
On Wed, 02 Mar 2005 08:33:12 +1100, Andrew Hood <[EMAIL PROTECTED]> wrote: > LJP wrote: > > I'm really puzzled by this, and I'm hoping someone has an easy answer. > > > > I have some scripts that use snmpset vcrsion 4.25 that don't work > > running snmpset version 5.1.2. All I'm doing is bring por

struct variable?

2005-03-02 Thread Michael P. Soulier
Hey people, I'm reading AGENT.txt that came with net-snmp-5.0.9-2.80, and under "Variable handling" it talks about a "struct variable". Looking in /usr/include/net-snmp/library/snmp_api.h, I see no such thing, but there is a "struct variable_list". It does not have all of the fields mentioned in

Re: Problem in registering timeticks

2005-03-02 Thread Dave Shield
On Tue, 2005-03-01 at 13:51, Robert Story wrote: > KM> I have several counters that I need to register with the Master. Some of > KM> these have type timeticks in the MIB file. I can't find the appropriate > KM> function to register them. For integers I am using > KM> netsnmp_register_int_instanc

Re: how to return no such instance for delegated requests

2005-03-02 Thread Robert Story
On Fri, 25 Feb 2005 22:54:13 +0530 (IST) madanagopal wrote: M> Currently we support GET and GETNEXT only. Anyway to support GET-BULK M> using the table handler what should we do? Should we add bulk-to-next M> handler? Yep. In fact, it's probably already being done for you. -- Robert Story; NET-

Re: mib2c: external index and internal index

2005-03-02 Thread Robert Story
On Fri, 25 Feb 2005 14:59:55 -0800 (PST) Srinivas wrote: SA>could someone tell mewhats an externalindex and SA> whats an internalindex? I see there is a distinction SA> being made in mib2c? An internal index is a table using one of its own columns as an index. For example, see the ifTable.

Re: handling tables with pass_persist

2005-03-02 Thread Michael P. Soulier
On 01/03/05 Michael P. Soulier did say: > Hello, > > I'm new to working with snmp, so I apologize if this is obvious, but if the > OID requested corresponds to a table row, how does one return an entire table > row using an external script called via pass_persist? > > I think there may be a dis

RE: Need advises to configure my agent

2005-03-02 Thread Harter Damien
Windows XP SP1 Net-snmp v5.2.1-1.win32 I want to try a Java sample available on http://www.jrobin.org/api/workingexample.html. -Message d'origine- De : Bruce Shaw [mailto:[EMAIL PROTECTED] Envoyé : mardi 1 mars 2005 17:07 À : Harter Damien; net-snmp-coders@lists.sourceforge.net Objet :

Re: how to return no such instance for delegated requests

2005-03-02 Thread madanagopal
hai, > M> Currently we support GET and GETNEXT only. Anyway to support GET-BULK > M> using the table handler what should we do? Should we add bulk-to-next > M> handler? > > Yep. In fact, it's probably already being done for you. > Does this mean that in our handler is it enough to have a case

Re: Problem in registering timeticks

2005-03-02 Thread Robert Story
On Sat, 26 Feb 2005 05:55:51 -0800 (PST) Kelvin wrote: KM> I am pretty new to Net-SNMP. I need to develop a subagent that attaches to KM> master agent and reports values for some SNMP counters. KM> KM> I have several counters that I need to register with the Master. Some of KM> these have type ti

snmpset version differences

2005-03-02 Thread LJP
I'm really puzzled by this, and I'm hoping someone has an easy answer. I have some scripts that use snmpset vcrsion 4.25 that don't work running snmpset version 5.1.2. All I'm doing is bring ports up and down on a Cisco switch. Here's an example: snmpset < IP address> CITofwQAoAb interfaces.ifT

Need advises to configure my agent

2005-03-02 Thread Harter Damien
Hi all, today, I've installed net-snmp. My goal is to create an app that monitor CPU load (and others infos) : enterprises.ucdavis.laTable.laEntry.laLoad.1 (1.3.6.1.4.1.2021.10.1.3.1). To test the agent and my config, i send the command : snmpget -v 1 -c public 127.0.0.1 .1.3.6.1.4.1.2021.10.1.3