Starting an agent without using .conf files

2008-01-21 Thread Leif Pitcock
Is it possible to set the community string, port, and SNMP version without using the .conf files from the code itself? I know that I can use netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,NETSNMP_DS_AGENT_PORTS, "1161"); to set the port, are there equivalent functions for the comm

Re: shared libraries - do I have a problem??

2008-01-21 Thread Dan Miller (Kromos)
Well, I want to build snmpd with all the snmpd libraries static, so I'm using: ./configure --with-mib-modules=ip3Mib --enable-ucd-snmp-compatibility --enable-static --disable-shared --with-ldflags=-Bstatic However, I *do* need to link in one of my *own* shared libraries!! So I tried u

Re: Dynamically Loadable MIB problem

2008-01-21 Thread Alejandro Islas
Thanks, I tried your suggestion, and it turned out that it was working since the beginning but my mibs values were readable only using the private community. Do you know how I give read access to public community to my dinamically loaded module Alejandro On Jan 10, 2008 6:55 PM, Alejandro

[FIXED] How to make a SNMP subagent unregister or "hide" MO attributes to NMS ?!

2008-01-21 Thread Beaugy, Alexandre
Great, now, it completely works. Don't know how I turned around this capability without finding it. Especially when I'm sure (and firefox confirms) that I searched on google for "net-snmp unregister" and many related subjects without finding anything interesting. Never mind! Thanks a lot for you

Help required on net-snmp multiple varbind get-next generic error problem

2008-01-21 Thread srinivas pippiri
HI, I am using Net-Snmp 5.3.0.1 version. I was performing SNMP Get-Next by using Multiple variable bindings in which it includes all the MIB objects of one table. It is returning Generic error. I am suspecting there is some bug in table_iterator.c in this version. Please let me know if anyone ha

[Fwd: Re: mips cross-compiling]

2008-01-21 Thread Βαρδάκας Παναγιώτης
--- Αρχικό Μήνυμα Θέμα: Re: mips cross-compiling Από: Βαρδάκας Παναγιώτης <[EMAIL PROTECTED]> Ημερομηνία: Πεμ, Ιανουάριος 17, 2008 10:31 am Προς: "Robert Story" <[EMAIL PROTECTED]> ---

Re: Getting/Setting values of a agentx subagent from master agent

2008-01-21 Thread Dave Shield
On 19/01/2008, vijay <[EMAIL PROTECTED]> wrote: > In some scenarios I need to get values from sub-agents to arrive at some > decisions. > Is there any way to directly access MIB values of the sub-agents if I have > the OID and context information? The simplest approach is to send a suitable reques

Re:

2008-01-21 Thread Dave Shield
On 21/01/2008, 永胜 王 <[EMAIL PROTECTED]> wrote: > I am a programmer working on the snmp protocol, I am willing to understand > the protocol as deeply as I can, and that is why I am working on studing > net-snmp code > > But I am afraid I can not understand your code as it's too complicated to me

[no subject]

2008-01-21 Thread 永胜 王
Dear Mr.expert: I am a programmer working on the snmp protocol, I am willing to understand the protocol as deeply as I can, and that is why I am working on studing net-snmp code,which is achieved by your coders,by the way,which is a very meaningful work for your expert to accomplish. Thank y