Re: How to configure agent to allow access for a particular community

2005-06-27 Thread Shufen Zhang
Hi,   It must have been overwritten by later calls. I moved it to init_master_agent routine. And this way the secName can be set successfully.   But the snmpwalk still timeout. Anything else do I need to set explicitly? Like oid? Is it that the souce code default configuration is SNMPV3?   Thanks v

modify - hack enterprise OID #

2005-06-27 Thread C Wells
I have several OS's I run netsnmp on that return the 255 enterprise OID. I would very much like to be able to distinguish them by creating an enterprise OID of my own making even if it is not under the 2021 branch, so I can distinguish them better. Possible ? thanks _

RE: snmpd subagent die on solaris 9

2005-06-27 Thread H. C. Cheung
However, what is the impact or drawback if I give up the original solaris snmpdx agent? Thanks. >= Original Message From C Wells <[EMAIL PROTECTED]> = >run /etc/init.d/snmpdx stop >then run /usr/local/bin/snmpd > >See if netsnmp also dies when it runs by itself on >port 161. > > >--- "H.

RE: snmpd subagent die on solaris 9

2005-06-27 Thread C Wells
run /etc/init.d/snmpdx stop then run /usr/local/bin/snmpd See if netsnmp also dies when it runs by itself on port 161. --- "H. C. Cheung" <[EMAIL PROTECTED]> wrote: > >Are you actually using snmpdx for anything? > > Should be no. But I am not sure. > > >= Original Message From Bruce Shaw

Re: How to configure agent to allow access for a particular community

2005-06-27 Thread Shufen Zhang
Hi Dave,   I added vacm_parse_simple("rocommunity", "public");   But it still failed getting anything. The debug message showed the   vacm_in_view No security name found.   Can you please help?   Thanks, Shufen Shufen Zhang <[EMAIL PROTECTED]> wrote: Dave,   Thank you very much for your quick r

RE: snmpd subagent die on solaris 9

2005-06-27 Thread H. C. Cheung
>Are you actually using snmpdx for anything? Should be no. But I am not sure. >= Original Message From Bruce Shaw <[EMAIL PROTECTED]> = >>I have installed net-snmp 5.1.2 on Solaris 9 and the snmpd has been >configured >>as a sub-agent of snmpdx. It seems to be work fine at first. > >Are y

reading AgentX sub-agent configuration parameters

2005-06-27 Thread Steve S. Law
Hi, I have a sub-agent that NEEDs to read some configurable parameters specific to my application. (1) Where do I put those paramters? In my sub-agent main program, I have init_subagent("my-agent"); init_snmp("my-agent); I look at auto-generated "/var/net/my-agent.conf" file, but it says do no

snmpd and RMON

2005-06-27 Thread Ignacio Irigaray - IIE
Hi all Anybody knows if the rmon mib is supported by the smnpd ??? if it is supported, how is this module enable ?? thanks in advance. Nacho --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple t

Re: Win 32 build failed for 5.1.2

2005-06-27 Thread Alex Burger
Did you register the SDK after installing it via the Start menu? Alex Srinivasan Kandalam wrote: Downloaded the 5.1.2 sources on Windows. Followed the instructions and initiated the build script it failed with the following reason. Have platform SDK installed. The output from make.out enclos

Re: IP Alias

2005-06-27 Thread Thomas Anders
Glenn MacGregor wrote: I am working off 5.1.1. Doesn't look like that version uses this method, is that correct? Can I use version 5.1.1? When Wes made snmptrapd's usmUserTable available under the "snmptrapd" context in 5.2.x, he mentioned to have fixed some context-related bugs first, so I

Re: snmptrapd timeticks

2005-06-27 Thread Wes Hardaker
> On Thu, 9 Jun 2005 01:11:49 +0800, Jacky Chan <[EMAIL PROTECTED]> said: Jacky> I am trying to write a trap handler with net-snmp. I found that, the Jacky> systemuptime passing to the trap-handler is translated by snmptrapd to Jacky> dd:hh:mm:ss.ss format. How can I keep the systemuptime in s

Re: set engineID

2005-06-27 Thread Wes Hardaker
> On Mon, 13 Jun 2005 12:15:06 -0700, "Fong Tsui" <[EMAIL PROTECTED]> said: Fong> Which configuration file should engineID be defined in? regular Fong> snmpd.conf or persist snmpd.conf? Regular. Fong> I added engineID in regular snmpd.conf, restart snmpd, oldEnginerID Fong> seems change

Re: A query!

2005-06-27 Thread Wes Hardaker
> On Tue, 14 Jun 2005 17:17:05 +0530, "Rustagi, Sandeep (Sandeep)" <[EMAIL > PROTECTED]> said: Sandeep> I am trying to write an applictaion, lying in between Master Sandeep> Agent and Network management Application, which receives the Sandeep> set/get from Network Management Application a

Re: Error: memory leak when walking ifNumber repeatedly!

2005-06-27 Thread Wes Hardaker
> On Mon, 20 Jun 2005 14:46:54 +0800, "Ying Wang(CD)" <[EMAIL PROTECTED]> > said: Ying> When I walking (use the command snmpwalk) ifNumber repeatedly, I Ying> found the memory is largely leaking, increasing 388k or 4k at Ying> once. But if I just get (use the command snmpget) it repeatly,

Re: IP Alias

2005-06-27 Thread Glenn MacGregor
Wes, I am working off 5.1.1. Doesn't look like that version uses this method, is that correct? Can I use version 5.1.1? Will this work for SNMP V1 and V2c as well as V3? Thanks Glenn Quoting Wes Hardaker <[EMAIL PROTECTED]>: > > On Mon, 27 Jun 2005 14:03:53 -0400, Glenn MacGregor > <[EM

Re: high cpu load with snmpv3

2005-06-27 Thread Wes Hardaker
> On Tue, 21 Jun 2005 08:13:18 +0200, "Mieden, Rick van der" <[EMAIL > PROTECTED]> said: Rick> I notice a very high cpu load and therefore bad performance on my server Rick> (2 x 1.1 Ghz sparc cpu's with 1024 RAM). I'm using net-snmp 5.2.1 with Rick> snmpv3 configured to monitor my server

Re: IP Alias

2005-06-27 Thread Glenn MacGregor
Wes, That looks like it would work. DO I need to do anything to the snmpd.conf file to make this context work? Thanks Glenn Quoting Wes Hardaker <[EMAIL PROTECTED]>: > > On Mon, 27 Jun 2005 14:03:53 -0400, Glenn MacGregor > <[EMAIL PROTECTED]> said: > > Glenn> I originally wanted to do t

Re: Informs

2005-06-27 Thread Wes Hardaker
> On Fri, 24 Jun 2005 09:09:42 -0400, "Kevin Golder" <[EMAIL PROTECTED]> > said: Kevin> Is there anything I can do to get the agent to re-read it's config file Kevin> short of killing the agent process and restarting it? Unfortunately, code needs to be written to properly do that and it

Re: beginner

2005-06-27 Thread Wes Hardaker
> On Mon, 27 Jun 2005 04:51:36 -0500, "Shah, Bhawna" <[EMAIL PROTECTED]> > said: Bhawna> I have just installed the net-snmp. I would like to generate a template Bhawna> code check the basic functionality. To do what? -- Wes Hardaker Sparta, Inc. -

Re: conformance in MIB file

2005-06-27 Thread Wes Hardaker
> On Mon, 27 Jun 2005 19:49:57 +0800, "Jim Su" <[EMAIL PROTECTED]> said: Jim> I am looking for the example of MIB file where I can learn to Jim> define the conformance to provide the list to the readers of my Jim> MIB file so they know which tables in the MIB file are Jim> implemented by my SN

Re: Binary RPM for Net-SNMP v 5.2.1 for RH Linux???

2005-06-27 Thread Wes Hardaker
> On Mon, 27 Jun 2005 18:23:18 +0530, Jeetendra Singh <[EMAIL PROTECTED]> > said: Jeetendra> Can anybody point me to binary RPM for Net-SNMP version Jeetendra> 5.2.1 for Red Hat Jeetendra> Linux? Which red hat linux? There are quite a few. -- Wes Hardaker Sparta, Inc. --

Re: snmptranslate and read_objid()

2005-06-27 Thread Wes Hardaker
> On Wed, 15 Jun 2005 20:38:48 -0700 (PDT), Mihir Lala <[EMAIL PROTECTED]> > said: Mihir> What I'd like to do is to get an "Unknown OID" in the second case; Mihir> basically having read_objid() return a failure. Mihir> Is this possible? Mihir> I am trying to write a trap receiver appli

Re: IP Alias

2005-06-27 Thread Wes Hardaker
> On Mon, 27 Jun 2005 14:03:53 -0400, Glenn MacGregor <[EMAIL PROTECTED]> > said: Glenn> I originally wanted to do this by knowing the ip address that Glenn> was queried then I could go to the correct device and get the Glenn> correct value. There is no way to know the address that was Gl

IP Alias

2005-06-27 Thread Glenn MacGregor
Hey All, Back again with the question. I know some have suggested that the way to solve the problem is to use context's. I just don't see how I can achive this. Recap: I assign a virtual IP to every device I proxy for (I proxy serial devices to SNMP). So each serial device has a virtual address.

RE: snmpd subagent die on solaris 9

2005-06-27 Thread Bruce Shaw
CW>Some Enterprise class Hardware uses snmpdx for CW>inter-board communication. *curses, swears* Yeah, I know. It's also used by the management console (IIRC). CW>I've seen snmpd die if a process is started on the CW>same random port. This only happened in testing CW>though. *mumbles somethin

RE: snmpd subagent die on solaris 9

2005-06-27 Thread C Wells
Some Enterprise class Hardware uses snmpdx for inter-board communication. I've seen snmpd die if a process is started on the same random port. This only happened in testing though. --- Bruce Shaw <[EMAIL PROTECTED]> wrote: > >I have installed net-snmp 5.1.2 on Solaris 9 and > the snmpd has been

core dump/crash on OS X 10.4.1 Tiger

2005-06-27 Thread Rob Kudyba
NET-SNMP version 5.2 that comes with Tiger. Just running this command after a starting up ok: snmpget -v 3 -l authNoPriv -u username -A "password" localhost sysUpTime.0 snmpget: Timeout [1]+ Trace/BPT trap (core dumped) snmpd -I -icmp -f -L -DmppMIBModules Core file at: ftp://ftp.rae

Re: snmptrapd - type/range checking

2005-06-27 Thread Mihir Lala
> On Tue, 21 Jun 2005 15:12:47 -0700 (PDT) Mihir wrote: > ML> Now, when I generate a trap with an object that has a wrong > 'type', > ML> snmptrapd rightly complains with a message like: > ML> "Wrong Type (should be INTEGER): STRING: "foo" > ML> > ML> However when I generate a trap for an object d

Re: FW: snmptrapd Core Dump !

2005-06-27 Thread Thomas Anders
Wu, Lan, ALABS wrote: I was away for few days, Today, I check the snmptrapd, it core dump less a day (6/21 14:01:54 to 6/22 11:31), although the memory did not increase, but it is still core dump in the same place, please see the attachment. So I am guessing the memory leak may be not the root ca

FW: snmptrapd Core Dump !

2005-06-27 Thread Wu, Lan, ALABS
Hi Robert and Thomas, << I am still watching the movement of the process and will test the new version for days, ..>> I was away for few days, Today, I check the snmptrapd, it core dump less a day (6/21 14:01:54 to 6/22 11:31), although the memory did not increase, but it is still core dump in

RE: snmpd subagent die on solaris 9

2005-06-27 Thread Bruce Shaw
>I have installed net-snmp 5.1.2 on Solaris 9 and the snmpd has been configured >as a sub-agent of snmpdx. It seems to be work fine at first. Are you actually using snmpdx for anything? This communication is intended for the use of the recipient to which it is addressed, and may contain confide

Binary RPM for Net-SNMP v 5.2.1 for RH Linux???

2005-06-27 Thread Jeetendra Singh
Can anybody point me to binary RPM for Net-SNMP version 5.2.1 for Red Hat Linux? I couldn't find one at sourceforge. TIA, Jeetendra --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow

conformance in MIB file

2005-06-27 Thread Jim Su
Hi greeting: This is not directly related to Net-SNMP. Perhaps you can give me the direction where to search for the answer. I am looking for the example of MIB file where I can learn to define the conformance to provide the list to the readers of my MIB file so they know which tables

beginner

2005-06-27 Thread Shah, Bhawna
Hi, I have just installed the net-snmp. I would like to generate a template code check the basic functionality. How should I proceed. Bhawna

Re: cannot install net-snmp-users@lists.sourceforge.net in fedora core 1

2005-06-27 Thread Dave Shield
On Sun, 2005-06-26 at 07:36, pang seangloon wrote: > I am a newbie to this net-snmp. I want to install this > package because i want to use ethereal. Try installing a pre-installed RPM of the net-snmp package. Dave --- SF.Net email is sponsor

Re: snmpd doesn't send traps

2005-06-27 Thread Angel L. Mateo
El vie, 24-06-2005 a las 11:58 +0100, Dave Shield escribió: > On Fri, 2005-06-24 at 11:38, Angel L. Mateo wrote: > > > I have now the following configuration: > > > > trap2sink traprecv.mydomain.com > > informsink traprecv.mydomain.com > > You probably only want one of these two. > > > > a

Re: The problem: Snmpget can not get the variable information in mibs

2005-06-27 Thread Dave Shield
On Mon, 2005-06-27 at 07:31, LIAO, GUANGDENG wrote: > When I run the command as follows on MV: > > snmpget -v 1 localhost -c test ip.ipInReceives.0 > Output: > Error in packet > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: IP-MIB::ipInReceives.0 Check the ac

Re: get bulk in v1

2005-06-27 Thread Dave Shield
On Sat, 2005-06-25 at 08:14, venkat raghavan wrote: > Dose any one know hot to stimulate get bulk operation in snmpv1 . A series of GetNext requests - each one using the results of the one before. Dave --- SF.Net email is sponsored by: Discov

Re: The problem: Snmpget can not get the variable information in mibs

2005-06-27 Thread Sergey Spivak
Hi! > When I run the command as follows on MV: > snmpget -v 1 localhost -c test ip.ipInReceives.0 > > Output: > Error in packet > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: IP-MIB::ipInReceives.0 > > The NET-SNMP version is 5.11 > Current version is net-sn

The problem: Snmpget can not get the variable information in mibs

2005-06-27 Thread LIAO, GUANGDENG
Hi all, When I run the command as follows on MV: snmpget -v 1 localhost -c test ip.ipInReceives.0   Output: Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: IP-MIB::ipInReceives.0   But they do exist in the mib files. The NET-SNMP ve

get bulk in v1

2005-06-27 Thread venkat raghavan
Hi Dose any one know hot to stimulate get bulk operation in snmpv1 .     With regards, Venkat Discover Yahoo! Have fun online with music videos, cool games, IM & more. Check it out!

RE: UCD versus Host Resources Values for Swap

2005-06-27 Thread Dave Shield
On Thu, 2005-06-23 at 20:35, Bruce Shaw wrote: > It appears that we should be using the code from UCD-SNMP-MIB in both places > which is a Bad Thing, so I would be tempted to put it downstream somewhere > like agent/mibgroup/kernel_sunos5.c but that includes a whole bunch of stuff > we may not nec

snmpd subagent die on solaris 9

2005-06-27 Thread H. C. Cheung
Dear all, I have installed net-snmp 5.1.2 on Solaris 9 and the snmpd has been configured as a sub-agent of snmpdx. It seems to be work fine at first. However, after the sub-agent have been launched for serveral days, it died. I have watched the log file. It did not provide idea on why it has be