SNMPD error (ASAP)

2008-07-11 Thread Umesh Kamath
Hi Dave, When i am running below command , I am getting "Can't assign requested address" error message. I have put the remote server IP address with port number to "snmpTrapdAddr" Directive. Like below in snmptrapd.conf file snmpTrapdAddr udp:xyz.abc.att.com:162 usr/sbin/snmptrapd -f -Le

Process checks issue

2008-07-11 Thread Alejandro Islas
Hi all, I'm usign the snmpd agent to check for custom processes status via the proc command in smpd.conf. I want to monitor processes in two different linux servers. When I include my proc command in one server everything work perfect and I was able to see my processes status from my NMS. However,

Re: Segmentation fault problem

2008-07-11 Thread Miljen Mikić
Thank you for your help, but unfortunately it didnt solve the problem. I put HANDLER_CAN_RONLY (HANDLER_CAN_READ causes compile-time error) but there is still segmentation fault. There are two things that are maybe interesting to mention: 1) Segmentation fault arises even if I avoid handlers, for

RE: SNMP expertise

2008-07-11 Thread Mike Ayers
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, July 11, 2008 1:16 AM > I understand and, I am going to use MIB to define the > structure of my data. Excellent. > It is strong damage that in PDU the syntax ASN1 already does > not define this type of raw data.

RE: Segmentation fault problem

2008-07-11 Thread Syed Mujtaba Ahmed Razvi
Miljen, I think your code snippet is trying to access a memory location that it is not allowed to access. For e.g. you might be writing some illegal location using some pointer (may be one of them my_test,my_test2). Try changing the HANDLER_CAN_RWRITE in the declaration portion to HANDLER_CAN

How to link an external object file?

2008-07-11 Thread Raghavendra Prasad
Hi all, I have a need to link external shared object file, it has to be linked to access a datamodule. I found few configuration options which seemed to be related to this and I set the following values for ./configure step --with-ldflags="/data/projects/cdspr/sw/common" --with-libs="share-diff-

Segmentation fault problem

2008-07-11 Thread Miljen Mikić
Hi everyone, I am trying to add SNMP support in the IKEv2 project ( http://sourceforge.net/projects/ikev2) and I am using net-snmp, 5.4.1. Firstly, there is a great number of variables which I plan to register. I am wondering whether is possible (or harmful) to use one oid variable as: oid sessio

how to omit the display of a non existing counter?

2008-07-11 Thread marwankhoury1984
Dear net-snmp users, I implemented my own MIB, this MIB is a series of oid all of type counters. I am trying to realise a project where i am fetching my counters from a file. When I am searching for the counter in the file two things can happen: 1-the counter exist 2-the counter doesn't exist in