in case you are interested... [was: HOST-RESOURCES-MIB and the hrSWInstalledID object]

2005-03-29 Thread Alexander W. Janssen
Hi all, yes, i am currently working on a Debian-implementation of HOST-RESOURCES-MIB::hrSWInstalled. Cheers, Alex. - Forwarded message from "Alexander W. Janssen" <[EMAIL PROTECTED]> - > Date: Tue, 29 Mar 2005 23:31:12 +0200 > From: "Alexander W. Janssen" <[EMAIL PROTECTED]> > Subject:

ifTable iterate_access

2005-03-29 Thread Emi . Yanagi
Hi Robert, Thanks for writing. I have been working on mib2c.iterate_access.conf to generate ifTable iterate_access, because that looks most close to what I want. The obstacle I met here is in ifTable_access.c line 40, *my_loop_context = /** XXX */ ; *my_data_context = /** XXX */ ; How

udp connection

2005-03-29 Thread Vijay Krishna
Title: udp connection Could somebody help me out in how to make a udp connection from a subagent (using subagent program- example-demon program in snmp tutorial toolkit) to a net-snmp snmpd master agent. I tried tcp but failed and unable to find links which could help me out with making a ud

udp connection-agent with subagent via agentX

2005-03-29 Thread Vijay Krishna
Title: udp connection-agent with subagent via agentX I am running 5.2.1 net-snmp snmpd agent, and example-demon subagent  program (used netsnmp_ds_set_string() for making tcp connection on port 161 of agent). I am using solaris 8 on sparc. I get error message at agent saying maximum packet s

Mib Parsing

2005-03-29 Thread M. Vivek
I am trying to identify the type of data corresponding to an oid with the C API provided by NetSnmp. Is there a way to do this..? -- regards, Vivek M --- SF email is sponsored by - The IT Product Guide Read honest & candid rev

RE: after short oid it is not possible to make call with longer o id

2005-03-29 Thread German Gumenyuk
Hello Bruce, back to OID length question... command line works. On Fedora-3 2.6.9-1.667 with net-snmp-5.1.2-11 it is the same behaviour as on solaris - after long OID string short OID does not work. Here is code example: /** main ***/ static char *oid2 = ".1.3.6.1.2.1.1.1.0"; static ch

Help wanted Regarding Mib imports

2005-03-29 Thread RajChandrasekaran
Hi Friends , I tried querying some VLAN information in my catalyst switch from my linux box configured with Net:Snmp . But when I tried using snmpwalk for mibs like vmVoiceVlanId,vmVoiceVlanEntry ,vtpVlanState ( Vlan specific MIBS) , I got an error saying "vtpVlanState: Unknown Object Identifie

RE: thread-safe support of snmpd

2005-03-29 Thread Grasic Igor
Hello, Talking about multithreads... I wonder, how can I implement sending traps in agent, triggered from some other thread that listen independent events? In other words: I have snmpd thread that reacts on snmpXXX events. Where and how in the agent I should add code that also sends traps de

Re: thread-safe support of snmpd

2005-03-29 Thread lglyahoo-misc
--- Robert Story <[EMAIL PROTECTED]> wrote: >>> The only way to use snmpd in a multi-threaded >>> application is to keep ALL snmp >>> functionality in ONE thread. Other threads may >>> listen for non-snmp related >>> events, and notify the snmpd thread that a trap >>> needs to be sent, but the tr

Re: snmp_add_var

2005-03-29 Thread Dave Shield
HL> string subnet_prefix = "fe80"; -> should be all hex HL> snmp_add_var(pdu, smNetPartitionConfigSubnetPrefix_oid, HL> sizeof(smNetPartitionConfigSubnetPrefix_oid)/sizeof(oid), 's', HL> subnet_prefix.data()); HL> HL> How can I tell snmp_add_var this is a hex value? RS> p