> From: Mike Ayers [mailto:mike_ay...@tva.tvworks.com]
> Sent: Friday, July 16, 2010 11:32 AM
> I put this line in my snmptrapd.conf:
>
> format2 %t %B %P %V,% %v\n
>
> ...which I thought would insert the varbind list with comma
> separators, but it gags:
>
> [SNIP]
> host> snmptra
Another question. I am trying to build on Perl 5.10.1. I want to build
the perl rpm also and am having problems.Have you done this and are
there any suggestions because my spec file that worked on 5.8.8 is not
working on 5.10.Does it have to do with there no longer being a
DynaLoade
I am trying to debug the net-snmp code and would be very appreciative if
someone can point me to where the function resides that takes an
incoming get-next request and determines the correct instance to respond
with from a lexographically perspective of the incoming request.
There is a bug in t
net-snmp.5.4.2.1
Lissa K. Valletta
414/3-8
Poughkeepsie, NY 12601
(tie 293) 433-3102
From:
Thomas Anders
To:
Lissa Valletta/Poughkeepsie/i...@ibmus
Cc:
Net-snmp-users@lists.sourceforge.net
Date:
07/22/2010 11:29 AM
Subject:
Re: configure: error: Perl support requires --enable-shared
Lissa
Lissa Valletta wrote:
> Why do I get the error when I have
>
> ./configure --enable-shared --with-perl-modules
>
> I thought I was satisfying the requirement.
What net-snmp version on what system?
+Thomas
--
This
Why do I get the error when I have
./configure --enable-shared --with-perl-modules
I thought I was satisfying the requirement.
Lissa K. Valletta
414/3-8
Poughkeepsie, NY 12601
(tie 293) 433-3102
--
This SF.net ema
Hi,
I got the problem solved for SNMPv3 support. Thanks.
Now I want to know how to create sessions for different users in SNMPv3.
Without setting the session variable "session.securityEngineID" before
calling "snmp_sess_read", I am not able to call the callback function. So, I
suppose for differ
Hi,
I hope I am not double-posting, but I did not see this post of 21-Jul-10 in
the archives. I am now getting more used to the web site and controls.
I am running Net-SNMP 5.5 on an AIX 5.3 OS system.
When I try to get the tcpConnTable (1.3.6.1.2.1.6.13.1)
Net-SNMP responds with OID for 1.3.6
Hi,
A couple more questions.
1) How to close transport and session down.
I used
if(mgr_p->session_p) {
SNMPD_LOG(LOG_INFO, SNMPD_LOG_GROUP_TRAP, "Closing session.");
snmp_sess_close(mgr_p->session_p);
}
if(mgr_p->transport_trap_server_p) {
SNMPD_LOG(LOG_INFO
Hi
Our product has net-snmp 5.4.1 as the agent, which we ported
and added our config APIs.
We are seeing a problem when snmpgetnext is issued with
multiple varbinds, and table index is one of the objects being requested. It
works fine if an index object is not there in the var binds.
In t
On 22 July 2010 11:18, Thazhai Arasan wrote:
> But when i print the var_val in function it is showing another value
> instead of the settable value.
Would you care to share with us what value it is actually showing?
And how you are printing it? And what the command line you used was?
Or
Sorry Dave,
But when i print the var_val in function it is showing another value
instead of the settable value. Is there any register or handler or header
function is there to get the settable value from CLI to var_val.
Regards,
Thazhaiarasan R.
On Thu, Jul 22, 2010 at 3:10 AM, Dave S
On 22 July 2010 10:24, Gaurav Chaturvedi wrote:
> Following are the functions which can be used in your case as per the
> requirement:
>
> print_objid, fprint_objid, snprint_objid
Those will return the name of the MIB object
(formatted according to the current output format settings)
For the des
Hi Martin,
Its good that you got the solution now.
Following are the functions which can be used in your case as per the
requirement:
*print_objid*, *fprint_objid*, *snprint_objid
Synatx:
**void print_objid(const oid ***objid**, size_t* *objidlen**);
void fprint_objid(FILE ***fp**, const oid *
On 21/07/2010 06:05, Gaurav Chaturvedi wrote:
Hi Martin,
Please use the following code after your mentioned part of code.
You need to call "snmp_sess_select_info", "select" and
"snmp_sess_read" after snmp_sess_read() function. These functions help
in reading the data from socket and call the
On 22 July 2010 07:49, Gaurav Chaturvedi wrote:
> If I send engine-id using command [snmptrap]:
> This is stored in u_char * engine_id as engine_id[0] = 0x01
> engine_id[1] = 0x02
> en
[ 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. ]
On 22 Ju
17 matches
Mail list logo