an example of GET

2006-03-17 Thread Alfonso Cornejo
Hi everyone   I'm having some problems to compile an example of a GET using net-snmp I wonder if you can provide me with an example that works in Microsoft Visual C++ 6.0 using net-snmp...I don't know if there are some steps that i have to follow to "link" the libraries or something like that...I

different values on remote and local snmpwalk

2006-03-17 Thread Tobias Nix
Hello, I am running snmpd on a debian machine. If i do a local snmpwalk on ifOutOctets i got the right values. If i do the same from a remote machine, the value for ifOutOctets ist empty. Local walk: $ snmpwalk -Os -c publica -v 1 192.168.0.5 | grep Oc ifInOctets.1 = Counter32: 802467492 ifInOc

Redirect output of snmptrapd

2006-03-17 Thread Pedro Henrique Morsch Mazzoni
Can I redirect the output of snmptrapd to the input of another program? Thanks, Pedro Mazzoni

Re: Mib-hosts

2006-03-17 Thread fernando_jose
> [EMAIL PROTECTED] wrote: >> I installed Net-Snmp in my HP-UX 11.23 server, but i could get by SNMP >> the >> mib-host. >> >> How can i add the mib-host to Net-Snmp ??? >> >> I use the OPManager to monitoring the hardware(CPU, Memory and Disks), >> but >> i need the MIB HOST and OID: .1.3.6.1.4.1.

Mib-hosts

2006-03-17 Thread fernando_jose
Hi, I installed Net-Snmp in my HP-UX 11.23 server, but i could get by SNMP the mib-host. How can i add the mib-host to Net-Snmp ??? I use the OPManager to monitoring the hardware(CPU, Memory and Disks), but i need the MIB HOST and OID: .1.3.6.1.4.1.2021.11.9.0 Fernando.

Re: Net snmp rpm

2006-03-17 Thread Thomas Anders
Pedro Henrique Morsch Mazzoni wrote: 1- Anyone know a net-snmp rpm(fedora or others) compiled with disman-event-mib support? The net-snmp 5.3.0.1 RPMs we provide on our download site (http://www.net-snmp.org/download/) includes disman/event support. 2- I have downloaded the sources and compi

R: (no subject)

2006-03-17 Thread Palmentieri Nunzio
Title: R: (no subject) I did it, and it works. Thank you. Nunzio Palmentieri Web Care Solution   Atos Origin Via Antiniana 2/a 80078 Pozzuoli (NA) - ITALY   Direct    +39 081 6103 388 Mobile   +39 335 1214 806 Fax +39 081 6103 200 e-mail    mailto:[EMAIL PROTEC

Hi Everyone!

2006-03-17 Thread Pedro Henrique Morsch Mazzoni
When I start snmpd it reports the following error: : line 20: Error: unknown payload OID And line 20 is: defaultMonitors yes Here is my snmpd.conf: #System Information syslocation lpsII syscontact  netadmin authtrapenable  1 #Trap Destinations trapcommunity public informsink localhost p

usm_user

2006-03-17 Thread Julian Castaño Restrepo
Hi all I have snmp v3 in my aix, but when I do a walk from it, I get the info but from other box I can't get anything and it asks me for the parameters of usm_user and I don't have any usm_user configured so I try whith none but it does not let me do the walk, so my questions are do I have

Net snmp rpm

2006-03-17 Thread Pedro Henrique Morsch Mazzoni
1- Anyone know a net-snmp rpm(fedora or others) compiled with disman-event-mib support? 2- I have downloaded the sources and compiled with this optionsbut when I run snmp I see the following errors: Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none)

Re: (no subject)

2006-03-17 Thread Thomas Anders
Palmentieri Nunzio wrote: But, after I changed some paths in building it, when I started I receive the following message: ___ NET-SNMP version 5.2.2 AgentX subagent connected Cannot find module (DLGC-GLOBAL-REG): At line 0 in (none) Cannot fi

Re: ./snmpd: ./snmpd: cannot execute binary file

2006-03-17 Thread Thomas Anders
腾飞龙 wrote: > ->./snmpd > > then appeared the error: > > kmod: failed to exec /sbin/modprobe -s -k binfmt-4c46, errno = 2 > kmod: failed to exec /sbin/modprobe -s -k binfmt-4c46, errno = 2 > snmpd: applet not found > > > > then ,i installed busybox in /opt/eldk/ppc_4xx correctly,of course it

I: (no subject)

2006-03-17 Thread Palmentieri Nunzio
Title: Messaggio Sorry, I miss that I'm working on a linux machine.     Nunzio PalmentieriWeb Care Solution Atos OriginVia Antiniana 2/a 80078 Pozzuoli (NA) - ITALY   Direct+39 081 6103 388Mobile   +39 335 1214 806Fax +39 081 6103 200e-mail    mailto:[EMAIL PR

(no subject)

2006-03-17 Thread Palmentieri Nunzio
Title: Messaggio Hi all, I have succesfully built an agent, that run and answer to my GET or PUT.   But, after I changed some paths in building it, when I started I receive the following message:   ___ NET-SNMP version 5.2.2 AgentX subagen

[Fwd: Re: Problem with sprint_realloc_iteger()]

2006-03-17 Thread Rashmi M Bangera
Original Message Subject: Re: Problem with sprint_realloc_iteger() Date: Fri, 17 Mar 2006 10:53:10 +0530 From: Rashmi M Bangera <[EMAIL PROTECTED]> To: Dave Shield <[EMAIL PROTECTED]>

different values on remote and local snmpwalk

2006-03-17 Thread Tobias Nix
Hello, I am running snmpd on a debian machine. If i do a local snmpwalk on ifOutOctets i got the right values. If i do the same from a remote machine, the value for ifOutOctets ist empty. Local walk: $ snmpwalk -Os -c publica -v 1 192.168.0.5 | grep Oc ifInOctets.1 = Counter32: 802467492 ifInOcte

Re: Is it possible to get the user id of the sender in an agentX suba gent?

2006-03-17 Thread Dave Shield
On Thu, 2006-03-16 at 20:43 -0800, Chris Koverman wrote: > I am porting a legacy app that supports a couple of mibs to linux and > I am replacing the old snmp code with net-snmp. I've used mib2c to > generate all the callback routines in my agentX subagent. The old > snmp code (v1, v2 only) did s

Re: creating a table-based subagent

2006-03-17 Thread Dave Shield
On Thu, 2006-03-16 at 09:55 -0800, Dana Heath wrote: > Thanks for the response. I was under the assumption that the OID > provided the distinguishing feature from row to row. For example, if my > table OID is 1.3.6.1.4.1.12345.1.1 then the rows would be determinable > by the subsequent digit the