RE: Problème String into OID

2012-08-02 Thread Jérôme BELLEGARDE
Strong :) One last thing, do you know the tool call "Getif" ? Do you know a better tool than it (to browse mib, walk ect ...) on windows 7? Also, I use getif to browse the MIB, and I cannot get the description I added on an OID (into my mib : DESCRIPTION "Test description") Cordialement, Jér

Re: Newbie query : snmp request/response oid length

2012-08-02 Thread Dave Shield
On 2 August 2012 16:23, stavan shah wrote: > If a simple config change and recompiling can help it will be great. So > wanted to understand what change am I missing in this regard. All I can suggest is you try it. That ought to work, but it's not something we've ever really looked at. Dave

Re: Newbie query : snmp request/response oid length

2012-08-02 Thread stavan shah
Thanks a lot Dave for the super quick response. I have read few of your posts and they are definitely helping me understand things better. I completely agree to your advice below and we are in process of redesigning the MIB tables for this. But there are a considerable devices to be configured and

Re: Problème String into OID

2012-08-02 Thread Dave Shield
On 2 August 2012 16:03, Jérôme BELLEGARDE wrote: > ./configure --with-default-snmp-version="2" --with-sys-contact="@@no.where" > --with-sys-location="Unknown" --with-logfile="/var/log/snmpd.log" > --with-persistent-directory="/var/net-snmp" > --with-mibs="SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MI

RE: Problème String into OID

2012-08-02 Thread Jérôme BELLEGARDE
Thank you, work nicely. Just one last things, when i compile my mib each time, I do it like that : ./configure --with-default-snmp-version="2" --with-sys-contact="@@no.where" --with-sys-location="Unknown" --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp" --with-mi

Re: Problème String into OID

2012-08-02 Thread Dave Shield
On 2 August 2012 14:44, Jérôme BELLEGARDE wrote: > My question is now, how can I store a string into an OID Please see the code in 'agent/mibgroup/examples/watched.c' which does exactly this. Dave -- Live Security Virtu

Problème String into OID

2012-08-02 Thread Jérôme BELLEGARDE
Hello, I got the following code found on your wiki to store long and int value into an oid (file .c). #include #include #include #include "adspFAFtp.h" /* * the variable we want to tie an OID to. The agent will handle all * * GET and SET requests to this variable changing it's value as nee

Re: Newbie query : snmp request/response oid length

2012-08-02 Thread Dave Shield
On 2 August 2012 12:14, stavan shah wrote: > I am using the net-snmp-5.4.2.1 package and polling a few devices. > > I have a case where in the OID length is > 128 subidentifiers. i.e breaking > the sub identifier length rule in http://tools.ietf.org/html/rfc2578 > > But I would still like to proce

Newbie query : snmp request/response oid length

2012-08-02 Thread stavan shah
Hi All, Can you please help me out with the below query. I am using the net-snmp-5.4.2.1 package and polling a few devices. I have a case where in the OID length is > 128 subidentifiers. i.e breaking the sub identifier length rule in http://tools.ietf.org/html/rfc2578 But I would still like to

Re: how to configure v2 access control entries

2012-08-02 Thread Dave Shield
On 30 July 2012 01:48, zhufei wrote: > I have a question on how to configure to add a v2 access control entry using > 'snmpvasm' or even code. I don't believe this is possible. You can set up the group, view, and access entries using 'snmpvacm'. However the mapping between community strings and

Re: Where is the information? netsnmp_ds_toggle_boolean

2012-08-02 Thread Dave Shield
On 1 August 2012 20:45, Christiaan Rademan wrote: > I am looking all over for the documentation on netsnmp_ds_toggle_boolean. > > I know I can set different values, but where? What are the values? what do > they mean? See the header file. This lists the various library boleans, integers and stri

Where is the information? netsnmp_ds_toggle_boolean

2012-08-02 Thread Christiaan Rademan
Greetings guys, I am looking all over for the documentation on /netsnmp_ds_toggle_boolean. I know I can set different values, but where? What are the values? what do they mean? Please advice. / -- Christiaan Rademan - JNCIE #661 Professional Services Engineer XON Systems Office: +27 11 237

Re: building mini agent

2012-08-02 Thread Dave Shield
On 2 August 2012 05:53, Sudhanshu Rajvaidya wrote: > One last question here. I had to compile with > --with-mib-modules=ucd_snmp/dlmod to have my mini agent load a shared > object. However this adds dlmod table in snmpwalk response. Is there way to > get rid of UCD-DLMOD-MIB in snmpwalk response?