J.AgentX problem

2006-04-26 Thread Denny Lee
Hello, I am new to Net-SNMP and J.AgentX and I am having trouble making things work. I am using the latest version of Net-SNMP and J.AgentX running on SUSE 10. I started Net-SNMP in master-agent mode by putting "master agentx" in snmpd.conf and then I started snmpd. Next I compiled MySimpleSubag

Getting index of table

2006-04-26 Thread Wesley Naves de Faria
I wrote an new agent snmp using mib2c.create-dataset.conf, and i'm using the add_row in snmpd.conf for to create a new table dynamically. It's working ok. In the add_row i pass the values for the table and the first values is an index for the new table. But in the xxTable_handler i can get any va

RE: How to generate v3 traps?

2006-04-26 Thread Yong Chen (yongche)
Hi, I'm using net-snmp 5.1, recently I see it crashes (stack trace attached, it's on linux). I did some debug but no result. Is it a known issue? Thanks, Yong Chen static int netsnmp_tcp_send(netsnmp_transport *t, void *buf, int size, void **opaque, int *olength) { int rc

not able to run this on win-XP

2006-04-26 Thread Smruti Ranjan Samantara
Hi , I am using net-snmp 5.3.0. I have MS Visual Studio 6.0, Microsoft Platform SDK for Windows Server 2003 SP1, Also I have istalled ActivePerl 5.8.8 Build 817 on my system but While configuring in windows XP as specified in net-snmp’s Readme Win32 , Microsoft Visual C++ - Workspace –

Solaris 9 - Net-SNMP 5.3.0.1 - unable to get network interface statistics

2006-04-26 Thread emmanuel hivet
The same package, compiled on a solaris 9 machine, works differently on a solaris 9 and solaris 10 server. -- -- On a solaris 9 machine with NET-SNMP 5.3.0.1 -- -- # /usr/local/netsnmp/bin/snmpwalk -v 2

Make Error on HP-UX 11

2006-04-26 Thread Vollman, Mike
I receive the following error when trying to run the make after successfully completing the configure using the flags –with-libs=-lnm –cache-file=/dev/null.  I set the default snmp to SNMPv2c and changed the name of the logfile to /var/log/net-snmpd.log.  I have attached a text document wit

Re : verify connection to master agent

2006-04-26 Thread brisse
I also try to add agentPingInterval 15in my snmpd.confI started my master as  snmpd -r -f -Le -DagentAnd in the snmpd.log: Warning: Unknown token: agentPingIntervalIt seems that this option is not supported. Why? I am using net-snmp5.2.My problem is the subagent's reconnection to the master. When I

facing problem while installing in win32

2006-04-26 Thread Smruti Ranjan Samantara
Hi, I am facing problem while I am installing net-snmp on my Windows XP OS .     I am doing the following steps (as mentioned in help manual) still I am getting errors like netsnmp.dll file not found(while running nmake install perl ) ,and many more.   ( I have used c:\usr for configu

Net-SNMP

2006-04-26 Thread nthioux
Hi, I reach your team because I'm putting online a web service call "www.encheres-reseaux.com", and in this Website, I've got a repertory named "OnLineTools", to give to my users a view of all the networking projects and tools wich can help them in their "day works". These users are essential

WWW, small mistake

2006-04-26 Thread Przemyslaw Kisicki
page: http://www.net-snmp.net/tutorial/tutorial-5/commands/snmpget.html there is: snmpget -v 2c -c demopublic test.net-snmp.org sysUpTime there should be: snmpget -v 1 -c demopublic test.net-snmp.org sysUpTime reason: "Note that the errrors differ slightly between SNMPv1 and SNMPv2c" -- Regards

Re: Setting up (basic) SNMP Masteragent and Subagent support

2006-04-26 Thread Wes Hardaker
> On Wed, 26 Apr 2006 08:25:20 +, Aaron Randall <[EMAIL PROTECTED]> > said: Aaron> Ok, so I need to remove trap2sink? And how does the subagent know Aaron> about the location of the Master Agent? By default the master and subagents using the /var/agentx/master unix domain socket on

Re: how to seperate the returned counter by ifindex?

2006-04-26 Thread Wes Hardaker
> On Wed, 26 Apr 2006 17:55:17 +0800, "Jim Su" <[EMAIL PROTECTED]> said: Jim> For example I have received the following variable buffer., how Jim> do I store all the index 3 data to one record and index 4 data to Jim> another record? I'd appreciate your help. Thanks in advance. The ifindex w

Re: Is it safe to invoke an SNMP Get within a sub-agent?

2006-04-26 Thread Wes Hardaker
> On Wed, 26 Apr 2006 15:27:17 +0300, "Makavy, Erez (Erez)" <[EMAIL > PROTECTED]> said: Erez> My solution - is it safe? Erez> - Erez> Within the access_method of my (agentx) sub-agent, within the mode Erez> MODE_GET, I basically invoke these net-snmp API fu

Re: Configuration need in order to recieve snmp traps

2006-04-26 Thread Wes Hardaker
Warning : no access control information configured This reciever will *NOT* accept any incomming notifications. NET-SNMP version 5.3.0.1 can you give me the configuration file of snmptrapd.conf in that conf file in order to mention traphandler we need to provide oid or default if I mention that l

Is it safe to invoke an SNMP Get within a sub-agent?

2006-04-26 Thread Makavy, Erez (Erez)
Hey,   What do I need -- I want to invoke an SNMP get ( send an SNMP request PDU to the master agent), within a sub-agent (on the same system). In particular within a netsnmp_mib_handler - access_method. Meaning that when the sub-agent receive a request for some OID1, it

how to seperate the returned counter by ifindex?

2006-04-26 Thread Jim Su
Hi Greeting: I used the asynchronous SNMP polling (with 4 ifIndex grouped in one request pdu ). How do I distinguish the returned counter value by their ifIndex? For example I have received the following variable buffer., how do I store all the index 3 data to one record and index 4 data to

Re: Setting up (basic) SNMP Masteragent and Subagent support

2006-04-26 Thread Aaron Randall
Hi Wes, Thanks for the reply! Ok, so I need to remove trap2sink? And how does the subagent know about the location of the Master Agent? Many thanks, Aaron Wes Hardaker wrote: On Mon, 24 Apr 2006 11:29:49 +, Aaron Randall <[EMAIL PROTECTED]> said: Aaron> and the conf fi