Subagent agentx expertise needed

2008-07-14 Thread mn kh
Dear all, I have some question about the retrieve function of the subagent (FindVarMethod). Following is a fragment of my code: u_char *var_jAgentX(struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) { ...

Error running sub agent

2008-07-14 Thread deka aditia
Hey guys, i got error when i run the sub agent program on net-snmp tutorial (i quote) 'symbol lookup error: /usr/lib/libnetsnmpagent.so.15: undefined symbol: boot_DynaLoader' anyone knows what problem is that ? - This SF.Net em

RE: SNMPD error (ASAP)

2008-07-14 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Umesh Kamath > Sent: Monday, July 14, 2008 12:04 PM > 1) Please let me know the use of "snmpTrapdAddr. My > understanding on snmpTrapdAddr is that, it should always bind > to localhost(loop back address(127.0.0.1))

RE: Windows CE and net-snmp

2008-07-14 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of vijay > Sent: Monday, July 14, 2008 6:23 AM > I am trying to find if it is suitable for a cross platform > development where, the agent needs to run on multiple > platforms (Linux, Windows XP and Windows CE) with little or

RE: Traps and frequency

2008-07-14 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of José Eduardo Martins > Sent: Monday, July 14, 2008 7:46 AM > monitor [OPTIONS] NAME EXPRESSION > (bla, bla, bla). This monitor entry will not fire again > until the monitored condition first becomes false, and th

RE: SNMPD error (ASAP)

2008-07-14 Thread Umesh Kamath
Mike, 1) Please let me know the use of "snmpTrapdAddr. My understanding on snmpTrapdAddr is that, it should always bind to localhost(loop back address(127.0.0.1)) 2) I am reframing my 2nd question . Sorry for confusion. I am using "snmpget" command( say from abc machine) to get sysuptime o

RE: Starting net-snmp

2008-07-14 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Wes Hardaker > Sent: Monday, July 14, 2008 6:35 AM > > On Sat, 12 Jul 2008 23:09:23 +0200, "Javier Nuñez" > <[EMAIL PROTECTED]> said: > > JN> I install net-snmp from the source, in fedora 8, there in > no problem but > J

RE: SNMPD error (ASAP)

2008-07-14 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Umesh Kamath > Sent: Monday, July 14, 2008 7:51 AM > My assumption/intention of using "snmpTrapdAddr" is that, > i would like to get trap messages from "xyz" machine. > (means, get trap messages from "xyz" machine only).

Snmpnetstat problem

2008-07-14 Thread Jani Partanen
Hello, I have a problem when I use snmpnetstat it only show stats from pure ipv4 connections, if example http is bind to listen ::80 it won't list any connections to http. I have try many different versions and they all seems to fail. This is problem with CentOS 5.2, Fedora x, Ubundu so I don't t

Re: SNMPD error (ASAP)

2008-07-14 Thread Umesh Kamath
Hardaker. Thanks for update. I had bit confusion on "snmpTrapdAddr" Directives. What actually i did in conf file is " i assigned remote host name to "snmpTrapdAddr" . Say , Machine "xyz" sends trap messages to "abc" machine. In "abc" machine , i have configured snmptrapd.conf file such t

Re: Traps and frequency

2008-07-14 Thread José Eduardo Martins
More on my problem. From the manual: monitor [OPTIONS] NAME EXPRESSION (bla, bla, bla). *This monitor entry will not fire again until the monitored condition first becomes false, and then matches again.* (bla, bla, bla). Is there any way to overcome this behaviour? I.e., always fire the monitor, f

Re: SNMPD error (ASAP)

2008-07-14 Thread Wes Hardaker
> On Sat, 12 Jul 2008 07:20:39 +0530, Umesh Kamath <[EMAIL PROTECTED]> said: UK> couldn't open xyz.abc.att.com:1024 -- errno 227 ("Can't assign requested UK> address") That's an odd error and the text comes from the system failing a DNS lookup most likely. What if you add xyz.abc.att.com to

Re: Starting net-snmp

2008-07-14 Thread Wes Hardaker
> On Sat, 12 Jul 2008 23:09:23 +0200, "Javier Nuñez" <[EMAIL PROTECTED]> > said: JN> I install net-snmp from the source, in fedora 8, there in no problem but JN> when i try to start (snmpd start or snmpd status o snmpd stop) JN> nothing done. You may need to configure it properly first.

Re: wiki is down

2008-07-14 Thread Wes Hardaker
> On Mon, 14 Jul 2008 09:52:07 +1000, Jiri Kanicky <[EMAIL PROTECTED]> said: JK> Please check WIKI. Something is wrong. It was a goal of mine to look into it today. It seems to be severely beat up for some reason, so it may take a bit to get running again (but we'll get there). -- Wes Harda

Windows CE and net-snmp

2008-07-14 Thread vijay
Hello all, I am trying to find if it is suitable for a cross platform development where, the agent needs to run on multiple platforms (Linux, Windows XP and Windows CE) with little or not code change. I am sure about Windows XP and Linux because I have already tried out. Have any of you

Traps and frequency

2008-07-14 Thread José Eduardo Martins
Hello all. I have a question of whether the functionality is implemented or "implementable". I want to send a TRAP every time, not only when the state of the condition changes. E.g. *snmpd.conf* sh myScript /usr/local/bin/load.sh one monitor -r 60 "my monitor on" extResult >= 1 monitor -r 60 "my

Re: How to modify the Makefile if I add new files into agent directory

2008-07-14 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] 2008/7/

wiki is down

2008-07-14 Thread Jiri Kanicky
Please check WIKI. Something is wrong. Jiri - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your pote

RE: SNMP expertise

2008-07-14 Thread laurent . habib
Hello, I understand and, I am going to use MIB to define the structure of my data. It is strong damage that in PDU the syntax ASN1 already does not define this type of raw data. ... I have just thought that I can prove every byte by proving that the 1st bit is not used what will give an asci