Re: AIX Implementation

2005-02-07 Thread Robert Story
On Fri, 28 Jan 2005 10:07:30 -0600 John wrote: JA> I am having trouble getting snmptrapd to log to the syslog LOG_LOCAL7 Does it work to standard syslog? JA> /usr/local/sbin/snmptrapd -f -a -Ls7 Try '-Ls 7' -- Robert Story; NET-SNMP Junkie Support: Archive:

Re: scalar_group

2005-02-07 Thread Robert Story
On Fri, 28 Jan 2005 13:34:36 -0800 (PST) Ming wrote: MY> Is there a way to group a set of scalars so that the handler gets called MY> once for the group for incoming get/set request? I look at the scalar_group MY> helper, but it seems to only simply the handler registration s.t. I don't MY> have to

Re: Subagent -> agent communication port

2005-02-07 Thread Robert Story
On Fri, 28 Jan 2005 16:25:48 -0500 Struminski, wrote: SP> What is the default port number master agent is listening for subagent's SP> registation. Can/How this port be modyfied from the configuration files? It isn't a port, but a unix domain socket. See the FAQ entry: http://www.net-snmp.org/do

Re: SNMP agent restart

2005-02-07 Thread Robert Story
On Fri, 28 Jan 2005 16:21:17 -0500 Struminski, wrote: SP> Is there a way for the subagent to realize that master agent restarted and SP> consequently reconnect. It should do that automatically.. What version are you using? -- Robert Story; NET-SNMP Junkie Support: A

Re: use of scalar objects Newbie

2005-02-07 Thread Robert Story
On Wed, 2 Feb 2005 10:46:27 -0800 (PST) Andres wrote: AC> char *data = (char *) handler->myvoid; AC> AC> case MODE_SET_ACTION: AC> DEBUGMSGTL(("handle", "in handler -- AC> updated u_char %s -> %s\n", *data, AC> *(requests->requestvb->val.string))); AC> *data = *

Re: Memory leaking in snmpd

2005-02-07 Thread Robert Story
On Thu, 03 Feb 2005 15:01:33 +0100 Jens wrote: JC> I have compiled net-snmp (5.09) with Ahhh... JC> I would like to use net-snmp 5.2 but it does not compile smoothly for my JC> target system (I had to do some gcc calls by hand to be able to compile JC> it). JC> JC> Any idea where to start? The

Re: net-snmp with freeBSD and all interfaces

2005-02-07 Thread Monil Patel (Sentient Internet)
Robert Story wrote: On Wed, 02 Feb 2005 23:33:57 + Monil wrote: MP> On FreeBSD, I have a number of 802.1q VLAN's created from ifconfig. MP> Since the machine's last reboot, no information for any of these VLAN MP> interfaces has been sent from the snmpd. Now all I get is the physical MP> int

RE: netsnmp_call_handlers() called illegally

2005-02-07 Thread Fong Tsui
I found the memory stack problem in subagent. When subagent dies, this message will get logged. I am on 5.0.9. Thanks, Fong -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 4:02 PM To: Fong Tsui Cc: David Sousa Coelho; net-snmp-users@list

Re: net-snmp with freeBSD and all interfaces

2005-02-07 Thread Robert Story
On Wed, 02 Feb 2005 23:33:57 + Monil wrote: MP> On FreeBSD, I have a number of 802.1q VLAN's created from ifconfig. MP> Since the machine's last reboot, no information for any of these VLAN MP> interfaces has been sent from the snmpd. Now all I get is the physical MP> interfaces (i.e. em0, d

Re: netsnmp_call_handlers() called illegally

2005-02-07 Thread Robert Story
On Wed, 2 Feb 2005 18:06:41 -0800 Fong wrote: FT> I had the similar problem as you described below. Have you got solution for FT> it? What version are you using? Do you have a stack trace for the crash? -- Robert Story; NET-SNMP Junkie Support: Archive:

Re: WRB - Errors in Static Make

2005-02-07 Thread Robert Story
On Thu, 3 Feb 2005 20:34:18 -0800 [EMAIL PROTECTED] wrote: WC> With the configuration established as follows: WC> WC> ./configure --with-mib-modules="dot11/mfd/dot11StationConfigTable" WC> --disable-shared --enable-static --with-default-snmp-version="2" WC> --with-sys-contact="William R. Buckley"

Re: Netsnmp 5.2 Freeze on FC3

2005-02-07 Thread Robert Story
On Thu, 3 Feb 2005 08:34:15 -0400 Alejandro wrote: AG> I compiled Source RPM for Net-SNMP 5.2 over Fedora Core 3, because, when I AG> run snmpd (5.1) the computer stop responding. The whole computer, or just snmpd? AG> This problem is on 5.2 again; BUT when I'm running x-windows only. AG> I have

Re: Table index problem

2005-02-07 Thread Robert Story
On Wed, 2 Feb 2005 21:55:02 -0600 Greg wrote: GLR> Ok, I understand why it is showing a 0 for the first entry and am handling GLR> this ok, but as the walk continues through the table, it extracts index 1, GLR> the first entry, handles it, repeats returning once again index 1. Then GLR> it moves t

Re: Table index problem

2005-02-07 Thread Robert Story
On Wed, 02 Feb 2005 11:33:52 -0600 Greg wrote: GLR> Thanks for the information. When I execute my get statements, I am GLR> returning the values that I am expecting. I would additionally like the GLR> snmpwalks to return the identical information which it is not. Ahh, thanks for the example. N

problem in setting several octet strings with an only SET PDU

2005-02-07 Thread Gemma Sánchez
Sorry to resend this e-mail but I have to tell you something important about this subject: it is that the 4 variables I need to write are elements of a Table, it is its structure. I hope it could clarify very much my question. +--datCic(12) | | | +--datCicTable(1) | | | | | +--datC

Perl extensions

2005-02-07 Thread John Adam
Folks, When I add   perl NetSNMP::TrapReceiver::register("trapOID", \&myfunc); or perl do "/usr/local/share/snmp/mytrapd.pl"; to my snmptrapd.conf I just get an error Warning: Unknown token: perl. I assume that this is because I do not have the Perl modules integrated. How do I accomplish

session parameters

2005-02-07 Thread Bill Leung
I am working on the SNMP manager that uses net-snmp. I am wondering if there is any API that can allow me to update the parameters in a netsnmp session (e.g. timeout time, retry count, etc.) that is already opened with snmp_open(session). If not, is there any mechanism that can allow differ

Re: HOw do I get a libsnmp.so library with 5.x.x?

2005-02-07 Thread Chris Green
On Sun, Feb 06, 2005 at 08:54:18PM +0100, Thomas Anders wrote: > Chris Green wrote: > >However HPLIP's ./configure is looking for libsnmp.so and the build > >and install of net-snmp doesn't create one of those. [...] > >The installation instructions for HPLIP are all based on Red-Hat and > >SuSe sy

Re: HOw do I get a libsnmp.so library with 5.x.x?

2005-02-07 Thread Chris Green
On Sun, Feb 06, 2005 at 03:39:08PM +, Chris Green wrote: > I am trying to build an application (HPLIP) which says it requires:- > > > net-snmp 5.0.9 or higher and net-snmp-devel for network support > > So, I've downloaded, built and installed net-snmp version 5.1.2, that > all went OK wi