A free MIB compiler for windows 2000

2004-08-25 Thread zaher .
Hello, Does anyone know where i can download a free MIB compiler for windows 2000 server? Regards, Zaher __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ---

Re: BITS value on get() using perl SNMP module.

2004-08-25 Thread Dan Sully
Does anyone have any thoughts on this? Every message I send to the net-snmp-* list seems to be ignored.. * Dan Sully <[EMAIL PROTECTED]> shaped the electrons to say... I'm attempting to query a Cisco switch, using the CISCO-STACK-MIB. If I use snmpwalk on the command line, I get back something li

Re: BITS value on get() using perl SNMP module.

2004-08-25 Thread Dave Shield
> Every message I send to the net-snmp-* list seems to be ignored.. Well as far as I'm concerned, that's because you've send the same message to both mailing lists. I've documented almost every place where these lists are mentioned with a request not to do this, since it's unnecessary (most of

Re: mailing list suggestion

2004-08-25 Thread Thomas Anders
Carlos Cantu wrote: I don't understand the hang-up. Is it that the Subject column of your e-mail browser is not wide enough to show a short tag plus the real subject text? :) I don't really need the tags myself. [...] But if some people can benefit from a short tag in front of the subject, I do

Re: Help, please. Is there something wrong with this code?

2004-08-25 Thread Dave Shield
> sprintf(value, "%d", auth); > snmp_add_var(pdu, auth_OID, auth_OID_len, 'i', value); That's probably where the problem is. You need to pass a pointer to the actual (binary) value - not a printable version of it. Try snmp_add_var(pdu, auth_OID, auth_OID_len, 'i', &value); instead.

Creating user in snmp V3

2004-08-25 Thread Sanjay Madan
Hi All,   I got a requirement of creating snmp user in snmp V3. I am able to make a new user  in snmpv3 in net-snmp-5.0.8 on Linux. But now the problem is that when I try to create new user while running "/home/sanjay/net-snmp-5.0.8/agent/snmpd -d" snmp-agent using the command "net-snmp-con

Problem while installing Net-SNMP on a Unix server

2004-08-25 Thread Lydie Guilbaud
Dear all,   I am trying to install Net-SNMP on a Unix server where Unicenter TNG is already installed.   Following instructions provided in Net-SNMP install notes, I successfully performed the "make" and "make test", but when I log on as root to execute "make install", we have the following r

compilation failing on Fedora Core 2

2004-08-25 Thread Ellis Corey
Hi,   I ran the following compilation and got the following errors   ./configure -with-mib-modules="host"   configure went through clean   make fails at the following sections   1)   looking for libbeecrypt  (saw rstory's post on the IRC, loaded missing library) 2)   had

snmpwalk

2004-08-25 Thread Soydan T. RENKMEN
I have some problems with Net-SNMP after upgrading from Net-SNMP 4.2 to 5.1. Before the upgrade, with the command below I could be able to get the list of IPs starting with 61. root:~# snmpwalk -Os -c public -v 1 10.0.0.1 atPhysAddress.3.1.61 > > atPhysAddress.3.1.61.142.41.2 = Hex: 00 50 FC E4 9

Re: Creating user in snmp V3

2004-08-25 Thread Dave Shield
> I got a requirement of creating snmp user in snmp V3. > But when I [run] "/usr/local/sbin/snmpd -d" and run the above specified > "net-snmp-config" command I am not successful. I get an error message > like " Apparently at least one snmpd demon is already running. You must > stop them in order

Re: mailing list suggestion

2004-08-25 Thread Dave Shield
> Since this list obviously should serve the needs of the majority of list > members, everyone *please tell the list admin* (not the list, to keep list > noise low) whether you vote *for* or *against* adding a [net-snmp-users] > tag to the subject line. Mailto:[EMAIL PROTECTED] . Gee, thanks Thom

Re: Creating user in snmp V3

2004-08-25 Thread Sanjay Madan
Thanks for your reply. But I'm not able to understand one thing that in first scenario when I try to start snmp agent from path " /home/sanjay/net-snmp/agent " I'm able to use net-snmp-config command to create a user successfully even though if my snmp agent is in running state.I can see the proce

Re: Help, please. Is there something wrong with this code?

2004-08-25 Thread cnelson
> > sprintf(value, "%d", auth); > > snmp_add_var(pdu, auth_OID, auth_OID_len, 'i', value); > > That's probably where the problem is. > You need to pass a pointer to the actual (binary) value - not a > printable version of it. > > Try > snmp_add_var(pdu, auth_OID, auth_OID_len, 'i',

RE: About Multi-request

2004-08-25 Thread valley
hi,robert: Comprehend and test it. Thank you very much! valley -Original Message- From: Robert Story (Users) [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 10:27 AM To: valley Cc: [EMAIL PROTECTED] Subject: Re: About Multi-request On Tue, 24 Aug 2004 17:22:51 +0800 valley wr

Re: Help, please. Is there something wrong with this code?

2004-08-25 Thread Dave Shield
> > You need to pass a pointer to the actual (binary) value - not a > > printable version of it. > > snmp_add_var(pdu, auth_OID, auth_OID_len, 'i', &value); > Thanks but: > > x.c:1022: warning: passing arg 5 of `snmp_add_var' from > incompat

Subagent problem

2004-08-25 Thread deepa chakkunni
hi all, I posted a question earlier regarding it. I was following the instructions in the subagent tutorial. The first method:- net-snmp-config --compile-subagent mysubagent nstAgentSubagentObject.c showed these errors generating the tmporary code file: netsnmptmp.16304.c void

Re: snmpwalk

2004-08-25 Thread Dave Shield
> After upgrading to 5.1, I got some error messages like below : > > root:~# snmpwalk -Os -c public -v 1 10.0.0.1 atPhysAddress.3.1.61 > > > atPhysAddress.3.1.61: Unknown Object Identifier (Index out of range: 61 > > > (atNetAddress)) Can you try with 5.1.2. I seem to remember seeing a similar

Re: snmpwalk

2004-08-25 Thread Soydan T. RENKMEN
I am using 5.1.8 and suse 9.1 but this problem still exists. Soydan T. Renkmen - Original Message - From: "Dave Shield" <[EMAIL PROTECTED]> To: "Soydan T. RENKMEN" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, August 25, 2004 3:21 PM Subject: Re: snmpwalk > > > After

Re: Help, please. Is there something wrong with this code?

2004-08-25 Thread cnelson
> > > You need to pass a pointer to the actual (binary) value - not a > > > printable version of it. > > > > snmp_add_var(pdu, auth_OID, auth_OID_len, 'i', &value); > > > > Thanks but: > > > > x.c:1022: warning: passing arg 5 of `snmp_add_var' from > >

RE: pass-through and getnext

2004-08-25 Thread Hoover Mark A AISC CONT
Robert, Thanks for the help. Was finally able to get this the other day and your explanation below was exactly the reason. > -Original Message- > From: Robert Story [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 24, 2004 9:43 PM > To: Hoover Mark A AISC CONT > Cc: '[EMAIL PROTECTED]'

web snmp query

2004-08-25 Thread Amit Singh CHANDEL
Hello, Does any one have some idea of adding snmp plugins in to a web brwoser, I mean we download some pages where the plugins accept data and generate snmp query to send to net snmp agent, Thanks, -- Amit Singh Chandel --- SF

Re: Creating user in snmp V3

2004-08-25 Thread Dave Shield
> But I'm not able to understand one thing that in first scenario when I try > to start snmp agent from path " /home/sanjay/net-snmp/agent " I'm able to > use net-snmp-config command to create a user successfully even though if my > snmp agent is in running state. No - I don't understand that ei

Re: snmpwalk

2004-08-25 Thread Dave Shield
> I am using 5.1.8 That's impressive! We only released 5.1.2 less than a month ago. On past form, it'll take us a year or more to reach 5.1.8 Can you perhaps wait until late 2005, when the rest of us catch up with you, and then we'll be in a position to see whether this problem has been re-intro

Re: Help, please. Is there something wrong with this code?

2004-08-25 Thread Dave Shield
> Well, no. I really appreciate your quick feedback and explanation but > now I'm worse off than I was. Before, my set routine got called n times > for port 1, now it doesn't get called at all! Arggghhh - I'm a pillock! I've just spotted that you're talking about "snmp_add_var", which is one

Re: snmpwalk

2004-08-25 Thread Soydan T. RENKMEN
I am also really impressed. I think you are not using updates so you are a bit back. If you dont have 5.1.8 I can send you now. Joking apart, I think my eyes are getting bad day by day, my release was 5.1-80 not 5.1.8 of course. I did not try with 5.1.2 but with suse 9.1, net-snmp 5.1-80 and debian

RE: compilation failing on Fedora Core 2

2004-08-25 Thread Ellis Corey
I found the problem   I needed a soft link  ln -s libselinux.so.1 libselinux.so   This fix the compilation.   -Original Message- From: Ellis Corey Sent: Wednesday, August 25, 2004 6:44 AM To: '[EMAIL PROTECTED]' Subject: compilation failing on Fedora Core 2   Hi,   I ra

problems with configuring net-snmp and snmpd.conf

2004-08-25 Thread subhadeep . das
Hello everyone, I am actualy using a software called nagios which uses a plugin called check_traffic to check for trafic using snmp> In this it uses the snmpget and the snmpwalk to check for traffic and then store it to later create a graph. The first point is that i have the file snmpd.conf in

Re: BITS value on get() using perl SNMP module.

2004-08-25 Thread Dan Sully
* Dave Shield <[EMAIL PROTECTED]> shaped the electrons to say... Every message I send to the net-snmp-* list seems to be ignored.. Well as far as I'm concerned, that's because you've send the same message to both mailing lists. I've documented almost every place where these lists are mentioned w

Re: snmpwalk

2004-08-25 Thread Soydan T. RENKMEN
i have installed 5.1.2-3 (debian unstable) and seems ok. but the problem with 5.1.8 still exists :) thank you for your help - Original Message - From: "Dave Shield" <[EMAIL PROTECTED]> To: "Soydan T. RENKMEN" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, August 25, 200

Re: Problem while installing Net-SNMP on a Unix server

2004-08-25 Thread Benjamin Ritcey
configure is just picking up the wrong 'install' -- temporarily remove '/unicenter/em/tape/scripts' from your PATH - I think you'll need to re-run configure so it either figures out the real 'install' or will know to use the install-sh that comes with the package. HTH, -b Lydie Guilbaud wrote:

Writing a net-snmp MIB Module

2004-08-25 Thread Steve Jacot-Guillarmod
Dear Net-Snmp Users, I've to implement a SNMP agent into a project... I've finished my MIB file, and I've used MIB2C to convert the file in C language... for the moment no problem. Now I want to implement into this MIB a string based on a variable, like the scalar_int.c example, but with a string

Re: sockets in net-snmp

2004-08-25 Thread Pedro Neves
On Wed, 2004-08-25 at 02:44, Robert Story wrote: > On Wed, 25 Aug 2004 02:30:16 +0100 Pedro wrote: > PN> Could someone please indicate me which are the functions responsible for > PN> the implementation of the udp socket used by net-snmp? Is winpipe.c one > PN> of these functions? > > That file is

f_create_from_tstring(...)

2004-08-25 Thread Pedro Neves
Dear all, Can someone explain me what is the f_create_from_tstring(...) main purpose??? I can not find its definition, only this: netsnmp_transport *(*f_create_from_tstring) (const char *, int); Thanks in advance Best regards, Pedro Neves

Re: f_create_from_tstring(...)

2004-08-25 Thread Users
On Wed, 25 Aug 2004 18:52:14 +0100 Pedro wrote: PN> Can someone explain me what is the f_create_from_tstring(...) main PN> purpose??? I can not find its definition, only this: PN> PN> netsnmp_transport *(*f_create_from_tstring) (const char *, int); It is a pointer to a function that creates a tra

Re: sockets in net-snmp

2004-08-25 Thread Users
On Wed, 25 Aug 2004 17:03:40 +0100 Pedro wrote: PN> On Wed, 2004-08-25 at 02:44, Robert Story wrote: PN> > Most of the udp code would be in snmplib/snmpUDPDomain.c. PN> PN> I have seen the snmplib/snmpUDPDomain.c file. In fact, the PN> netsnmp_udp_transport(...) function in snmplib/snmpUDPDomain.

traptoemail doesnt include whole trap - only host

2004-08-25 Thread Terry
Hello, I am redirecting all received traps to traptoemail. Here is my snmptrapd.conf file: traphandle default /usr/bin/traptoemail -s 172.29.0.15 -f [EMAIL PROTECTED] [EMAIL PROTECTED] Here is an example of a trap I see in my logs: Aug 25 14:03:41 server snmptrapd[28857]: 172.28.1.67: En

Re: Help, please. Is there something wrong with this code?

2004-08-25 Thread cnelson
I'm beginning to suspect that I'm seeing bugs in table_iterator.c. I note in its CVS history that some bugs related to multiple varbinds were fixed. I'm still using 5.1.1 and I'm a little shy about moving to 5.2. Is there a way to get SourceForge to let me download all the modules on the 5.1.

Re: no such instance

2004-08-25 Thread Users
On Mon, 23 Aug 2004 19:29:30 +0800 valley wrote: V> My question is solved, ---call CONTAINER_INSERT to fill the container. Right. Two examples can be found at http://www.net-snmp.org/faqs/rstory/array-user.html#create V> -Original Message- V> > But I used mib2c.array-user.con

compiling errors on a sun box

2004-08-25 Thread Mark
I seem to have trouble compiling net-snmp on a sun blade 100 on solaris 8... i compiled the same version ok on enterprise class machines but i guess something in the sun blade is not liking it..im wondering if another person is having the same problem as me.. i have attached my configure line

How Cross Compile Net SNMP Agent

2004-08-25 Thread Ramachandran, Sanjeev
Hi , I am a newbie to the net snmp distribution, I tried configuring , compiling and converting the MIBS on a x86 linux host. Now I need to cinfigure and cross compile the distribution to ARM target, how do i proceed, where should i give the option, and where can i specify my target system librar