name and vp-name ? what is the difference

2008-07-11 Thread mn kh
Hi all, I am still trying to solve a huge problem i came accross not so long ago, and thanks to Mike, I found out that my problem is not really the fact that snmpwalk is sending an exact request its bigger than that. After reviewing carefully, i found out that there is smthg happening that

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

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

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

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

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 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

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,