Re: net snmp Compilation problem

2006-01-17 Thread Dave Shield
On Mon, 2006-01-16 at 14:56 +, shekar vajravelu wrote: I want to load net snmp to my system which runs linux 7.3. I downloaded the software in windows, used winzip to unzip the sourcecode, then copied all the files to linux. It's probably safer to unpack things on Linux, if that's where

Re: passing arguments to an OID with the command line tool

2006-01-17 Thread Dave Shield
On Tue, 2006-01-17 at 09:09 +0200, David Peer wrote: Is it possible to pass an argument to a script/command I defined in snmpd.conf OID? _in snmpd.conf:_ execPS /bin/ps _and in command line tolls:_ snmpget -v3 . hostname OID {argument_to_OID} Not using that sort of

Re: Snmpd as thread

2006-01-17 Thread Dave Shield
On Mon, 2006-01-16 at 22:21 +0530, [EMAIL PROTECTED] wrote: What i did is in agent Makefile I commented out the line which generate snmpd executable do I have to include any library and include file. Yes - you *do* need to link in with

Re: Updating to net-snmp 5.3 on Fedora Core 4 (FC4)

2006-01-17 Thread Radek Vokál
Bradford Ritchie wrote: Hi, I'm running Fedora Core 4 with net-snmp-5.2.1.2 and am having trouble updating my system to net-snmp-* v5.3 using yum and the fc4 rpm files found on the net-snmp download site at sourceforge.net http://sourceforge.net. Has anyone else running FC4 been able to

RE: snmpd reduce memory usage

2006-01-17 Thread Makavy, Erez (Erez)
about 4): Yes I read the relevant FAQ, they don't say anything about cutting down the size of libraries. 1) libnetsnmphelpers (~300KB): can I reduce it's size if I don't use all helpers? 2) libnetsnmpmibs (~2MB): a) can I reduce it's size if I don't choose to support (configure with

RE: snmpd reduce memory usage

2006-01-17 Thread Dave Shield
On Tue, 2006-01-17 at 14:30 +0200, Makavy, Erez (Erez) wrote: about 4): Yes I read the relevant FAQ, they don't say anything about cutting down the size of libraries. Eh? Every suggestion (bar one) in the entry about reducing memory footprint will result in one or other of the libraries

What is the Callback transport?

2006-01-17 Thread Makavy, Erez (Erez)
I hope my question is not dumb: ( but I'm not familiar with the callback transport) 1) Is that a common Linux transport interface?( Is is a local machine interprocess interface?) 2) Is it net-snmp transport? 3) Do sub-agents by default (like when using the example template), use the

Re: What is the Callback transport?

2006-01-17 Thread Dave Shield
On Tue, 2006-01-17 at 15:45 +0200, Makavy, Erez (Erez) wrote: 2) Is it net-snmp transport? Yes. It's a sort-of internal loopback mechanism, whereby the agent can re-query itself to retrieve (?or update?) another MIB instance value, without actually having to build-and-parse an SNMP request

RE: What is the Callback transport? ( and netsnmp_query_get)

2006-01-17 Thread Makavy, Erez (Erez)
First of all Dave, You have been really helpful (at least to me) lately. I truly appreciate it, and I hope I'm not a nag. Now, This reminds me when you told me about the netsnmp_query_get() (included in net-snmp-5.3), 1) Does netsnmp_query_get() allow a sub-agent to query a different

RE: What is the Callback transport? ( and netsnmp_query_get)

2006-01-17 Thread Dave Shield
On Tue, 2006-01-17 at 16:07 +0200, Makavy, Erez (Erez) wrote: 1) Does netsnmp_query_get() allow a sub-agent to query a different sub-agent ? No. 2) If not, is there any other API to do that? No. This is one of the major omissions from the design of the AgentX protocol, and would require

Re: Updating to net-snmp 5.3 on Fedora Core 4 (FC4)

2006-01-17 Thread Dave Shield
On Tue, 2006-01-17 at 10:45 -0500, Bradford Ritchie wrote: If Fedora uses a different naming convention, why aren't those names used in the FC4 files listed on sorceforge. Because there are different people looking after these two repositories, and they've make different choices about how to

Re: Updating to net-snmp 5.3 on Fedora Core 4 (FC4)

2006-01-17 Thread Bradford Ritchie
On 1/17/06, Radek Vokál [EMAIL PROTECTED] wrote: Bradford Ritchie wrote: Hi, I'm running Fedora Core 4 with net-snmp-5.2.1.2 and am having troubleupdating my system to net-snmp-*v5.3 using yum and the fc4 rpm files found on the net-snmp download site at sourceforge.net http://sourceforge.net.Has

Disabling usm for forwarding v3 messages in 5.3.0.1

2006-01-17 Thread Nigel Cunningham
Hi. I read in the release notes that the trap fowrarding authentication has been rewritten in 5.3.0.1. The notes imply that it's possible to disable this authentication, but don't say how. Can I please get a pointer to instructions? I have a patch for 5.2.1 (which I'm about to forward port)

SNMP enums -- please help

2006-01-17 Thread Bik Mani
Hi,What do I need to get enums available at run time? I have a 32 bit data type (Bits) where each bit positioned is defined as an enum Bit00 .. Bit31I tried to pass names like Bit21, Bit22 and do a lookup at run time to get the corresponding value:oid *name;struct tree *tp = get_tree(name,

RE: IP address of the trap receiver

2006-01-17 Thread Eugen
Thank you to both of you, Suresh and Dave. For know I'll take the approach to re-read the configuration file. I'll then investigate the 2nd possibility. Eugen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, January 16, 2006

AgentX master configuration question

2006-01-17 Thread Javier Torres
Hello, I am using 5.2.1 on fedora core 2 machines. I am trying to setup agentX for a group of machines that live in a sheltered part of my network. There is one host that can see the rest of the network and I would like to turn this host into the Master. I was hoping someone could help me

How to add/delete snmp user by snmp itself?

2006-01-17 Thread Ying Wang(CD)
Hi list, I want to add/delete snmp users by snmp itself. I refresh snmpd.conf, but, as you know, we should stop and restart snmpd to make this new user valid. I do not like this! So, when a request comes, I call usm_parse_create_usmUser() for v3 and vacm_parse_simple() for v1 and v2c to add a

Re: passing arguments to an OID with the command line tool

2006-01-17 Thread David Peer
Thanks Dave, It really can help But when I run the set command I get: Error in packet. Reason: notWritable (That object does not support modification) Failed object: NET-SNMP-EXTEND-MIB::nsExtendArgs.PS I'm using version 5.2.1.2-4 on debian. My snmpd.conf: extend PS /bin/ps I