Problem with NET-SNMP and Solaris

2004-07-27 Thread SAHNOUN, Nadir
Hi all, am trying to install NET-SNMP to hosts with Solaris which i need to monitor. i want to use snmpd because it's provides more information that snmpdx. i downloaded, unzip and untar downloaded file : "net-snmp_5.0.9-SunOS_5.8_sun4d.tar.gz" 5 directories are created : bin, includ, lib, man,

Re: Snmp Agent as a thread

2004-07-27 Thread Manuel Mall
From: "Wes Hardaker" <[EMAIL PROTECTED]> > > On Wed, 21 Jul 2004 13:53:57 -0400, "Reitberger, Susan" <[EMAIL PROTECTED]> said: > > Susan> I am trying to start the snmp agent as a thread under another > Susan> application. Has anyone done this before? What function do I > Susan> tell the threa

RE: Newbie

2004-07-27 Thread Bruce Shaw
Please respond to the group so that others can benefit. Look at configure-summary. You should see something like: SNMP Versions Supported:1 2c 3 Net-SNMP Version: 5.2.dev Building for: solaris2 Network transport support: Callback Unix TCP UDP SNMPv3 Securit

Re: Update Re: Multiple connections to sub-agent?

2004-07-27 Thread Christopher Nelson
Wes Hardaker wrote: > > > On Tue, 27 Jul 2004 12:08:22 -0400, [EMAIL PROTECTED] said: > > cnelson> AgentX master agent failed to respond to ping. Attempting to > cnelson> re-register. > > cnelson> Does that suggest that snmpd is too busy to respond and my > cnelson> sub-agent is OK? > > It

Re: Adding row

2004-07-27 Thread Wes Hardaker
> On Mon, 19 Jul 2004 10:21:09 +0400, Igor <[EMAIL PROTECTED]> said: Igor> How can I add new row in ipRouteTable (1.3.6.1.2.1.4.21) using Igor> net-snmp agent & tools? I'm not sure any of the current implementations support adding routes. The 5.2 release should support it on linux at least.

Re: Support for Ciso ACLs

2004-07-27 Thread Wes Hardaker
> On Fri, 16 Jul 2004 20:38:28 +0530, "Anuradha Bhakta" <[EMAIL PROTECTED]> said: Anuradha> Can I have the previlege to take a look into the code that you have Anuradha> implemented for community table, if possible... :-) We haven't yet. Anuradha> Also, I have observed that currently SNMP Ma

Re: SNMP v3 issue with passphrase

2004-07-27 Thread Wes Hardaker
> On Thu, 15 Jul 2004 10:13:40 -0700, Ruby Ballen <[EMAIL PROTECTED]> said: Ruby> other passphrases that will pass validation are: Ruby> 11 Ruby> 111 Ruby> and son on. Ruby> I see this as a security whole. Is this something that is being Ruby> discussed, has a fix been pro

Re: 5.1.2rc1 build nits

2004-07-27 Thread Wes Hardaker
> On Sat, 17 Jul 2004 17:24:46 -0700, Chuck Yerkes <[EMAIL PROTECTED]> said: Chuck> on a 2 CPU FreeBSD 5 box and an 8 CPU V880 box (gmake) 'make -j Chuck> #' where N> 1 fails. Thanks, I had actually noticed that as well... The build routines need work for -j support. With distcc now availab

Re: Net-SNMP 5.1.2.rc1 released

2004-07-27 Thread Wes Hardaker
> On Sun, 18 Jul 2004 19:13:24 -0400, Ted Kaczmarek <[EMAIL PROTECTED]> said: Ted> This condition only seems to happen on nodes with multiple Ted> ethernet and tunnel interfaces from what I can tell. Have several Ted> other boxes running Ted> 5.0.9 that never hit this condition. Unfortunately

Re: SNMP forwarding removing IP from traps

2004-07-27 Thread Wes Hardaker
> On Fri, 16 Jul 2004 12:17:50 +0200, "Javier Senosiain" <[EMAIL PROTECTED]> said: Javier> Do you know any software being able of this ? We need running Javier> in Solaris. You could modify our snmptrapd application to do that. Make sure to use 5.1.1 or higher, as its more extensible than th

Re: engineID

2004-07-27 Thread Wes Hardaker
> On Mon, 19 Jul 2004 16:23:45 +0200, "Rothe, Detlef" <[EMAIL PROTECTED]> said: Detlef> 1. Where can I find the structure of the engineID used by Detlef>net-snmp? Net-SNMP uses a combination of time and random number values to seed the engineID. Doing it any other way (like the common IP

Re: MIB Load order

2004-07-27 Thread Wes Hardaker
> On Mon, 19 Jul 2004 13:05:22 -0400, "Mitch Raful" <[EMAIL PROTECTED]> said: Mitch> In what order does snmpd load mibs and can that be changed? It loads it based on the contents of the MIBS environment variable, or by the default list if no variable is set. The default list can be set using

Re: proxy support question

2004-07-27 Thread Wes Hardaker
> On Thu, 22 Jul 2004 06:10:34 + (GMT), 오호일 <[EMAIL PROTECTED]> said: hoil> For example, If EMS requests the certaion MIB object, I(certain hoil> SNMP Agent) wish to forward to it another Agent using the hoil> context Name. Yes. See the proxy support described at http://www.net-snmp.org

Re: Snmp Agent as a thread

2004-07-27 Thread Wes Hardaker
> On Wed, 21 Jul 2004 13:53:57 -0400, "Reitberger, Susan" <[EMAIL PROTECTED]> said: Susan> I am trying to start the snmp agent as a thread under another Susan> application. Has anyone done this before? What function do I Susan> tell the thread to run? The agent doesn't work in a threaded envi

Re: using remote port other than 161 does not work ?

2004-07-27 Thread Wes Hardaker
> On Thu, 22 Jul 2004 14:15:57 +0200, evgeni popov <[EMAIL PROTECTED]> said: evgeni> I'm using the lib through the python wrapper yapsnmp. It uses evgeni> the netsnmp 'session' object to do the job. Whatever I put in evgeni> the 'remote_port' member of the session object, it seems evgeni> nets

Re: perl(Term::ReadKey) error installing 5.1.1

2004-07-27 Thread Wes Hardaker
> On Thu, 22 Jul 2004 10:45:32 -0400, Christina McAghon <[EMAIL PROTECTED]> said: Christina> However, the Term::ReadKey is installed on this machine...Any ideas? cpan> install Term::ReadKey Christina> Term::ReadKey is up to date. RPM doesn't check actually installation, it only checks insta

Re: SNMP perl module and perl threads

2004-07-27 Thread Wes Hardaker
> On Thu, 22 Jul 2004 18:50:15 -0300 (ART), Ramon Ramone <[EMAIL PROTECTED]> said: Ramon> If I have multiple threads of the same process running Ramon> concurrent synchronous snmpget queries, will the rest of the Ramon> threads block while waiting for a response ? I have perl Ramon> 5.8/net-s

Re: snmpd not responding

2004-07-27 Thread Wes Hardaker
> On Fri, 23 Jul 2004 08:14:54 +0800 (PHT), [EMAIL PROTECTED] said: wjdeypalan> I have a mandrake 9.2 and installed net-snmp package from wjdeypalan> the cd. i use the default configuration and do a snmpwalk wjdeypalan> -v 2c localhost -c public system. the response is: wjdeypalan> Timeout: No

Re: Newbie SNMP question

2004-07-27 Thread Wes Hardaker
> On Tue, 27 Jul 2004 05:13:21 +0100 (BST), Richard Thornton <[EMAIL PROTECTED]> > said: Richard> If I am miles off (I have taken note of snmpd.conf Richard> which recommends using contexts if you have end-to-end Richard> SNMPv3) should I go with something like the SNMP Richard> security

Re: Sub-agent not being "called"

2004-07-27 Thread Wes Hardaker
> On Fri, 23 Jul 2004 15:06:16 +1000, Mark Hansen <[EMAIL PROTECTED]> said: Mark> However when I send a request to the machine for either of the 2 Mark> values in the MIB tree, my subagent process is not asked to do Mark> anything and the requesting SNMP manager times out. I'm not sure, from

Re: How to debug the agent

2004-07-27 Thread Wes Hardaker
> On Mon, 26 Jul 2004 07:27:05 -0600, [EMAIL PROTECTED] said: haris> I'd like to debug the agent, and reach the problem. In addition to the replys you got so far, I suggest reading the netsnmp_debug manual page ( http://www.net-snmp.org/man/netsnmp_debug.html ) -- Wes Hardaker Sparta ---

Re: Update Re: Multiple connections to sub-agent?

2004-07-27 Thread Wes Hardaker
> On Tue, 27 Jul 2004 12:08:22 -0400, [EMAIL PROTECTED] said: cnelson> AgentX master agent failed to respond to ping. Attempting to cnelson> re-register. cnelson> Does that suggest that snmpd is too busy to respond and my cnelson> sub-agent is OK? It means that something has gone wrong. De

Re: Missing API documentation?

2004-07-27 Thread Wes Hardaker
> On Tue, 27 Jul 2004 13:51:07 -0400, [EMAIL PROTECTED] said: cnelson> out cnelson> Is "out" all there is? I'm not familiar with doxygen but I'm cnelson> guessing it's a tool to generate API docs from source and I cnelson> wonder if "out" is the result of specifying a bad option or cnelson>

Re: UnLinked OID

2004-07-27 Thread Gary Clark
Found the problems with the below. It should be: Ahh time to begin ERLANG-IDS-MIB DEFINITIONS ::= BEGIN > > IMPORTS >MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF >MODULE-IDENTITY, OBJECT-TYPE, IpAddress,Integer32, >mib-2, experimental FROM SNMPv2-SMI; >

RE: Newbie

2004-07-27 Thread Bruce Shaw
try someting like ./configure --with-mib-modules="host disman/event-mib smux mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio" then make >hello, im newbie in this list i want to install net-snmp with smux support using freebsd port? I configure just like this >make NET_SNMP_MIB_MODULES="

Missing API documentation?

2004-07-27 Thread cnelson
http://www.net-snmp.org/#Documentation has a link named "The doxygen generated API documentation" which leads to http://www.net-snmp.org/tutorial-5/agent/ which says: This is the Net-SNMP coding and API reference documentation. It is incomplete, but when combined with the manual page set and t

Re: UnLinked OID

2004-07-27 Thread Gary Clark
Hi, The below version will generate the templates i.e the .c and .h files. However if after generating the templates I want to change the MIB again i.e change tcpConnState name to tcpConnNewState then I will see the UnLinked OID. I think I need to remove some files just dont know where. Much app

Newbie

2004-07-27 Thread apellido jr., wilfredo p.
hello, im newbie in this list i want to install net-snmp with smux support using freebsd port? I configure just like this make NET_SNMP_MIB_MODULES="host disman/event-mib smux mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio" make install It is correct? how do i know that net-snmp already s

Re: UnLinked OID

2004-07-27 Thread Dave Shield
> When I alter a name of an element in the table and make the correct > changes to the MIB. It then throws out the complaint of UnLinked OID. > When I revert back to the original change it then happily goes > ahead and regenerates the templates. What exactly is the change you make to the MIB ? Is

Update Re: Multiple connections to sub-agent?

2004-07-27 Thread cnelson
My sub-agent is getting SIGPIPE and reporting: AgentX master agent failed to respond to ping. Attempting to re-register. Does that suggest that snmpd is too busy to respond and my sub-agent is OK? - Original Message - From: [EMAIL PROTECTED] Date: Tuesday, July 27, 2004 9:54 am Subjec

Re: WRB - More comments - especially for DTS

2004-07-27 Thread Dave Shield
> As is my typical behavior, I had noted in my posting on 20040723 that I > am using RH9, Net-SNMP 5.0.9 (and all of the tools it contains), and in > the two subsequent postings (dated 20040723 and 20040724), that I am > working to build an AgentX extension to implement the 802.11 MIB. OK - havin

UnLinked OID

2004-07-27 Thread Gary Clark
Hello,   Ok I read the FAQ on UnLinked OID and even though its a relevant definition I dont think it relates to the problem I am seeing.   I am basically building a simple table,populate all the object elements etc and then run mib2c. It goes ahead and constructs the templates and kindly ask

RE: Once again: disman problem ?

2004-07-27 Thread Bruce Shaw
>As soon as I run snmpd with DefaultMonitors yes, I get a bunch of invalid traps. This happens quite often but without any rule AFAUI. >A typical trap looks like: >Jul 24 17:44:58 abba snmptrapd[18706]: [ID 702911 daemon.warning] 172.25.48.148: Enterprise Specific Trap (DISMAN-EVENT-MIB::mteTrig

Multiple connections to sub-agent?

2004-07-27 Thread cnelson
I'm using net-snmp 5.1.1 and I have an snmpd sub-agent that dies when I stress it and I'm trying to understand the interaction between snmpd and my program, at least in broad strokes before I dig into the code to deeply. I have a user interface program which makes requests of snmpd and display

WRB - More comments - especially for DTS

2004-07-27 Thread bill buckley
Dave: As is my typical behavior, I had noted in my posting on 20040723 that I am using RH9, Net-SNMP 5.0.9 (and all of the tools it contains), and in the two subsequent postings (dated 20040723 and 20040724), that I am working to build an AgentX extension to implement the 802.11 MIB. The problem

snmpget string problem

2004-07-27 Thread Mike Mohamet
Hi all I am using ucd-snmp 4.2.6 in computer to manage some objects I have created. One of this objects is a string which contains part of a LOG file of the system. Moreover, I am using the output of snmpget to write a new file in my disk. e.g snmpget hostname community my-object > my-lo

Once again: disman problem ?

2004-07-27 Thread Gerd Bavendiek
Hi, a few months ago Joel Parker described a problem with 5.1.1 on Linux. He was getting invalid traps with mteHotValue set to 0 and without an ErrMessage. You may see the posting at http://sourceforge.net/mailarchive/message.php?msg_id=8111760 The other day I ran into the very same problem using

Re: UCD-SNMP-MIB Question

2004-07-27 Thread Kelvin Wu
check the version of snmpd you are using, suse has a copy of v4.x.x pre-installed(in /usr/sbin/) which may cause this problem, if you have installed v5.x.x(in /usr/local/sbin/), try to use the full path to start snmp daemon. /usr/local/sbin/snmpd -c /etc/snmpd.conf > Hi Everyone, > Thanks

Re: Version 9 and linux red hat installation problem

2004-07-27 Thread Dave Shield
> I then grabbed the package Tk800-804.027.tar.gz. Performed the necessary > gunzipped and untar. Rebuilt the TK and performed > make install. All went a charm. > > Then I tried again: > > > rpm -i net-snmp-5.1.1.rh9.i686.rpm > to get the below: > perl (Tk) is needed by net-snmp-5.1.1 The pr