the timing of GETNEXT and TRAP

2006-02-01 Thread jun
Hi, The surveillance equipment which has used agentX of net-snmp-5.3.0.1 is under development. The following phenomenon has occurred. TRAP will be raised, if a state is checked to the cycle of 1 second and it is changeful with the function registered by snmp_alarm_register(). It seems that agentx

Regarding the nel-snmp lib files location

2006-02-01 Thread Ramachandrappa, Nataraju Karidasarahalli
Hi Team, I have installed the net-snmp-5.2.1.1 on two different linux boxes. All the library files are moved to /usr/local/lib folder in both the machines. When I start the developed agent in one machine agent seeks its lib files from the /usr/local/lib folder and in other machine agent seeks its

snmp newbie -- linksys log trap

2006-02-01 Thread jburke
I've tried some basic settings for trapping some log sent from my linksys befsr41 4-port router which is sending some kinda snmp port 162 messages-- but dam I wanna but I cantta? I'm sorry for being so dumb in this, but what terms should I look into and make necessary changes to, as in configur

Re: STRING v/s Hex-STRING

2006-02-01 Thread Wes Hardaker
> On Tue, 31 Jan 2006 16:09:57 -0700, <[EMAIL PROTECTED]> said: chinmayareddy> Can any one please tell me is there way to instruct chinmayareddy> NetSNMP to format non-displayable characters as chinmayareddy> Hex-STRING? It should be doing that actually, but maybe the format string is over-ri

Re: Using perl to create SNMP session towards local machine always use localport=161

2006-02-01 Thread Wes Hardaker
> On Tue, 31 Jan 2006 16:06:55 +0100, <[EMAIL PROTECTED]> said: Joakim> $trapsink = new SNMP::Session(Version => '2c', DestHost => '0.0.0.0', Joakim> LocalPort => '1620'); Um, try "RemotePort" not "LocalPort". Also, you can actualy combine those: DestHost => "0.0.0.0:1620". Note, however, t

Re: Bypassing USM for internal requests.

2006-02-01 Thread Wes Hardaker
> On Mon, 23 Jan 2006 17:49:51 +0200, "Makavy, Erez (Erez)" <[EMAIL > PROTECTED]> said: Erez> b) create a new degenerated security module. (from SNMP architecture Erez> perspective, this is the preffered solution) Actually the latest net-snmp release (5.3+) contains the ability to handle

Re: parsing error in printer MIB

2006-02-01 Thread Wes Hardaker
> On Wed, 1 Feb 2006 18:14:31 +0100 (MET), "Taner mehmetali" <[EMAIL > PROTECTED]> said: Taner> Unlinked OID in Printer-MIB: printmib ::= { mib-2 43 } Taner> Undefined identifier: mib-2 near line 10 of Taner> C:/usr/share/snmp/mibs/Printer-MIB.txt That's a bad mib... in the imports sec

mib2c.mfd.conf

2006-02-01 Thread stan buyanov
 Hello, When I am runningmib2c -c mib2c.mfd.conf   protocolDirI get  a message: no output file specified at /usr/local/bin/mib2c line 348, line 11. With other config files it works properly. I would greatly appreciate your help.T

Re: Managing SNMPv3 passwords without snmpusm.

2006-02-01 Thread Wes Hardaker
> On Thu, 12 Jan 2006 15:16:40 -0500, [EMAIL PROTECTED] said: Sorry for the delay. sasson> Hi all, I have a question that relates to ease of use (ease of sasson> management) of SNMPv3 passwords. Every administrator would sasson> like to change some of the passwords of the users accessing sas

Problem calling net-snmp library function from c++ application.

2006-02-01 Thread Makavy, Erez (Erez)
Hey,   I get this linkage error: gcc `net-snmp-config --libs` -o simpleApp simpleApp.o `net-snmp-config --agent-libs` simpleApp.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status make: *** [simpleApp] Err

Re: How do I uninstall the net-snmp

2006-02-01 Thread Wes Hardaker
> On Wed, 1 Feb 2006 16:20:46 +0530, "Ramachandrappa, Nataraju > Karidasarahalli" <[EMAIL PROTECTED]> said: Nataraju> I want know how to uninstall the net-snmp. Recent net-snmp releases do have a "make uninstall" option that should remove all the files it installed. It hasn't been reall

Re: Problem/Issue importing MIB net-snmp

2006-02-01 Thread Thomas Anders
Brazell, Nate (CTR) wrote: I then use the snmptranslate -m +FIBRE-CHANNEL-FE-MIB -IR fcFxPortName FIBRE-CHANNEL-FE-MIB::fcFxPortName (Not a OID as the FAQ for adding MIBS suggests) Is this correct? Use "snmptranslate -m +FIBRE-CHANNEL-FE-MIB -IR -On fcFxPortName" (i.e. add "-On") instead.

RE: Problem/Issue importing MIB net-snmp

2006-02-01 Thread Brazell, Nate (CTR)
Thanks for your response Dave, More comments below ** N -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 01, 2006 12:33 PM To: Brazell, Nate (CTR) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Problem/Issue importing MIB net-snmp On Wed, 2

Re: Problem/Issue importing MIB net-snmp

2006-02-01 Thread Dave Shield
On Wed, 2006-02-01 at 11:50 -0500, Brazell, Nate (CTR) wrote: > 1. Is net-snmp able to use the FIBRE-CHANNEL-FE-MIB > or the FCMGMT-MIB? What do you mean by "use" ? If you've got an agent that you know implements these MIBs, then the Net-SNMP tools should be able to recognise the MIB object

Re: shared table and table iterator

2006-02-01 Thread Dave Shield
On Wed, 2006-02-01 at 17:46 +0100, Keller, Beat wrote: > We are using net-snmp 5.3.0.1 and have a shared table within different > subagents ... Is it possible to solve this problem with the > table_iterator? It should be possible to implement this using the table_iterator (though it might

Problem/Issue importing MIB net-snmp

2006-02-01 Thread Brazell, Nate (CTR)
New to the group and new to importing MIBS.  Please excuse.  MIB’s are posted below   The issue:  This is a newbie stuff so please refer me to the correct place if this is not.  I am working with a lab that uses fibre channel drives to boot from and am interested in pulling performance m

shared table and table iterator

2006-02-01 Thread Keller, Beat
Hi, We are using net-snmp 5.3.0.1 and have a shared table within different subagents (e.g. Subagent 1 has row with index = 1, Subagent 2 has row with index = 2, etc...). Is it possible to solve this problem with the table_iterator? We always get the problem with duplicated registering. Thanks fo

parsing error in printer MIB

2006-02-01 Thread Taner mehmetali
Hi, i got following error while trying to load the Printer-MIB. Unlinked OID in Printer-MIB: printmib ::= { mib-2 43 } Undefined identifier: mib-2 near line 10 of C:/usr/share/snmp/mibs/Printer-MIB.txt SNMPv2-SMI is loaded and implemented in net-snmp-config.h and acconfig.h #define Printmib_

Can't send trap from a running sub-agent.

2006-02-01 Thread Makavy, Erez (Erez)
I have a sub-agent running as a thread. If I want to send a trap (using send_v2trap), I have to interupt the sub-agents agent_check_and_process() in order to send the trap.   Is there some event mechanism in net-snmp to allow to interupt the sub-agent?   Thanks, erez.        

Re: How do I uninstall the net-snmp

2006-02-01 Thread Bongani Malalane
Hi. Which platform are u running. On Wednesday 01 February 2006 12:50, Ramachandrappa, Nataraju Karidasarahalli wrote: > Hello ALL, > > I want know how to uninstall the net-snmp. > If any body knows how to unistall the net-snmp please send us the > details. > > Thanks in advance > > nataraju > >

Re: Perl and Bulkwalk-ing (bulkwalk method missing?)

2006-02-01 Thread Brandon Knitter
For those of you whom read this and are simply put off by the FAQ entry, fear not. The Perl Net::SNMP module is different then the Perl NetSNMP library which has the SNMP module (the newer one): http://www.net-snmp.org/docs/FAQ.html#Where_can_I_get_the_perl_SNMP_package_ You will find thi

How do I uninstall the net-snmp

2006-02-01 Thread Ramachandrappa, Nataraju Karidasarahalli
Hello ALL, I want know how to uninstall the net-snmp. If any body knows how to unistall the net-snmp please send us the details. Thanks in advance nataraju --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for p

Re: Perl and Bulkwalk-ing (bulkwalk method missing?)

2006-02-01 Thread Thomas Anders
Brandon Knitter wrote: I'm converting one of my perl scripts which used the older SNMP.pm for the new Net::SNMP module. Apparently the bulkwalk(...) method is no longer... http://www.net-snmp.org/docs/FAQ.html#I_ve_got_a_problem_with_the_Net_SNMP_module___Can_you_help_ +Thomas -- Thomas And