snmpd threadedness

2009-05-07 Thread Robert Voigt
Hi, I've heard that snmpd, when operating as a proxy, forwards one SET request at a time and buffers all other requests until the SET response arrives. This 'feature' would be valuable for me if it worked with all types of requests. I need to send SNMP over a half duplex connection that

Agent Shutdown problem

2009-05-07 Thread sanjaykumar
Hi all, I am running the netsnmp 5.4.2.1 as thread 1 : I am facing the problem while my application reboot so snmp thread should also Most of shutdown problem is occurs in mib module Basically when application reboot then it facing problem in "init_mib_modules()" and it crash. Backtrace

snmptrap - library calls

2009-05-07 Thread Vinod Nanjaiah
Dear Experts, I did not find much information in net-snmp website about how to implement an application to send traps. Can you please give me some pointers to the same? Regards, Vinod man snmptrap Well, snmptrap can be used from command line to send traps. But, what I am looking for is

Re: snmptrap - library calls

2009-05-07 Thread Dave Shield
2009/5/7 Vinod Nanjaiah vinod_nanja...@mindtree.com: Well, snmptrap can be used from command line to send traps. But, what I am looking for is to make use of snmp library calls to generate traps - for example, by using send_easy_trap () or snmp_v2trap () functions. You can't - those are

RE: snmptrap - library calls

2009-05-07 Thread Vinod Nanjaiah
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] Well, snmptrap can be used from command line to send traps. But, what I am looking for is to make use of snmp library calls to generate traps - for example, by using send_easy_trap () or snmp_v2trap () functions. You

Re: snmptrap - library calls

2009-05-07 Thread Dave Shield
2009/5/7 Vinod Nanjaiah vinod_nanja...@mindtree.com: But, what I am looking for is to make use of snmp library calls to generate traps - for example, by using send_easy_trap () or snmp_v2trap () functions. You can't - those are part of the *agent* trap API. Does this mean that these can

Timeout: No Response from destination-server

2009-05-07 Thread Margus Roo
Hi I have two server-rooms (DZ-A and DZ-B) in DZ-A there is a server called client-server and in a DZ-B there is a monitoring server called monitoring-server. if i do in monitoring-server i got: ~# snmpwalk -c sw client-server -v1 Timeout: No Response from client-server ~# I have a connection

sysUpTimeInstance vs sysUpTime.0

2009-05-07 Thread Peter Hicks
Hello How should the retrieval of sysUpTime.0 be handled in SNMP.pm? DISMAN-EVENT-MIB defines sysUpTime.0 as sysUpTimeInstance, which appears to confuse SNMP.pm, returning a VarBind without an instance: $VAR1 = bless( [ 'sysUpTimeInstance', '',

Timeout: No Response from client-server

2009-05-07 Thread Margusja
Hi I have two server-rooms (DZ-A and DZ-B) in DZ-A there is a server called client-server and in a DZ-B there is a monitoring server called monitoring-server. if i do in monitoring-server i got: ~# snmpwalk -c sw client-server -v1 Timeout: No Response from client-server ~# I have a connection

RE: snmptrap - library calls

2009-05-07 Thread Vinod Nanjaiah
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield There doesn't seem to be any sample program available on the net for traps. apps/snmptrap.c Thanks Dave. I was able to successfully send a trap using the code from snmptrap.c. But, when I try to

snmptrap

2009-05-07 Thread pch0317
Hello, I have problem. I send SNMPv2 Trap message and analyse packet. But I don't understand some bytes. I type: snmptrap -v 2c -c private 127.0.0.1 5 1.3.6.1.2.1.1.1.0 and I receive: 30 43 02 01 01 04 07 70 72 69 76 61 74 65 A7 35 02 04 64 AF 4E 32 02 01 00 02 01 00 30 27 30 0D 06 08 2B 06 01

RE: sysUpTimeInstance vs sysUpTime.0

2009-05-07 Thread Mike Ayers
From: Peter Hicks [mailto:peter.hi...@poggs.co.uk] Sent: Thursday, May 07, 2009 5:53 AM DISMAN-EVENT-MIB defines sysUpTime.0 as sysUpTimeInstance, which appears to confuse SNMP.pm, returning a VarBind without an instance: $VAR1 = bless( [ 'sysUpTimeInstance',

net-snmp-5.4.1-3 UCD-SNMP-MIB::memTotalFree on Win2003 question

2009-05-07 Thread Girshik, Stanley
Hello all, I ran into some problems with my favorite MIB on win2003, I've installed and configured net-snmp-5.4.1-3 on windows 2003 and it seems to be working fine. However when I try to : snmpwalk -v 3 -u myuserid -l authNoPriv -a MD5 -A mylongandvalidpassword localhost

Re: sysUpTimeInstance vs sysUpTime.0

2009-05-07 Thread Peter Hicks
Mike Ayers wrote: From: Peter Hicks [mailto:peter.hi...@poggs.co.uk] Sent: Thursday, May 07, 2009 5:53 AM DISMAN-EVENT-MIB defines sysUpTime.0 as sysUpTimeInstance, which appears to confuse SNMP.pm, returning a VarBind without an instance... [snip] Is this intended behaviour?

snmptrap -v 2c

2009-05-07 Thread pch0317
Hello, I have problem. I send SNMPv2 Trap message and analyse packet. But I don't understand some bytes. I type: snmptrap -v 2c -c private 127.0.0.1 5 1.3.6.1.2.1.1.1.0 and I receive: 30 43 02 01 01 04 07 70 72 69 76 61 74 65 A7 35 02 04 64 AF 4E 32 02 01 00 02 01 00 30 27 30 0D 06 08 2B 06 01

LOGOPTS issue with log to standard output

2009-05-07 Thread Brandon Wigfield
In the man page I see the following: -L LOGOPTS        Toggle various defaults controlling logging:               e:   log to standard error               o:   log to standard output This excites me very much because I'm in a situation where it would be advantageous for me to

net-snmp dependency for SUN4u

2009-05-07 Thread Anders Wei
All: I am trying to compile net-snmp in Sun Solaris 10 X64, but it seems it needs support of SUN4U library. In ucd-snmp/lmSensors.c: it includes this file: /usr/platform/sun4u/include/sys/envctrl.h which is a part of SUN4U support, I am using SunStudio compilers and I didn't find this library.