some doubts

2004-10-13 Thread Andres C
Hello, I have some general questions about snmp, I hope you can help me with them: 1. How does a network management station discovers private mib's form a device, for example, a UPS. I mean, how does it know what things to monitor and what to query the agent for, how does he knows the variables,

Compiling

2004-09-29 Thread Andres C
Hello, I'm newby in net-snmp. I have the Win32 version. I've been using mib2c to compile my test MIB. It has defined 3 objects (two readable and one read-write), they are simple objects and I'm trying to compile them like this: mib2c -c mib2c.scalar.conf avTest The thing is I don't know exactly

Something else - compiling

2004-09-29 Thread Andres C
Hi, Forgot to ask why do I get an error after executing the mib2c: I get: indent is not recognized as an internal or external command ... all that. I guess it's because I don't have that program somwhere. Is it needed? where can I get it? is it available for windows? is it important? Also, why

extending the agent

2004-09-30 Thread Andres C
Hello, I've compiled the new module I'll be using in the agent. It generated both files. The thing is, apparently you have to modify some of the code. Doesn't the mib2c generates it all? There are some places that say: snmp_set_var_typed_value(requests->requestvb, ASN_OCTET_STR,

Agent

2004-10-02 Thread Andres C
Hello, I've been trying to extend the agent to accept an MIB I've created (I'm using windows and VC++ 6.0). I've generated the .c and .h files and addes them to the netsnmpmibs proyect and it builds ok, and generates the netsnmpmibs.lib. But when I try to build the snmpd project (as says in REA

Win 32 compiling error

2004-10-04 Thread Andres C
Hello, The file win32.dsw generates a fully functional agent after building it (with my extended part of the agent)? What is the difference in running time with win32sdk.dsw? which one is better to use? Because I've been trying to build in win32sdk.dsw and I get some errors with the iphlpapi.h f

snmpget command

2004-10-04 Thread Andres C
Hello, I've been trying to compile an agent (in win32, using VC++ 6.0) I have extended to some test mib I have designed. I have executed the mib2c and generated the 2 files and added them to the project and succesfully built snmpd. Then I unload the service, replace the snmpd.exe file and upload

net-snmp win32

2004-10-21 Thread Andres C
Hello, I have some general questions regarding the use of snmpv3 and the source code (I'm using windows net-snmp version): 1. what is the diference between release and debug building options in the win32.dsw project? 2. when you do a snmpget -v 3 ... command you don't need a community string, i

Re: net-snmp win32

2004-10-25 Thread Andres C
Hello, Sorry for the delay in the answer to the mail. > 6. the thing is I'm trying to create both authentication and encription of > the snmpv3 messages. > snmpusm -v 3 -u initial -n "" -l authPriv -a MD5 -A setup_passphrase -x > DES -X setup_passphrase -l authPriv localhost create redte

Re: net-snmp win32

2004-10-26 Thread Andres C
Hello, You were right. I was pretty confused about the users. I checked the users created and executed a snmpget command and it worked fine. >>> 7. in the agent I want to implement that when an variable (MIB object) >>> is set to certain value, something happens in the agent (the agent >>> does

Re: net-snmp win32

2004-10-27 Thread Andres C
Hello, I have generated an object like this: avVersion OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "avVersion." DEFVAL { 10 } ::= { test 1 } I generated the co

example-daemon

2004-11-07 Thread Andres C
Hello, I've been trying to run the example-daemon found int the tutorial as a master agent. But I'm receiving this error (I'm using windows): Error opening specified endpoint "udp:161" midaemon is up and running. select: No such file or directory select: No such file or directory ... and so on in

netsnmp questions

2004-11-08 Thread Andres C
Hello, I have some questions about net-snmp: 1. I'd like to use the snmpdemoapp with snmpv3 using authentication and privacy (authPriv), but here there is only with authentication, to use it with privacy, would I have to fill the other session variables like with authentication? How do I generat

openssl

2004-11-10 Thread Andres C
Hello, I am trying to install net-snmp with openssl support in mandrake linux 9. I am doing: ./configure --with-openssl but I think you have to put the path of the lib of openssl, but I have no idea were this is. I imagine that linux comes alredy with openssl. What do I have to do to compile net

Net-snmp question

2004-11-22 Thread Andres C
Hello, I have some questions about net-snmp: 1. Does net-snmp uses syslog? If so, where does he logs things and how does he do it? Is there any example of how it is used and what is needed to use it? 2. Using snmpv3 when and where is the authentication done? In the daemon you configure the user

use of scalar objects Newbie

2005-01-31 Thread Andres C
Hello, I have degined a simple object in my test mib, like this: avDescr OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-write STATUS current DESCRIPTION "Test object." ::= { test 1 } I generated the code with mib2c in a Windows enviroment, with the

Taking action on a set command

2005-01-31 Thread Andres C
Hi all, how can I configure my extended agent so that when a variable is set to a certain value, it takes an action I would like to define. i use a scalar object (an octet string) do i have to do something in the handler? what do i need to do to acheive this? do I have to add the code in the MODE

Re: use of scalar objects Newbie

2005-02-02 Thread Andres C
Hello Robert, > AC> 6. How can I define that the agent takes an > action > AC> when a variable is set to certain value? > > Again, it depends on external vs internal. External > monitoring/actions are > done via snmpd.conf. Internally, you check for that > value in your handler and > perform the

Help building manager

2005-02-17 Thread Andres C
Hello, I'm trying to build a manager around Net-SNMP which uses both snmpd and snmptrapd demons. I have agents distributed in some copmuters monitoring some events. When it is necesary they generate a trap that needs to be reveived by this manager. Basically I'm building a manager to receive trap

Re: Help building manager please help

2005-02-21 Thread Andres C
Hello, I'm trying to build a manager around Net-SNMP which uses both snmpd and snmptrapd demons. I have agents distributed in some copmuters monitoring some events. When it is necesary they generate a trap that needs to be reveived by this manager. Basically I'm building a manager to receive traps

Re: Net-snmp doubt

2005-04-04 Thread Andres C
Hello Robert, Yes, I can send traps with those parameters. When the trapsess destination machine is up, I receive the traps as expected. Can you help me with this? Thanks a lot. From: Robert Story <[EMAIL PROTECTED]> Reply-To: net-snmp-users@lists.sourceforge.net To: Mauricio Reyes <[EMAIL PROTEC