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
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 =
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
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
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
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
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
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
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
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
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
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,
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
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
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
.
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
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
:
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
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
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
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
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
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
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
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
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
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--
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
: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
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
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
50 matches
Mail list logo