Re: ASN_IPADDRESS data type

2005-05-26 Thread Victor Yeo
> On Wed, 2005-05-25 at 11:30, Victor Yeo wrote: > > > One more question, i use mib2c.create-dataset.conf to generate this table. > > Can i create the table rows in real-time? > > Yes. > > If you register the dataset table using: > >netsnmp_table_data_set *ds = >netsnmp_create_table_dat

Re: Persisting MIB table

2005-05-26 Thread Dave Shield
On Thu, 2005-05-26 at 01:40, Steve S. Law wrote: > Thanks for the direction. > > Some high-level questions: > (1)Using those APIs to implement persistence means > that data is saved to some .conf file only once and > only when the sub-agent is normally terminated? I think so. It'll be saved when

Re: ASN_IPADDRESS data type

2005-05-26 Thread Dave Shield
On Thu, 2005-05-26 at 09:53, Victor Yeo wrote: > > On Wed, 2005-05-25 at 11:30, Victor Yeo wrote: > > > > > One more question, i use mib2c.create-dataset.conf to generate this > table. > > > Can i create the table rows in real-time? > > > > Yes. > > > > If you register the dataset table using: > >

Re: array-user snmpbulkwalk worked for a table not entire mib

2005-05-26 Thread Dave Shield
On Tue, 2005-05-24 at 19:11, [EMAIL PROTECTED] wrote: > Also, changing the max-repeater to 1. Is changing these values > to make a bulkwalk work an acceptable practice? Changing the max-repetitions of a GetBulk to 1 is singularly pointless. You might as well use GetNext in the first place. Da

Re: Fwd: Re: Subagent kills Master AgentX after sending 299 traps

2005-05-26 Thread Dave Shield
On Wed, 2005-05-25 at 15:46, Salsa wrote: > > Can you try the simplifications I suggested (taking > > the snmptrapd subagent behaviour and main subagent > > PING action out of the equation), and try running > > the master agent with the '-Dagent' debugging again. > Ok, did that. Hope everything's

RE: Availability of agentx header files.

2005-05-26 Thread Kurapati M-G19456
Our SNMP SubAgent is a separate process built with the APIs. I am not clubiing it with the SNMP Agent Daemon. I guess in such a case we reuire these headers I guess. Mahesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kurapati M-G19456 Sent: Wednes

Re: ASN_IPADDRESS data type

2005-05-26 Thread Victor Yeo
dear sir, I got your point. thanks for the clear analysis! victor > > thanks for the helpful reply. > > This is what i use, i think you use a short form for > > netsnmp_register_table_data_set(..)??? Right? > > netsnmp_register_table_data_set() takes three parameters: >- netsnmp_handle

Used and total swap above 2 gig. Any way to get this???

2005-05-26 Thread Jim Ruddell
All, I'm reposting this request in the hopes that someone has a work around to something that seems to be a serious oversight with SNMP. I'm looking for a way to monitor used (or available) swap on Linux systems. The standard MIBS I've tried are limited to either 2 or 4 gig. One cause is the

reg snmpv3

2005-05-26 Thread nithya venkatachalam
  Dear team, The SNMP version3  protocol has support for encryption and also user based security model.Iwould like to query a v3 agent only with the community based security model.Please tell me the way by which i can do this thanks in advance nithya

Using octelstinghex with Perl

2005-05-26 Thread Brad Jones
I am trying to use the cisco ping mib. It seems to require the use of the hex string type that is implemented in snmpset as the ‘x’ option. I cannot seem to find the equivalent in the perl modules. Is there one or a work around ?     I have tried to send it as an “OCTETSTRING” type

snmpinform version 3

2005-05-26 Thread Juwairia Zubair
Hi I am trying to get snmp version3 traps and informs to work but so far with no success. Previously I had an application sending snmptraps(version 1) from linux to snmptrapd running on windows2000. The command I used was snmptrap –v1 –c public 134.202.84.204 ‘’ 134.202.84.1 69 ‘’ ‘’ systemSc

RE: Shared table with dynamic row creation

2005-05-26 Thread Keller, Beat
Hi Dave, Thanks for your answering. I've tried the following: oid agent1_rs_oid[] = { 1,3,6,1,2,1,17,7,1,4,3,1,5,1 }; netsnmp_handler_registration *reg = netsnmp_create_handler_registration("example-demon", staticHandleSNMPCall,

Re: array-user snmpbulkwalk worked for a table not entire mib

2005-05-26 Thread [EMAIL PROTECTED]
Hi Dave, Thanks. I did the repeater(repetition) value experimentation based on Roberts suggestion. Just want to be sure, but does setting the non-repeater value to 1 have a similar functional effect to the a command as the max-repetitions? i.e. Is this something that I cannot

Re: Used and total swap above 2 gig. Any way to get this???

2005-05-26 Thread Dave Shield
On Thu, 2005-05-26 at 15:08, Jim Ruddell wrote: > I'm reposting this request in the hopes that someone has a work around > to something that seems to be a serious oversight with SNMP. I think you need to keep clear the distinction between fundamental problems with SNMP (either in general, or rela

How much V3 Support available for an extensible agent?

2005-05-26 Thread Srinivasan Kandalam
Hi All, New to the SNMP world. Would like to write an extensible agent based on net-snmp agent v3 version. Does it cover all the SNMP operations? What are the APIs available to support USM and VACM. Is there anything to be taken care for encryption? Thanks, Srini ---

Re: reg snmpv3

2005-05-26 Thread Dave Shield
On Thu, 2005-05-26 at 10:11, nithya venkatachalam wrote: > I would like to query a v3 agent only with the community based > security model. Please tell me the way by which i can do this You can't. If it *is* a strictly v3-only agent, then it won't support the community-based security model. That'

Re: array-user snmpbulkwalk worked for a table not entire mib

2005-05-26 Thread Dave Shield
On Thu, 2005-05-26 at 15:48, [EMAIL PROTECTED] wrote: > does setting the > non-repeater value to 1 have a similar functional effect to the a > command as the max-repetitions? No - the two fields have completely different purposes. A single GetBulk

Re: How much V3 Support available for an extensible agent?

2005-05-26 Thread Dave Shield
On Thu, 2005-05-26 at 16:08, Srinivasan Kandalam wrote: > Would like to write an extensible agent based on net-snmp agent v3 version. Why? That's exactly what we already supply. Why do you want to write another one? > Does it cover all the SNMP operations? Yes. > What are the APIs available to

SNMP v3 Support

2005-05-26 Thread Srinivasan Kandalam
Hi All, My first impression is this list is very useful and quick response I had ever seen. Would like to use the net-snmp agent with SNMP v3 support and try to understand the code implications related to our application. This is migration from net-snmp agent v2c using smux to v3 (with no smu

Re: array-user snmpbulkwalk worked for a table not entire mib

2005-05-26 Thread [EMAIL PROTECTED]
Hi Dave, Thanks again. Could you possibly explain why an snmpbulkwalk command would work on my MIB when the non-repeater value is set to 1 and fail when not set at all? As my original email specified, if a snmpbulkwalk is done on one of my tables I get: No more variables left in this