RE: How to disable/enable SNMP V1 and V2 on the fly?

2010-02-01 Thread Chi . Guan
I did trim --with-out-mib-modules="agent/mibII/vacm_config" from the configure. But UCD-SNMP-MIB is not included. 1. I am not sure if "enable-mini-agent" builds necessary UCDAVIS's mib. 2. What exact configure parameters should I use in QNX if I don't want TCP, perl to build in however, I want inc

please unsubscribe from the list

2010-02-01 Thread srinivas k
-- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contract

NetSNMP::TrapReceiver install issue

2010-02-01 Thread Todd Birkenholtz
Nube here… I am would like to run a program that would act on SNMP Traps and run a perl program and act on the alert accordantly. The NetSNMP::TrapReceiver perl module appears to do exactly what I would like especially since it was tied to the event I would not need to watch the log. >From Linux

Re: How to disable/enable SNMP V1 and V2 on the fly?

2010-02-01 Thread Thomas Anders
chi.g...@l-3com.com wrote: > I remove the "enable-mini-agent" in the configure, > But I got compile errors as following: > mibII/at.c: In function `ARP_Scan_Next': > mibII/at.c:830: arithmetic on pointer to an incomplete type > mibII/at.c:836: dereferencing pointer to incomplete type > mibII/at.c:8

RE: How to disable/enable SNMP V1 and V2 on the fly?

2010-02-01 Thread Chi . Guan
I remove the "enable-mini-agent" in the configure, But I got compile errors as following: mibII/at.c: In function `ARP_Scan_Next': mibII/at.c:830: arithmetic on pointer to an incomplete type mibII/at.c:836: dereferencing pointer to incomplete type mibII/at.c:839: `ifIndex' undeclared (first use in

Re: trapsink with variable ip destination

2010-02-01 Thread majid namnabat
Dear, I try to use snmp_open & netsnmp_query_set functions, I write a function similar attached code. But it's not work. Please guide me more! How can I create a row for a table with netsnmp_query_set function. In this table row indexes determined by strings such as 'internal0'. How can I specify

Re: About NETSNMP...Problem]

2010-02-01 Thread Dave Shield
On 1 February 2010 11:46, wrote: > i am still getting the "timeout : no response from localhost" error. And the snmpd.conf file that you attached still includes the token "RETURN" at the end of the "rocommunity" line. I've already told you that you need to remove this token. Things will not wor

Re: trap initializing ----what is the " /* insert index here */ " meaning?

2010-02-01 Thread Dave Shield
On 1 February 2010 11:29, Alexander King wrote: > I did not sent the that mail to the list,because the code file is sick. > Dave,if you have time to fix it I have told you exactly where the problem lies. And pointed you at an example of correct usage of the equivalent code. That is as much as I'

SNMP agent problem

2010-02-01 Thread srinivas k
Hello Everyone, I am testing the SNMP traps received from SNMP Agent. My SNMP agent always sending agent_ip:0.0.0.0. I have configured the Agent with SNMPV2. I am are not sure why the agent ip is coming 0.0.0.0. I have checked using tcpdump on port 162, it shows the SNMP agent address correclty.

About NETSNMP...Problem]

2010-02-01 Thread ganeshyellapu
hi, i am still getting the "timeout : no response from localhost" error. I am very new to network progrmmainga and for net-snmp. Kinldy find the attachemtns snmp.conf and snmpd.conf to this mail and help me in this issue. i am facing for 2 weeks the same problem. In the following manner i

Re: trap initializing ----what is the " /* insert index here */ " meaning?

2010-02-01 Thread Alexander King
Dave: Yes, obviously,yes,Everything you tell me was implemented in my work,maybe i need share you part of my salar?! I didnot sent the that mail to the list,because the code file is sick.Dave,if you have time to fix it, it is up to you if you need share with the users on the list.I got the total

Re: trap initializing ----what is the " /* insert index here */ " meaning?

2010-02-01 Thread Dave Shield
On 1 February 2010 09:45, Alexander King wrote: > the "snmpd daemon auto termination" problem unsolved by now yet. Please check your use of "snmp_varlist_add_variable()". In particular, pay very careful attention to the fifth (value) parameter, and how this is used with integer-based values. Com

Re: trap initializing ----what is the " /* insert index here */ " meaning?

2010-02-01 Thread Dave Shield
> BTW,the "snmpd daemon auto termination" problem unsolved by now yet. > It make me headache for a long while.I am thinking the code file all days. Then perhaps you should post the code again, including the corrections you have made. Certainly, changing long int *intpp = 8; to long in

Re: trap initializing ----what is the " /* insert index here */ " meaning?

2010-02-01 Thread Alexander King
-- Original -- From: "Dave Shield"; Date: Mon, Feb 1, 2010 05:23 PM To: "Alexander King"; Cc: "net-snmp-users"; Subject: Re: trap initializing what is the " /* insert index here */ " meaning? On 1 February 2010 03:33, Alexander King wrote: > int > sen

Re: net-snmp compilation including perl module

2010-02-01 Thread Dave Shield
On 30 January 2010 00:02, Group wrote: > Is there any way to avoid compiling Trapreceiver directory by disabling > any module? You could try editting the file "perl/Makefile.PL" and delete "TrapReceiver" from the DIR list.. Dave --

Re: About NETSNMP...Problem

2010-02-01 Thread Dave Shield
On 1 February 2010 09:11, wrote: >   4. Chose to setup a SNMPv1/SNMPv2c read-only access community name. >         1. community name: public >         2. network address to accept: localhost >         3. RETURN You were meant to press the "return" key - not type the word "RETURN" > For referen

Re: trap initializing ----what is the " /* insert index here */ " meaning?

2010-02-01 Thread Dave Shield
On 1 February 2010 03:33, Alexander King wrote: > int > send_fcPorttrap_trap( void ) > { >     netsnmp_variable_list  *var_list = NULL; >     oid fcPorttrap_oid[] = { 1,3,6,1,4,1,30901,2090,2092,0,1 }; >     oid fcPort_oid[] = { 1,3,6,1,4,1,30901,2090,7000,2,1,2,1,1,1, /* insert > index here */ };

About NETSNMP...Problem

2010-02-01 Thread ganeshyellapu
hi, i am still getting the "timeout : no response from localhost" error. I am very new to network progrmmainga and for net-snmp. Kinldy find the attachemtns snmp.conf and snmpd.conf to this mail and help me in this issue. i am facing for 2 weeks the same problem. In the following manner i c

Re: help

2010-02-01 Thread Dave Shield
On 30 January 2010 04:35, purushotam rao wrote: > How to run net-snmp demon in debug mode. > i.e. DEBUGMSGTL(" ") data should be printed. snmpd -D{token} . where {token} is the first parameter in the DEBUG message(s) that you're interested in. snmpd -D (with no explicit token) will p

help

2010-02-01 Thread purushotam rao
Dear Sir, How to run net-snmp demon in debug mode. i.e. DEBUGMSGTL(" ") data should be printed. -- Thanks & Regards, U.Purushotham Rao, -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online