Fwd: [Openhpi-devel] Subagent Implementation

2007-11-04 Thread Sridhar Addagada
I was also curious about this... -- Forwarded message -- From: Leon Jacob <[EMAIL PROTECTED]> Date: Oct 30, 2007 7:57 PM Subject: [Openhpi-devel] Subagent Implementation To: [EMAIL PROTECTED] I'm trying to implement the sensor table, from the IPMI document, What mib2c option shou

netsnmp_register_watched_scalar Vs netsnmp_register_watched_instance

2007-10-23 Thread Sridhar Addagada
It was my understanding that netsnmp_register_watched_scalar is used on the leaf nodes of a mib and netsnmp_register_watched_instance is used for the tabular handling of the variable. But the code in the example (http://net-snmp.sourceforge.net/dev/agent/watched_8c-example.html) uses the instan

Re: Problem with mib2c.iterate.conf

2006-05-21 Thread Sridhar Addagada
Any help of how to populate the sensot table will be great. Some prointers would be great. Thanks, Sridhar On 5/19/06, Sridhar Addagada <[EMAIL PROTECTED]> wrote: Attached is the dummy routine that i've written to populate the table, please take a look at it and tell me if it is

Re: Problem with mib2c.iterate.conf

2006-05-19 Thread Sridhar Addagada
un = sdr.sensorOwnerLun; // let the rest of the fields be zero for now. strcpy(sdrp->sensorIdString, "CorEdge"); } } Thanks Sridhar On 5/19/06, Sridhar Addagada <[EMAIL PROTECTED]> wrote: May be i've found the problem, given below is the co

Re: Problem with mib2c.iterate.conf

2006-05-19 Thread Sridhar Addagada
null, Should one be returning idx here or anything else. I put idx, then the crash goes away, but the table is not returned for snmpwalk I am stumped. Thanks Sridhar On 5/19/06, Sridhar Addagada <[EMAIL PROTECTED]> wrote: I ran into few problems when compiling my mib using mib2c.i

Re: Problem with mib2c.iterate.conf

2006-05-19 Thread Sridhar Addagada
I ran into few problems when compiling my mib using mib2c.iterate.conf. Mentioned below is the sample of the table. 1. The data structure that got generated "sensorTable_entry" had problem. The sensorIndex was repeted twice. struct sensorTable_entry { /* Index values */ long

Problem with mib2c.iterate.conf

2006-05-19 Thread Sridhar Addagada
I ran into few problems when compiling my mib using mib2c.iterate.conf. Mentioned below is the sample of the table. 1. The data structure that got generated "sensorTable_entry" had problem. The sensorIndex was repeted twice. struct sensorTable_entry { /* Index values */ long

Re: shared lib build

2006-05-09 Thread Sridhar Addagada
Thomas, Sorry about that. the problem is that on uClinux "make distclean" will not work, as net-snmp is not being compiled seperately, it is compiled with the kernel. Sridhar On 5/9/06, Thomas Anders <[EMAIL PROTECTED]> wrote: Sridhar Addagada wrote: > Hello Guys, > I

shared lib build

2006-05-09 Thread Sridhar Addagada
Hello Guys, I have been testing the net-snmp code build for my uclinux target, the snmpd was build using the option "--enable-shared=no", Everything works fine. But when i removed this option to make use of sharedlib (so). I get the following error --ERROR BEGIN --- make[2]: Entering direct

IPMI MIB

2006-02-13 Thread Sridhar Addagada
Is there a standerd MIB available for download, is there an RFC or is it still in draft mode. Thanks, Sridhar --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search en

Re: apps binaries

2006-01-11 Thread Sridhar Addagada
sorry! i was looking for win32 binaries. Only agent binaries are available for windowns from the download section of net-snmp site . Sridhar On 1/11/06, Dave Shield <[EMAIL PROTECTED]> wrote: > On Tue, 2006-01-03 at 11:38 +, Sridhar Addagada wrote: > > Is ther any locat

Location of subagent

2006-01-10 Thread Sridhar Addagada
Hello guys, I wrote my subagent based on the example at the net-snmp site. But I want to know which is the best location that i sould have the subagent. Should it be under agent/mibgroup or should i have a different dir at the same level as agent. Thanks, Sridhar --

Re: Warning: prerequisite NetSNMP::OID 5.1 not found.

2006-01-05 Thread Sridhar Addagada
t removing the default SNMP installation was non-essential, but I > think it's confusing if you already have an SNMP install on your box(NetSNMP > or otherwise). > > Raffles > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECT

Re: Warning: prerequisite NetSNMP::OID 5.1 not found.

2006-01-03 Thread Sridhar Addagada
at Thanks, Sridhar. On 1/3/06, Thomas Anders <[EMAIL PROTECTED]> wrote: > Sridhar Addagada wrote: > > Downloaded net-snmp-perlmods-5.2.2-1.fc4.i686.rpm and the perl -v > > output is given below. > > the thing is even after the "make install" even after mib2c sa

Re: Warning: prerequisite NetSNMP::OID 5.1 not found.

2006-01-03 Thread Sridhar Addagada
/usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl " On 1/3/06, Thomas Anders <[EMAIL PROTECTED]> wrote: > Sridhar Addagada wrote: > > I downloaded the prebuild binaries perlmodule, aft

Re: Warning: prerequisite NetSNMP::OID 5.1 not found.

2006-01-03 Thread Sridhar Addagada
l script needs etc. > > I hope this helps. All the best > > Raffles (now given up trying to get our mail gateway to output in non-html) > > > -Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > Behalf > > Of Sridh

apps binaries

2006-01-03 Thread Sridhar Addagada
Is ther any location where i can download the binaries of net-snmp applications (snmpget, snmpset, snmpwalk, ...) Thanks Sridhar --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download t

Warning: prerequisite NetSNMP::OID 5.1 not found.

2006-01-03 Thread Sridhar Addagada
I downloaded the 5.2.2 copy of the net-snmp and tried to compile the perl module but when I executed "perl Makefile.PL" i got the following warning. Warning: prerequisite NetSNMP::OID 5.1 not found. This i found is happening with the release of 5.3 also. Am i missing something. Sridhar --

Error: Allocation of length 1504201 failed

2005-12-21 Thread Sridhar Addagada
When I start snmpd on my target board (ML401), i get the following error. Is this message related to net-snmp? Should i be posting this message to the uclinux-dev mailing list. Here is the error # snmpd Allocation of length 1504201 from process 92 failed Free pages: 54548kB ( 0kB H

net-snmp & uClinux on Microblaze

2005-12-19 Thread Sridhar Addagada
Hello, I have been trying to compile net-snmp to run on uClinux system on ML401 board. The make was exiting with an error "Invalid configuration mb not recognized". This i traced to the config.sub. In this file I made a change in the that file. Here is the output of the diff with the original