Re: Urgent: Multiple sub-agents registering same MIB

2007-07-03 Thread Shivani Garg
r indispensible help on the same. On 7/3/07, Dave Shield <[EMAIL PROTECTED]> wrote: On 03/07/07, Shivani Garg <[EMAIL PROTECTED]> wrote: > I want to run multiple sub-agents (all running from one IP) all registering > the same MIB with one snmpd. Is there any way this can be sup

Urgent: Multiple sub-agents registering same MIB

2007-07-03 Thread Shivani Garg
Greetings to all. I want to run multiple sub-agents (all running from one IP) all registering the same MIB with one snmpd. Is there any way this can be supported using agentx protocol so that a GET request for instance-1 of some MIB object (say myObject) goes to subagent-1 and a request for insta

Re: vp->magic and OID passed by snmpd

2007-06-24 Thread Shivani Garg
Thanks, that solved my problem. On 6/21/07, Dave Shield <[EMAIL PROTECTED]> wrote: > On 21/06/07, Shivani Garg <[EMAIL PROTECTED]> wrote: > > struct variable7 systemInfo_variables[] = { > > > #define OVERALLDISKOCCUPANCYINKB 276 > > > > {OVE

Fwd: vp->magic and OID passed by snmpd

2007-06-21 Thread Shivani Garg
Sincere Apologies.. I copied the wrong error in my last mail.. I error I get is: RFC1155-SMI::enterprises.6305.1.10.1.2.1.2.18.1.1.1 = No Such Instance currently exists at this OID -- Forwarded message -- From: Shivani Garg <[EMAIL PROTECTED]> Date: Jun 21, 2007 4:35 PM S

vp->magic and OID passed by snmpd

2007-06-21 Thread Shivani Garg
Greetings to all. I am using the code generated by mib2c for my MIB file. It contains an array like this.. : *oid systemInfo_variables_oid[] = { 1, 3, 6, 1, 4, 1, 6305, 1, 10, 1, 2, 1 };* *struct variable7 systemInfo_variables[] = {* *.* *.* *.* */* Out of all the elements of array, one is below

Re: How to configure sub-agent to connect to snmpd on another machine

2007-06-14 Thread Shivani Garg
DRESS); Regards Awadhesh On 6/12/07, Shivani Garg <[EMAIL PROTECTED]> wrote: > Greetings to all. > > Can anyone help me with this. My master agent snmpd daemon is running on > a different machine. How can I configure my sub-agent to connect to the > s

How to configure sub-agent to connect to snmpd on another machine

2007-06-12 Thread Shivani Garg
Greetings to all. Can anyone help me with this. My master agent snmpd daemon is running on a different machine. How can I configure my sub-agent to connect to the same? Thanks. Regards, Shivani - This SF.net email is sponsor

Re: select() on external FDs in get APIs

2007-06-07 Thread Shivani Garg
Hi, Thanks for your response on this. I could solve this problem.. Shivani On 6/7/07, Dave Shield <[EMAIL PROTECTED]> wrote: On 03/06/07, Shivani Garg <[EMAIL PROTECTED]> wrote: > I am not able to debug why my OID is not getting registered with snmpd. Have you tried work

Re: select() on external FDs in get APIs

2007-06-03 Thread Shivani Garg
MIB file itself. Or is it that we need to keep the respective MIB file at certain path. Any pointers from you in this regard will be helpful. Thanks. Shivani On 5/31/07, Magnus Fromreide <[EMAIL PROTECTED]> wrote: On ons, 2007-05-30 at 14:28 +0530, Shivani Garg wrote: > Hi, > >

Incorrect OID being passed from Master Agent

2007-05-31 Thread Shivani Garg
Greetings to all. I have written my won sub-agent for my MIB. Below follows the relevant code for the same: void *VAR; oid systemInfo_variables_oid[] = { *1,3,6,1,4,1,6305,1,10,1,2,1* }; struct variable4 systemInfo_variables[] = { /* magic number, variable type , ro/rw , callback fn

select() on external FDs in get APIs

2007-05-30 Thread Shivani Garg
Hi, I am building a netSNMP sub-agent which accepts SNMP Get from master daemon and has to forward the request to an external process (say myModule). My sub-agent will wait for a response to this SNMP Get from myModule and will fill the values for objects in var_() functions { which are generated

Communication between Master-agent and Sub-agent

2007-05-29 Thread Shivani Garg
Hi, I am rather new to NetSNMP stuff and trying to understand the communication between master-agent and sub-agent. Can someone please help me in clarifying my following doubts: a) Say I am writing a MIB .my for an object by the name of myObject. I believe a var_myObject() function will be creat