problem loading MIB

2011-04-20 Thread Max Levine
Hello, I am using Net::SNMP v 6.0.1 . I have an issue loading a MIB file. I have tried $ENV{'MIBS'}=ALL; but this does not seem to work.How can I tell Net::SNMP to load a specific MIB? -- Benefiting from Server

problem creating a new SNMP session

2011-04-20 Thread Max Levine
Hello, I am using the SNMP perl module that comes with net-snmp-5.6.1. I am creating a new session like this: my $session = SNMP::Session( DestHost = '10.162.18.63', Version = 3, SecLevel =

Re: Cooperation of net-snmp and java-agent using standard snmp protocol

2010-09-06 Thread Max
You could use the proxy statement which is documented in the snmpd.conf man page. On 9/6/10, Michala Srnova pisem.sr...@gmail.com wrote: Hi, I have created an snmp agent using Java Dynamic Management Kit. This agent should work with standard snmp protocol v1 and v2c. It is working. I have

Re: Trying to update a FAQ on the Net-SNMP Wiki but cannot

2010-06-22 Thread Max
Thanks, Wes! - Max On Tue, Jun 22, 2010 at 11:01 AM, Wes Hardaker harda...@users.sourceforge.net wrote: On Sun, 20 Jun 2010 17:37:41 -0400, Max perld...@webwizarddesign.com said: M When I hit edit on that page all i see is the question itself and a M few wiki links in the editor pane - I

Trying to update a FAQ on the Net-SNMP Wiki but cannot

2010-06-20 Thread Max
and a few wiki links in the editor pane - I do not see the FAQ text itself. Are only certain people allowed to update FAQs directly? Should I just submit my proposed additions as a discussion? Thanks, Max -- ThinkGeek

Re: Any way to have trapsink or trap2sink send traps to a given destination ONLY if the OID matches a configured OID prefix?

2010-06-18 Thread Max
figure out how to use it I will contribute a HOW-TO on the Net-SNMP Wiki. - Max -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See

Re: Any way to have trapsink or trap2sink send traps to a given destination ONLY if the OID matches a configured OID prefix?

2010-06-18 Thread Max
On Fri, Jun 18, 2010 at 11:03 AM, Joan Landry joan.lan...@overturenetworks.com wrote: I have the very same problem - so if you find a solution can you post it to this user list also? Thanks Absolutely! -- ThinkGeek

Re: Any way to have trapsink or trap2sink send traps to a given destination ONLY if the OID matches a configured OID prefix?

2010-06-18 Thread Max
additional clues / pointers you are willing to give would be helpful. - Max -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See

Re: Any way to have trapsink or trap2sink send traps to a given destination ONLY if the OID matches a configured OID prefix?

2010-06-18 Thread Max
I was thinking that a notify view via the 'access' statement in snmpd.conf was the way to go but in both snmpd.conf and snmpvacm man pages I see: NOTIFYVIEW The name of the MIB view (as set up by createView or equivalent) defining the MIB objects which may be

Re: Any way to have trapsink or trap2sink send traps to a given destination ONLY if the OID matches a configured OID prefix?

2010-06-18 Thread Max
On Fri, Jun 18, 2010 at 2:52 PM, Dave Shield d.t.shi...@liverpool.ac.uk wrote: On 18 June 2010 17:13, Max perld...@webwizarddesign.com wrote: Two years ago you stated that you did not think that snmpNotifyFilterTable rows could be set through snmpd.conf.  Is that still the case? I believe so

Any way to have trapsink or trap2sink send traps to a given destination ONLY if the OID matches a configured OID prefix?

2010-06-17 Thread Max
from the agent itself? or is the snmpd - snmptrapd method the only way to currently do this? Running 5.4.2.1. Thanks in advance for any suggestions you might have, Max -- ThinkGeek and WIRED's GeekDad team up

Re: Please i need support

2010-05-19 Thread Max
Check the Cisco site and the manuals that come with the device and see if your device has an embedded SNMP agent, if it does you can then run commands to get information from it. Read up on the commands you can use at http://net-snmp.sf.net/ Good luck! On Wed, May 19, 2010 at 11:17 PM,

Re: mib file configuration issue

2010-03-19 Thread Max
I would guess that you do not have a copy of RFC1213-MIB.txt in /usr/share/snmp/mibs or your MIB path for some reason does not include /usr/share/snmp/mibs. - Max On Fri, Mar 19, 2010 at 10:51 AM, Martz, Peter peter_ma...@cable.comcast.com wrote: Made the addition as suggested

Little OT - Mock agent for testing SNMP OIDs - any OID, would prefer to use Net-SNMP for the basis of this

2010-01-27 Thread Max Schubert
best to do leg work on this, but so far not coming up with any way to do this with Net-SNMP as the SNMP mock server container .. Thank you, Max -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay

Re: Net::SNMP usage

2010-01-26 Thread Max
the perldoc for Net::SNMP and looking at the examples that come with the module I would be glad to answer you off list. - Max On Tue, Jan 26, 2010 at 7:42 PM, John Fulton jful...@arctic.net wrote: I have several monitoring scripts that pull SNMP stats off of switches and routers that I have

Re: Reading your own values with net-snmp

2009-10-08 Thread Max
. So, I am looking for some advice on how to handle being able to read multiple values. Any help is appreaciated. pass_persist is a good choice for this using an external interpreter of your preference :); with it you can create a handler script that will return a table or 10 scalars. - max

Re: Segfault on 5.4.2.1 (Redhat) when using DISMAN-SCHEDULE-MIB cron or repeat directives with numeric OIDs

2009-09-30 Thread Max
on the list has an idea off the bat of why this might not be working that would certainly make it easier for me to find and hopefully fix the root cause :). - Max -- Come build with us! The BlackBerryreg; Developer

Segfault on 5.4.2.1 (Redhat) when using DISMAN-SCHEDULE-MIB cron or repeat directives with numeric OIDs

2009-09-19 Thread Max
: registered debug token ucd-snmp/pass_persist, 1 registered debug token schedule, 1 (SEGFAULT) Strace output (last 50 lines): ead(11, SNMP-NOTIFICATION-MIB DEFINITION..., 4096) = 4096 read(11, AX      SnmpAdminString (SIZE(1, 4096) = 4096 read(11, orageType\n    MAX-ACCESS  read-c..., 4096) = 4096

Re: Segfault on 5.4.2.1 (Redhat) when using DISMAN-SCHEDULE-MIB cron or repeat directives with numeric OIDs

2009-09-19 Thread Max
Follow up .. GDB output: 0 0x006fe285 in memmove () from /lib/libc.so.6 #1 0x00cc1b22 in snmp_set_var_value (vars=0x95d19d0, value=0x1 Address 0x1 out of bounds, len=10) at snmp_client.c:895 #2 0x00cf1caa in snmp_varlist_add_variable (varlist=0x9583300, name=0x0, name_length=0, type=4

Re: snmp hung after monitored by solarwind

2009-08-09 Thread Max
more than you might think you would :). - Max -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best

RE: Snmptrapd 5.4.2.1 unable to receive traps

2009-03-25 Thread Max Malzkuhn
Hi Dave. I've tried both the engineID from the box sending the trap as well as the box receiving the trap. I can't really change how the box sending the trap is set up, it's in our build and has to be generic. Max -Original Message- From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk

RE: Version 5.4.2.1 snmp v3 traps with snmptrapd

2009-03-25 Thread Max Malzkuhn
for both? If I get the user configured as authPriv, will it accept traps of a lesser security level? And how do I change the usm user? I have tried to delete the user using snmpusm, but have had no success thus far. Is snmpusm the only way I can get the user configured with authPriv? Max

RE: Version 5.4.2.1 snmp v3 traps with snmptrapd

2009-03-25 Thread Max Malzkuhn
this command at the box sending the traps or the box receiving the traps, so I tried both and got the same result. Max -Original Message- From: Mark Ellison [mailto:m...@ellisonsoftware.com] Sent: Tuesday, March 24, 2009 4:27 PM To: mmalzk...@edgewaternetworks.com Cc: net-snmp-users

Snmptrapd 5.4.2.1 unable to receive traps

2009-03-24 Thread Max Malzkuhn
that is sending the trap has: trapsess -v 3 -u edgewater -l authnopriv -n none -a MD5 -A edgewater 10.10.50.158:162 Anyone have any idea why it's not working? I can receive traps from this same source system on another box that is Running net-snmp version: 5.2.1.2 Thanks for any help. Max

Version 5.4.2.1 snmp v3 traps with snmptrapd

2009-03-24 Thread Max Malzkuhn
that is sending the trap has: trapsess -v 3 -u edgewater -l authnopriv -n none -a MD5 -A edgewater 10.10.50.158:162 Anyone have any idea why it's not working? I can receive traps from this same source system on another box that is Running net-snmp version: 5.2.1.2 Thanks for any help. Max

RE: Version 5.4.2.1 snmp v3 traps with snmptrapd

2009-03-24 Thread Max Malzkuhn
could recreate it, but so far no luck. It seems happy with the engineID and says it found a match on usmUser edgewater so I guess I'm getting closer. Max -Original Message- From: Mark Ellison [mailto:m...@ellisonsoftware.com] Sent: Tuesday, March 24, 2009 3:38 PM To: mmalzk

Need to know Index values of a table from table handler

2009-03-21 Thread Max 00
Example table: -- +--myTestTable(1) | +--myTestEntry(1) | Index: myTestId1, myTestId2 | 0-10 1-10 +-- -R-- INTEGER myTestId1(1) +-- -R-- INTEGER myTestId2(2) +-- -R-- INTEGER myColx(3) +-- -R--

Re: SNMP Mananger/NMS options

2008-07-29 Thread Max
of the packages you listed can work with SNMP :), I have done extensive SNMP management with Nagios and offer a number of examples of SNMP plugins in a book I recently wrote for Syngress (won't plug the book here) .. there are also a large number of SNMP plugins available for Nagios. - Max

Re: Printers in the Network

2008-06-02 Thread Max
. Yes, if you find an SNMP agent is on the device, the sysObjectID and sysDescr OIDs can help you figure out if a device is a printer. - Max - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual

Re: snmptrapd with attached perl script eats all memory

2008-05-30 Thread Max
anyone tell me what might be the problem? Have you done the obvious .. make sure you have no circular references in your script, make sure all your variables are scoped properly and declared with my? - Max - This SF.net email

Re: snmptrapd with attached perl script eats all memory

2008-05-30 Thread Max
that will clarify your code and maybe explicitly setting the reference to undef before return will get rid of the leak? Just an idea. - Max - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual

Re: snmptrapd with attached perl script eats all memory

2008-05-30 Thread Max
I meant 'sub' instead of function of course .. sorry, been doing a lot of PHP recently :p. - Max On Sat, May 31, 2008 at 12:08 AM, Max [EMAIL PROTECTED] wrote: Hi, # We MUST use $_[0] instead of new variable to change global curLogFile value Why do you have to use aliases for all

Re: Retrieving page fault events trough SNMP protocol...

2008-05-29 Thread Max
to understand to be useful. -= Max What the configuration to call a script looks like in snmpd.conf: exec 1.3.6.1.4.1.YOUR.OID.HERE s22-vmstat.sh /usr/local/bin/s22-vmstat.sh esf-lib.sh: #!/bin/bash glob_count() { local pat=$1 perl -e 'BEGIN{$t=0};$t++ for glob('$pat');END{print $t

Re: ssCpuRaw*: wait, kernel, and interrupt 'may be included in system': for Solaris/Linux are they included in ssCpuRawSystem? is there documentation for when they are and when they are not?

2008-03-05 Thread Max
the earlier 'mibgroup/ucd-snmp/vmstat*.c' files. Thank you very much! - Max - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt

ssCpuRaw*: wait, kernel, and interrupt 'may be included in system': for Solaris/Linux are they included in ssCpuRawSystem? is there documentation for when they are and when they are not?

2008-03-04 Thread Max
of the UCD MIB (if there are any) are welcome as well! Thank you, Max - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01

Re: SNMP Question

2007-11-25 Thread Max
Hi Ray, HOST-MIB IF-MIB MIB2 are the ones I can think of off the top of my head. Be aware that unless you use completely virtualized TCP stacks on your Solaris zones, agents running on zones will not be able to view network counters (in/out/errors/collisions). - Max On Nov 21, 2007 12:16 PM

Re: duplex discovery

2007-11-01 Thread Max
On Nov 1, 2007 5:34 AM, Thomas Anders [EMAIL PROTECTED] wrote: May I suggest to start collecting the common thoughts on a dedicated page in the Net-SNMP Wiki? Great idea :). - This SF.net email is sponsored by: Splunk

Re: duplex discovery

2007-11-01 Thread Max
Bruce, I think you have misinterpreted much of what I was saying on list as I think I have misinterpreted some of what you have been saying. I really would like to be involved with helping with this feature and I have no beef with you, sorry if I came off as being demanding or stepping in where

Re: duplex discovery

2007-10-31 Thread Max
you the most value, for instance? Or is your project so general that you can't make a prioritized list? - Max - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now

Re: duplex discovery

2007-10-31 Thread Max
I don't get your attitude and I don't like it. I have volunteered to help with this feature, stop the 'script to MIB' stuff, I know that writing code to implement a MIB is an involved process and I am willing to help where I can. You seem to have a very 'holier than thou' attitude about this

Re: duplex discovery

2007-10-31 Thread Max
Ok, so through the haze of text in which you basically call Les and I idiots for our suggestions or seemingly even for wanting to be involved with this and your assumption from somewhere that we are demanding you deliver this on your own, I see some valid points. 1) Four OSes, multiple versions

Re: duplex discovery

2007-10-29 Thread Max
OID. My script / module is based on SNMP::Info from Max Baer, if you know perl his module is very very useful for custom SNMP tools with Cisco devices :). On 10/29/07, Dave Shield [EMAIL PROTECTED] wrote: The agent can only report the information that it's been coded to handle. If it doesn't

Re: duplex discovery

2007-10-29 Thread Max
That is the big question, I think the answer is that some vendors provide this in extension MIBs but there is no common support for ETHERLIKE with SNMP on hosts, which is too bad. This is a huge undertaking but would be a huge win for Net-SNMP if it does not provide this information already. On

Re: duplex discovery

2007-10-29 Thread Max
about your preferred style / process for integrating a new feature? - Max On 10/29/07, Dave Shield [EMAIL PROTECTED] wrote: On 29/10/2007, Max [EMAIL PROTECTED] wrote: That is the big question, I think the answer is that some vendors provide this in extension MIBs but there is no common

Re: Logfile monitoring

2007-10-03 Thread Max Schubert
Hi, Behalf Of Joe Warren-Meeks Sent: Tuesday, October 02, 2007 8:11 AM Is it possible to configure net-snmp to tail a logfile and each time it finds a regexp match, send a trap with the text to a traphost? This is a TODO on the Net-SNMP development page: Log File Monitoring TODO

Re: Logfile monitoring

2007-10-02 Thread Max
for the hosts you monitor if you monitor a large number of hosts makes maintenance easier. - Max - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go

Re: SNMPWALK libnetsnmp.so error

2007-04-25 Thread Max
that is :). - Max On 4/25/07, Ken Alarie [EMAIL PROTECTED] wrote: I am installing net-snmp 5.4 on a Sun Sparc system running Solaris10. The compile/install went fairly well. I had a couple of library errors when I started snmp back up but loaded the missing libraries and those went away

Re: very simple exec usage

2007-04-19 Thread Max
:0 io:2 With 5.4 it seems that exec is completely deprecated and no longer works as I just get 'no such OID' errors when I try to use the exec lines I use with 5.0.9 (RHEL3 stable) snmpd. - Max - This SF.net email

Re: very simple exec usage

2007-04-16 Thread Max
and then reformats it for MRTG output. Works well for both. Might be able to bypass the script server piece for Cacti by doing a GET on the OID directly (SNMP query or SNMP instead of a custom data input method), I haven't tried that yet Regards, Max On 4/13/07, Charles Sprickman [EMAIL PROTECTED

[ANNOUNCE] netdisco-mibs 0.1

2004-11-14 Thread Max Baker
ANNOUNCE: Netdisco-MIBs 0.1 Netdisco-MIBs is a collection of SNMP MIB files from various vendors and standards bodies. Each MIB file is checked for syntax errors and corrected to parse correctly using Net-SNMP. Netdisco-MIBs is designed to be used with SNMP::Info and Netdisco, but can be used