Broken pipe in table using iterator

2004-08-17 Thread Juwairia Zubair
Hi, I am trying to store values in a table using mib2c.iterator.conf. It worked fine with a few tables but when i use lengthy computations while filling the data structures i get the "broken pipe" error and my subagent crashes. I am guessing that this is because of the large number of calls. my

Q: PING-MIB? Former: Re: Re£º: Re: how to submit my codes to netsnmp?

2004-08-17 Thread Elisabeth Gloria
Dear Chenjing, You wrote: chenj> Dear Mr.Elisabeth Gloria, chenj> Firstly,I am a woman.:) Excuse me my mistake. I am a woman too :) So you don't think, that I am a male chauvinist, do you? chenj> Secondly, I am preparing to upload my chenj> implementations to the netsnmp,so you chenj> can get the

Re: Re: udpTable loops forever

2004-08-17 Thread slif
Try version 5.1.2. I believe some issues with tcpTable, udpTable, and others were fixed by 5.1.2. > > From: Dave Shield <[EMAIL PROTECTED]> > Date: 2004/08/17 Tue AM 07:26:18 EDT > To: "Karthikeyan N" <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > Subject: Re: udpTable loops forever > > > I am

RE: consistency amongst binaries

2004-08-17 Thread Bruce Shaw
Does this affect us? http://slashdot.org/article.pl?sid=04/08/17/0030243&tid=93&tid=162&tid=1&tid =218 BS> When will 0.9.7 be ready for prime time? TA>It is. Like I said: get latest 0.9.7-stable snapshot. It's the best OpenSSL there is. BTW, this is the OpenSSL core developer's recommendation, n

Re: unable to start SNMP sub-agent 2nd time

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding to this ] > in example-demon.c i call init_nstAgentSubagentObject() > to register the MIB tree. > > how can i unregister this oid? The best way is probably to define a parallel routine shutdown_nstAgentSubagetnObject() For each "register_{so

Re: patch 991664 breaks SCO Unixware

2004-08-17 Thread Ben Rogers
Oooh sorry about that one. I should have read the guidelines here http://www.cs.huji.ac.il/support/docs/autobook/autobook_209.html#SEC209 more carefully. I've uploaded a patch to the patch that should fix the problem for you. Let me know ben On 16. Aug, 2004, at 10:46 PM, Steve Friedl wro

Re: tcp wrappers/agentx subagent/reconnect

2004-08-17 Thread Igor Brezac
On Tue, 17 Aug 2004, Dave Shield wrote: [ Sorry for the delay in responding to this ] Snmp queries to subagent do not work unless I add 'snmpd:ALL' in hosts.allow. It looks like netsnmp_callback_open() sess is checked by tcpwrappers for some reason. Any ideas? This seems like a bug to me

Re: Trap

2004-08-17 Thread Dave Shield
> I'm trying to send a trap from the snmpd agent > but I see this Message. > snmpd: send_trap: Timeout (No such file or directory)" What trap-related config settings do you have in the snmpd.conf file? > What kind of error is it? > Which file or directory does it refer to? The error mes

Re: Data range overflow make snmpd crash when process SET command (in DEBUG mode with gdb)

2004-08-17 Thread Dave Shield
> I'm trying to use the net-snmp package, version 5.1.1. > > [EMAIL PROTECTED] anhduy]$ snmpset -c private -v 2c 10.32.0.138 > Corresponding to above command, this function is called many times with > almost same-value passed arguments, except for argument "action", it > increases interacti

Re: using net-snmp lib

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding to this ] > please, could someone tell me how to send a trap from > a program ? > > In fact, I would like to send a trap in my C program, > not an SNMP mib module, when something happens. Presumably this is a client application, rather than an agent (

Re: Table implementation

2004-08-17 Thread Dave Shield
[Sorry for the delay in responding] > Where can I find examples about Table implementation with external Indexes ? What do you mean by "external indexes" ? Can you give us an example of the sort of table you're trying to implement? > and Which MIB2c files (array-user, iterate ... etc)

Re: how to let the agent send trap by event

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding to this ] > In agent/example/notification.c > The example make the agent send notification every 30 seconds. > But if I want the agent send notification by some event,(the other process > tell the agent to send notification, through IPC or something els

Re: Netsnmp for Java?

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding ] > I am interested in monitoring few systems like Windows 2000, Suse Linux, > Solaris UNIX and HP Unix. All these systems I want the default monitoring > features plus some new custom features. > > Since it's a multiple systems, I am planning to use J

Re: Sets on Non-existant variables return 'not Writable'

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding to this ] > What is the proper way to intercept 'SET's to non-existant variables? If it isn't valid to write to a missing variable, then the simplest approach is for the "var_xxx" routine to return a NULL value for the 'write_method' parameter. The ma

Re: net-snmp and TRU64

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding to this ] > Does net-snmp 5.0.7 or higher supports TRU64 OS ? Does it include MIBII ? > what is the supported TRU64 release? any limitations? I don't believe that any of the core developers have any experience of building the agent on this particular p

Re: question on timeout value

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding ] > In snmpd.c, the timeout value is defined as: > #define TIMETICK 50L > > Does anyone have any insight how this value was determined? That value corresponds to half a second, and was chosen to allow a reasonably prompt reaction of the age

Re: udpTable loops forever

2004-08-17 Thread Dave Shield
> I am using netsnmp 5.1.1 version for linux. While I am trying to query the > udptable using the "snmptable" command , it is never coming coming out and > keep on printing the information. here is the sample output of that > > #snmptable -v1 -c public -t 100 10.50.127.100 udpTable > > udpLocalA

Re: snmpd

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding to this ] > I've problems with snmpd.exe. > I'm trying to use it with my own mib in console mode. > I've some questions: > 1. Should i pass any 'Program arguments' ? To run the agent on the console (rather than as a daemon), the usual technique is to u

Re: (no subject)

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding to this ] > I'm working on a project dealing with SNMP traps. > Can SNMPv2 traps be converted to SNMPv3 traps? The first thing to realise is that there's no difference between the structure of traps between SNMPv2c and SNMPv3. Both of them use

Re: Snmp Timeout

2004-08-17 Thread Dave Shield
> I need to force the snmpd agent to use the timeout instead of blocking > inside the 'select' function. > > This is the piece of code in the snmpd agent where it decides whether to > blocking or not: > *** > block = 0; > snmp_select_info(&numfds, &readfds, tvp, &block); >

Re: tcp wrappers/agentx subagent/reconnect

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding to this ] >>> Snmp queries to subagent do not work unless I add 'snmpd:ALL' in >>> hosts.allow. It looks like netsnmp_callback_open() sess is checked >>> by tcpwrappers for some reason. Any ideas? > This seems like a bug to me. Is there any reason w

Q: PING-MIB implementation?

2004-08-17 Thread =?iso-8859-1?q?Elisabeth=20Gloria?=
Hi All, I am going to implement PING-MIB from rfc 2925. There are a few options: 1. Anyone share with me his implementation, which will accepted with heartfelt gratitude. 2. I would implement it by myself. In the second case I see a few methods: 2.1. The ICMP requests can be send from the task of

RE: IPV6 support for Linux

2004-08-17 Thread Fong Tsui
IPv6 works itself, only not able to launch combination of IPv4 and IPv6 together. -Original Message- From: Robert Story (Coders) [mailto:[EMAIL PROTECTED] Sent: Monday, August 16, 2004 10:07 PM To: Fong Tsui Cc: [EMAIL PROTECTED]; Ling, Xiaofeng Subject: Re: IPV6 support for Linux On F

Re£º: Re: how to submit my codes to netsnmp?

2004-08-17 Thread chenj
Dear Mr.Elisabeth Gloria, Firstly,I am a woman.:) Secondly, I am preparing to upload my implementations to the netsnmp,so you can get the codes very soon. Elisabeth Gloria <[EMAIL PROTECTED]> 写 : > Dear Mr. Chenjing, > Could you send me your changes, please. > I am very interested in DISMAN MIB

Re: characteristics of tree-nodes

2004-08-17 Thread Dave Shield
> I am using the tree-structure from library/parse.h and would like > to know, if it's possible to get more specific informations about > a node. To be more precise, I want to know, whether an oid-leave belongs > to a table (e.g. the if-stuff under .1.3.6.1.2.1.2.2) or is an single > value (like sy

Callback Transport

2004-08-17 Thread Jeeru.Subbi
Hi All, I would like to know as what is the status on the Callback Transport in net-snmp. Has anyone tried out this transport mechanism in net-snmp, if so plz respond immediately! Regards Subbi --- SF.Net email is sponsored by Shop4tech.com-L

Re: Agentx

2004-08-17 Thread Dave Shield
[Sorry for the delay in responding to this] > I've to extend the net-snmp agent. > I succeeded in building the sorce code files related to my Mib > (mib2c correctly build them). > How can i link this files to the snmpd project > (C:\SNMP\net-snmp-5.1\win32\win32.dsw) of the agent ? The file '

Re: libcrypto version?

2004-08-17 Thread Dave Shield
[Sorry for the delay in responding] > Can you tell me what version of the libcrypto.so that the > latest net-snmp package is using? This basically depends on what version is installed on the system concerned. This will typically be 0.9.7 on most modern installations. Dave -

Re: Query regagarding tables

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding ] > I am new to SNMP.I have designed a MIB for the com port settings. The values > for the objects in the MIB have to be retrieved and saved into a txt file. > How do I know the row number where the column values are to be set? The most obvious

Re: disabling error messages in sub-agent

2004-08-17 Thread Dave Shield
>can you tell me, what the following code will do? > > 3) disable persistent store: > > netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID, >NETSNMP_DS_LIB_DONT_PERSIST_STATE, 1); It appears to be intended to turn off writing any existing configuration information t

Re: Hosts.allow/hosts.deny relates to snmpd

2004-08-17 Thread Dave Shield
> My understanding is snmpd is using tcpwrap lib. So, if we can use > hosts.allow/hosts.deny to control the access. Yes - that's correct. [ snip analysis ] > A) Is there something wrong? > B) How can I control access by using hosts.allow/hosts.deny? I think that basically you're doing

Re: Trap Api

2004-08-17 Thread Dave Shield
> I'd like to know if is possible to call the Trap Api function from > outside the snmpd agent code. > I've the code produced by mib2c for my specific trap and I intend to > call them inside my own module. > Is there any problem doing so ? The "send_easy_trap", "send_v2trap" and similar calls ar

Re: problem with mib

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding ] > I reconfigured the net-snmp agent with the MIB module which i wanted to > add to the existing MIB tree. > How am I to know whether my MIB module is add to the MIB tree? I am also > unable to get the values when i use the snmpget. > Please help me to

Re: code modification

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding to this ] > I had small doubt regarding template code generated by mib2c compiler. > after getting skeliton code,there are some auto generated methods like > NET-REGISTER-MIB. if i want to code to get cpuinfo from proc/cpuinfo can i > remove these auto

Re: hrStorage and RAM on Linux

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding to this ] > The following output is from snmpwalk: > > [EMAIL PROTECTED]:~> snmpwalk -v2c -c CCSADMIN localhost hrStorage > host.hrStorage.hrMemorySize.0 = 3104964 KBytes > ^^ > > Ah, what is the line above?

Re: pass method

2004-08-17 Thread Dave Shield
> > The snmpget is displaying some strange behaviour when using pass method > to extend the agent. I have a following line in my snmpd.conf file: > > pass .1.3.6.1.4.1.96.255.2.0 /tmp/a/test [snip test] > When I issue snmpget command using the OID, i get the integer 999, as > expecte

Re: consistency amongst binaries

2004-08-17 Thread Thomas Anders
Bruce Shaw wrote: So what needs to be installed on the computers receiving the binaries? > Do I have to cobble up an openssl install as well? "ldd" is your friend. The net-snmp binaries are linked against libcrypto.so.0.9.7, so you need just that. Or compile static. > When will 0.9.7 be ready for