RE: Help ??

2004-07-27 Thread Brian . Blietz
I would think that it would be fairly straight forward to write a Tcl/Tk frontend which uses the Net-SNMP command line tools. Brian From: Faisal Cheema [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 7:39 AM To: [EMAIL PROTECTED] Subject: Help ??

Priv Types

2004-07-19 Thread Brian . Blietz
Could someone explain the usmUser entry in the persistent snmpd.conf?     What I can tell so far:   I see OID's for noAuth/MD5/SHA and noPriv/DES.  I assuming the value (before or after?) the OID corresponds to its key for the given method (MD5/SHA etc) ??   Also, when configure is d

Persistent Data

2004-07-19 Thread Brian . Blietz
We have a need to separate out the persistent data in snmpd.conf (/var/net-snmp/snmpd.conf)   We would like to separate the V3 username info (keys and whatnot) out from the MIB data (psyslocation, psyscontact, etc).   Is there a mechanism in place to do this already?    Would it be e

RE: Excluded view with V3

2004-07-15 Thread Brian . Blietz
On second thought, we really don't need this, but if it is possible to exclude access to sub-trees with V3 it would be nice to know. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 1:08 PM To: [EMAIL PROTECTED] Subject: Excluded vi

Excluded view with V3

2004-07-15 Thread Brian . Blietz
What is the corresponding mechanism to restrict sub-tree access for V3? In v1/v2: view all excluded .1.3.6.1.4.1.469.1000.2.11.1.2 80 In v3? Thanks --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2

RE: Write access with V3

2004-07-13 Thread Brian . Blietz
I looked at the script for 5.1.2.pre2 as well, and it is lower case. Although, I haven't used it since 5.1.1. Maybe my memory was wrong, or the 5.1.1 script was wrong. Either way, it is case sensitive, and now I know. Thanks for the help. Brian -Original Message- From: Dave Shield [mailt

RE: Write access with V3

2004-07-09 Thread Brian . Blietz
I am trying to set sysContact or sysLocation. snmpset 192.168.0.50 system.sysContact.0 s bugs-bunny It tells me: "Not Writable (that object does not support modification)" Same error message when trying to write to variable in my custom mib as well. I am using my $HOME/.snmp/snmp.conf file for

Write access with V3

2004-07-07 Thread Brian . Blietz
I can't seem to get write access to work with V3. Read access works find. Here is my snmpd.conf file # First, map the community name (COMMUNITY) into a security name # (local and mynetwork, depending on where the request is coming # from): # sec.name source community com2sec

RE: IPv6

2004-07-06 Thread Brian . Blietz
I can't seem to get the IPv6 stuff working correctly. Or should I say, it "might" be working, but I can't prove it. My setup: Target PPC embedded system running snmpd Host linux system: Redhat 9, 2 NIC cards - note that it has 2 NIC cards I want to query the target, so ::1 will not work for my IP

RE: When snmpd is started as daemon, stops responding

2004-07-06 Thread Brian . Blietz
Have you tried to start the daemon as the root user? -Original Message- From: Grasic Igor [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 06, 2004 9:09 AM To: [EMAIL PROTECTED] Subject: When snmpd is started as daemon, stops responding Hello, I'm newcomer at net-snmp community. In ou

RE: IPv6

2004-07-01 Thread Brian . Blietz
Isn't ::1 for localhost? That is a good place to start, but ultimately I will need to use a full IPv6 address for a remote SNMP agent. Would that be similar, in that you just replace ::1 with the full IPv6 address? Brian -Original Message- From: Niels Baggesen [mailto:[EMAIL PROTECTED

IPv6

2004-07-01 Thread Brian . Blietz
Do the net-snmp tools support IPv6 ?   If so, what command line switch would I give , say, snmpget?   Brian

snmpd.conf network wildcards

2004-07-01 Thread Brian . Blietz
Is there any way to make the following line use wildcards for the IP address (mynetwork)?        #   sec.name  source  community com2sec local localhost   public com2sec mynetwork 192.168.0.0/24  private       Or better yet, can I set the agent up such that it

snmpd.conf network wildcards

2004-07-01 Thread Brian . Blietz
Sorry, last email was HTML. Is there any way to make the following line use wildcards for the IP address (mynetwork)?  #   sec.name  source  community com2sec local localhost   public com2sec mynetwork 192.168.0.0/24  private Or better yet, can I set the agent up such t

V3 passwords with cross-compile

2004-06-29 Thread Brian . Blietz
How do I use the net-snmp-config -create-snmpv3-user with my cross-compile environment. If I run net-snmp-config locally, it wants to modify /var/net-snmp/snmpd.conf which is not accessible to my target. If I run net-snmp-config on the target, it wants to modify /home/bblietz/place/where/

Set request with PASS directive

2004-06-24 Thread Brian . Blietz
First off, thanks to everyone for all the help so far!   I have a simple issue...or so it would seem   For some reason, when I use the pass directive on my Linux box, the SET command comes across just fine.  But when I try to set anything on the target, my app does not get called by

RE: Cross compile problems

2004-06-24 Thread Brian . Blietz
Thanks for the info. Now I am using the prefixes, and doing a make install on the build system. Everything seems to be going well.so far. -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 10:28 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED

PPC build

2004-06-24 Thread Brian . Blietz
If I just use -host=ppc instead of ppc-linux or ppc-linux-gnu, the snmpd file in the agent directory is an executable, and it works, well for the most partI have to use -enable-mini-agent in order for it to build, and my PASS directives don't work, but the executable runs, and responds

Cross compile problems

2004-06-24 Thread Brian . Blietz
I am cross compiling for a PPC/Linux target.   Finally, I can get everything to build.  But now here is the problem.   I have not been doing a "make install" because this has no meaning in a cross compile environment (or at least mine).  I plan on just moving the snmpd executable over t

PPC host build error

2004-06-23 Thread Brian . Blietz
I get a linker error when I try to build for PPC, with the following configuration ./configure --host=ppc --with-cc=gcc-ppc --with-endianness=big --disable-manuals --disable-applications --disable-scripts --disable-debugging --with-enterprise-oid=469 --with-transports=UDP --with-persistent-directo

RE: Pass directive and Set Row

2004-06-23 Thread Brian . Blietz
Thanks for the info. I was afraid of that. Is there an easy place to hack this in? All I really need to do call my app once during the commit phase. -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 3:30 AM To: [EMAIL PROTECTED] Cc: [EMAIL P

Pass directive and Set Row

2004-06-22 Thread Brian . Blietz
I am planning on using the pass directive to create a shim between net-snmp and our already working snmp backend.   I have a question about the set command. From what I understand, if I want to set a row, there will be one message to net-snmp. Net-snmp will parse the message, and indivi

RE: Can't read/write pipe using PASS

2004-06-18 Thread Brian . Blietz
I have figured out my problem...I guess I jumped the gun a little. I was assuming that the working directory for my app was the directory in which the app was in! But of course is isn't, it is /. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June

Can't read/write pipe using PASS

2004-06-18 Thread Brian . Blietz
When I use the pass directive to start up my application, I can't use a pipe. I can't even do fprintf(stderr, "message") <- this should ALWAYS work. When I run my app at the command line, it works fine. The pipe works and the output file is created. When I run it from the agent, the agent gets

pass directive

2004-06-17 Thread Brian . Blietz
Is there any way to use one pass directive for multiple entries in a MIB?   Right now I have it working with full OID info such as Pass .1.3.6.1.4.1.469.1000.2.1.1.1 myapp   But what I would really like to do, is Pass .1.3.6.1.4.1.469.1000.2 myapp   And have this process the origin

RE: New to list

2004-06-17 Thread Brian . Blietz
I have found the following comment in the var_example() function in agent/mibgroup/examples/example.c /* * Many object will need to obtain data from the operating system in * order to return the appropriate value. Typically, this is done * here - immediately following the 'he

New to list

2004-06-16 Thread Brian . Blietz
Hello all. I am new to the list, and new to net-snmp as well.   I have a quick question that I hope I can get some help on.   Currently, I am working on porting net-snmp to our access point. We already have SNMP working.  BUT, we want to replace a costly agent with net-snmp.  Also, th