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

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

Re: WRB - MFD compilation problems.

2005-01-31 Thread Robert Story
On Sun, 30 Jan 2005 01:04:39 -0800 [EMAIL PROTECTED] wrote: WC> I took the code of the routine init_mib_modules() and copied it to WC> the file snmpd.c, placing it just ahead of the function main(). I WC> actually kept it with the modified name of init_mib_modules_wrb(). WC> Then made the daemon a

Re: WRB - MFD compilation problems.

2005-01-31 Thread Robert Story
On Sat, 29 Jan 2005 01:00:43 -0800 [EMAIL PROTECTED] wrote: WC> WC> configure: error: mib module "dot11/mfd/dot11StationConfigTable" requires WC> module"dot11StationConfigTable_interface" but WC> dot11StationConfigTable_interface.h or dot11StationConfigTable_interface.c WC> could not be found in .

AIX syslog local7

2005-01-31 Thread John Adam
I am having trouble getting snmptrapd to log to the syslog LOG_LOCAL7 Logged in as root. tested /usr/local/sbin/snmptrapd -f -a -Lo and it pukes out my trap just fine. so , this is my next step /usr/local/sbin/snmptrapd -f -a -Ls7 /etc/syslog.conf contains the line local7.*          

Memory leaking in smpd

2005-01-31 Thread Jens Carroll
Hi folks, I have a memory leaking problem with an embedded linux application using net-snmpd 5.09 (tried 5.2 with the same effect). I have created a cross-commpiled net-snmp version for an arm7tdmi (nommu). Every snmp(walk, get set) command decreases the available memory. After about 20 commands

question on logfile monitoring

2005-01-31 Thread Denis Grannell
Hello, I've been searching through the FAQs looking for any documentation on the subject of logfile monitoring with net-snmp but I haven't found anything. Are there extensions to the agent that implement a file monitoring function? If there is such a beast, where can I read up on it? thanks Deni

Subagent -> agent communication port

2005-01-31 Thread Struminski, Przemek
Hi, What is the default port number master agent is listening for subagent's registation. Can/How this port be modyfied from the configuration files? Thanks, Przemek Struminski --- This SF.Net email is sponsored by: IntelliVIEW -- Interactiv

SNMP agent restart

2005-01-31 Thread Struminski, Przemek
Hi, Is there a way for the subagent to realize that master agent restarted and consequently reconnect. Thanks, Przemek Struminski --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Crea

SNMP Perl script hangs when receiving a SNMP response with bad checksum.

2005-01-31 Thread George Woodring
I have encountered an issue where my Perl script will hang on my Redhat Enterpise 3 box and not my Redhat 7.3 box. I am running net-snmp version 5.1.2 on my RH7.3 box and was running 5.1.2 on my Enterprise box until upgrading to 5.2.1 to see if the issue had been fixed. The script is exactly th

Perl module memory leak

2005-01-31 Thread GRUNCHEC Gaël
Hello, I'm using Net-SNMP-5.2 I ran the test below, for about 10 min. In the meantime, I monitored the memory consumption of the process. You can see the result of the ps command in the following lines. My conclusion is that it seems there is a memory leak in the interface between the Perl mod