Re: Re: Warning: Failed to connect to the agentx master agent ([NIL]):

2007-05-23 Thread feebright
Thomas Anders,hello! I run the command : /usr/local/sbin/snmpd -Dagentx/config The output is : No log handling enabled - turning on stderr logging registered debug token agentx/config, 1 [EMAIL PROTECTED] ~]# Turning on AgentX master support. Error: Couldn't open a master agentx socket

Re: Warning: Failed to connect to the agentx master agent ([NIL]):

2007-05-23 Thread Thomas Anders
feebright wrote: > Yes,i run this command as root . Please run the agent with "-Dagentx/config" and post the output. +Thomas - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of D

Re: Re: Re: Warning: Failed to connect to the agentx master agent ([NIL]):

2007-05-23 Thread feebright
Dave Shield,hello! Yes,i run this command as root . [EMAIL PROTECTED] 2007-05-24 - Original Message - From: Dave Shield To: feebright Sent: 2007-05-23, 18:22:18 Subject: Re: Re: Warning: Failed to connect to the agentx master agent ([NIL]): On 23/05/07, feebright <[EMAIL PROTECTE

Re: Rebuilding Net-SNMP 5.4 with IPv6

2007-05-23 Thread Thomas Anders
Kleffman, Justin (Mission Systems) wrote: > Has anyone successfully built with IPv6 using the following? > #define INET6 1 > > I need to know where these unresolved externals are located, and what I > need to link with. Can you retry with 5.4.1.pre1 and #define NETSNMP_ENABLE_IPV6 1 please?

RE: Rebuilding Net-SNMP 5.4 with IPv6

2007-05-23 Thread Kleffman, Justin (Mission Systems)
Has anyone successfully built with IPv6 using the following? #define INET6 1 I need to know where these unresolved externals are located, and what I need to link with. Thanks. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kleffman, Justin (M

RE: Net-SNMP Solaris 10 configure Error PLEASE HELP

2007-05-23 Thread Bruce Shaw
There may also be problems with ld. I'm having a similar situation. > ld.so.1: ld: fatal: relocation error: file /usr/ccs/bin/ld: symbol ld32_main: referenced symbol not found This email and any files transmitted with it are confidential and intended solely for the use of the individual or e

Re: Net-SNMP Solaris 10 configure Error PLEASE HELP

2007-05-23 Thread Thomas Anders
Mark Khan wrote: > I am trying to compile the net-snmpd 5.3 on a Solaris 10 > system. Below is a breakdown of the steps I have taken so far and the > configure error message: > 1. Installed Solaris 10 Rel 11-06 (SUNWCall) > 2. Installed May 07 Recommended Patch Cluster. > 3. Inst

Re: Net-SNMP Solaris 10 configure Error PLEASE HELP

2007-05-23 Thread Mark Khan
I made one mistake in my previous post I am trying to configure Net-snmpd 5.4 NOT 5.3 Regards - Mark >>> "Mark Khan" <[EMAIL PROTECTED]> 05/23/2007 1:34 PM >>> Hello World: I am trying to compile the net-snmpd 5.3 on a Solaris 10 system. Below is a breakdown of the steps I have

Net-SNMP Solaris 10 configure Error PLEASE HELP

2007-05-23 Thread Mark Khan
Hello World: I am trying to compile the net-snmpd 5.3 on a Solaris 10 system. Below is a breakdown of the steps I have taken so far and the configure error message: 1. Installed Solaris 10 Rel 11-06 (SUNWCall) 2. Installed May 07 Recommended Patch Cluster. 3. Installed from Sunfr

Snmp getnext in a loop

2007-05-23 Thread Jawwad Hafeez
Hi, I am using the snmp c api, the plateform is linux 9, I am carring out a series of snmpgetnext requests for different objects in a loop and populate a mysql database with the results. The software functions without a problem. However if a temporary network problem occurs e.g. if I un plug t

Re: Vlan's look like hidden

2007-05-23 Thread Thomas Anders
Igor V. Ruzanov wrote: > I use SNMP package net-snmp-5.4.1.pre1 under FreeBSD-4.11-RELEASE-p26. > That was an upgrade from net-snmp-5.4 package. Everything works OK except > such "strange" thing as VLAN-interfaces discovered via SNMP: Did you see different output with the 5.4 agent? What output

Re: perl and getnext

2007-05-23 Thread Thomas Anders
Dave Shield wrote: > On 23/05/07, Meregalli Massimo <[EMAIL PROTECTED]> wrote: >> 1) Yes, the file /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt exists. > > Yes - that was always likely, since the command was complaining > about it. What I actually asked was: > >>> Does the file /usr/share/snmp/mi

Please Help: how to use netsnmp_get_timed_stash_cache_handler

2007-05-23 Thread Lothar Werzinger
Hi, Will the code example below compile with the upcoming 5.4.1 release? On Wednesday 02 May 2007 15:59, Lothar Werzinger wrote: > Hi, > > I am using NetSNMP version 5.4. > > I implemented an agentx subagent and I want to use caching for my scalar > values. > It looks like the stash cache would b

RE: perl and getnext

2007-05-23 Thread Meregalli Massimo
Hi Dave, 1) Yes, the file /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt exists. 2) The same as before. the prel process crashes. Thanks maxmere -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, May 23, 2007 4:17 P

Re: perl and getnext

2007-05-23 Thread Dave Shield
On 23/05/07, Meregalli Massimo <[EMAIL PROTECTED]> wrote: > 1) Yes, the file /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt exists. Yes - that was always likely, since the command was complaining about it. What I actually asked was: >> Does the file /usr/share/snmp/mibs/SNMPv2MIB.txt exist? Dave

Vlan's look like hidden

2007-05-23 Thread Igor V. Ruzanov
Hello! I use SNMP package net-snmp-5.4.1.pre1 under FreeBSD-4.11-RELEASE-p26. That was an upgrade from net-snmp-5.4 package. Everything works OK except such "strange" thing as VLAN-interfaces discovered via SNMP: router:/home/ntrs/_distr/net-snmp-5.4.1.pre1$ snmpwalk -v 1 -c public localhost i

RE: Forwarding traps from SMUX subagents

2007-05-23 Thread David Arthur
Hello, We shall change our model to use snmptrapd as the central trap forwarder. Thank you very much for the suggestion. Now I have some reading to do on snmptrapd... Thanks again, Dave A. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent:

RE: Hostname vs. IP sent in traps

2007-05-23 Thread David Arthur
Hello, Thanks very much for the explanation, Dave. We can now work a solution on the management station end using the added hostname varbind you suggest. Dave A. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, May 22, 2007 2:32

Re: perl and getnext

2007-05-23 Thread Dave Shield
On 23/05/07, Meregalli Massimo <[EMAIL PROTECTED]> wrote: > The error produced... > -- > Did not find 'sysUpTime' in module SNMPv2-MIB > (/usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt) Does the file /usr/share/snmp/mibs/SNMPv2MIB.txt exist? What happens if you remove

perl and getnext

2007-05-23 Thread Meregalli Massimo
Hi, I'm having a strange problem with an application I developed in perl to do network inventory. The application worked fine with perl 5.8.8 and net-snmp version 5.2.1. I'm using a fedora core 5. When I ported the application on a fedora core 6 with perl 5.8.8 and net-snmp

Re: Re: Warning: Failed to connect to the agentx master agent ([NIL]):

2007-05-23 Thread Dave Shield
On 23/05/07, feebright <[EMAIL PROTECTED]> wrote: > i received :"Turning on AgentX mastersupport. > Error: Couldn't open a master agentx socket to listen on():". Who are you running this command as - yourself, or root? Dave --

Re: snmptrap to localhost

2007-05-23 Thread Dave Shield
On 23/05/07, Daniel Coelho <[EMAIL PROTECTED]> wrote: > I expected the traps to be logged Should be done by default >and sent to a SNMP manager (Zenoss ou Nagios). See the snmptrapd.conf directive "forward" > Since my NMS isn't working for the moment, I wanted to log the traps. Should be

Re: Warning: Failed to connect to the agentx master agent ([NIL]):

2007-05-23 Thread feebright
The net-snmp version is 5.4 and i testing this on vmware. thsnks! [EMAIL PROTECTED] 2007-05-23 - Original Message - From: Dave Shield To: feebright Sent: 2007-05-23, 17:14:00 Subject: Re: Warning: Failed to connect to the agentx master agent ([NIL]): On 23/05/07, feebright <[EMAI

Re: snmptrap to localhost

2007-05-23 Thread Daniel Coelho
I expected the traps to be logged and sent to a SNMP manager (Zenoss ou Nagios). Since my NMS isn't working for the moment, I wanted to log the traps. And I'm using a traphandle in snmptrapd do run a little script to make sure that the traps are received... Hope its enough to answer your question

Re: Re: Warning: Failed to connect to the agentx master agent ([NIL]):

2007-05-23 Thread feebright
Hi! D.T.Shield. I Comment out the # agentxsocket tcp:localhost:161 ,i also met i problem.When i execute the master agent with commend : ./snmpd -f -L ,i received :"Turning on AgentX master support. Error: Couldn't open a master agentx socket to liste

Re: Warning: Failed to connect to the agentx master agent ([NIL]):

2007-05-23 Thread Dave Shield
On 23/05/07, feebright <[EMAIL PROTECTED]> wrote: > master agentx > > agentxsocketudp:localhost:161 > > Where is the problem ? That last line is the problem. You are telling the agent to use the same port when listening for AgentX connections, as when listening for SNMP requests. T

Re: snmptrap to localhost

2007-05-23 Thread Dave Shield
On 23/05/07, Daniel Coelho <[EMAIL PROTECTED]> wrote: > I figure that my trap receiver is snmptrapd. Correct. > I usually restart de snmpd and snmptrapd daemons > on my local box with > service snmpd restart and > service snmptrapd restart. > > I used the snmpconf to generate the files > snmp.co

Warning: Failed to connect to the agentx master agent ([NIL]):

2007-05-23 Thread feebright
net-snmp-users,您好! I want to extend my agent with subagent,but now i met with a problem.When i execute the subagent ,I received "Warning: Failed to connect to the agentx master agent ([NIL]):". Following is My snmpd.conf . # sec.name source community com2sec

Re: How to with ASN_INTEGER on CentOS

2007-05-23 Thread David Ulrich
Le 23 mai 07 à 10:36, Thomas Anders a écrit : > David Ulrich wrote: >> On CentOS 4.4 with NET-SNMP version: 5.1.2 > [...] >> - SNMPv2-SMI::transmission.127.1.1.1.1.6.3 = INTEGER: 4294967269 >> >> When I use the same command line tool on my Mac OS X -NET-SNMP >> version: 5.4- the value returned is

Re: snmptrap to localhost

2007-05-23 Thread Daniel Coelho
I figure that my trap receiver is snmptrapd. I usually restart de snmpd and snmptrapd daemons on my local box with service snmpd restart and service snmptrapd restart. I used the snmpconf to generate the files snmp.conf snmpd.conf snmptrapd.conf. I thought this was the correct procedure to make

Re: How to with ASN_INTEGER on CentOS

2007-05-23 Thread Thomas Anders
David Ulrich wrote: > On CentOS 4.4 with NET-SNMP version: 5.1.2 [...] > - SNMPv2-SMI::transmission.127.1.1.1.1.6.3 = INTEGER: 4294967269 > > When I use the same command line tool on my Mac OS X -NET-SNMP > version: 5.4- the value returned is correct : > - SNMPv2-SMI::transmission.127.1.1.1.1.6.

Re: How to with ASN_INTEGER on CentOS

2007-05-23 Thread Dave Shield
On 23/05/07, David Ulrich <[EMAIL PROTECTED]> wrote: > On CentOS 4.4 with NET-SNMP version: 5.1.2 That version is fairly old by now, and a lot of work has been done since then on cleaning up 64-bit behaviour. Can you please try with a more recent release - e.g. 5.4 (or the just-issued 5.4.1.pre1)

How to with ASN_INTEGER on CentOS

2007-05-23 Thread David Ulrich
Hi, On CentOS 4.4 with NET-SNMP version: 5.1.2 I get some value from network elements with INTEGER type. This value could be negative or positive. But I notice that : - with net-snmp C library or command line tool the value returned is correct when positive but when it's negative the value is