Hello,
I am getting this error message with this code snippet:
$ENV{'MIBFILES'}="CISCO-FC-DEVICE-ALIAS-MIB.my";
$ENV{'MIBDIRS'}='/usr/local/share/snmp/mibs';
my $vars = new SNMP::VarList(['cfdaConfigTable']);
my $result=$session->gettable($vars); <--- this is
the sta
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 => 'authNo
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 Virtuali
You could use the proxy statement which is documented in the
snmpd.conf man page.
On 9/6/10, Michala Srnova 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 tested it by manage
Thanks, Wes!
- Max
On Tue, Jun 22, 2010 at 11:01 AM, Wes Hardaker
wrote:
>>>>>> On Sun, 20 Jun 2010 17:37:41 -0400, Max
>>>>>> said:
>
> M> When I hit edit on that page all i see is the question itself and a
> M> few wiki links in the edito
ion itself 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
--
Thi
On Fri, Jun 18, 2010 at 2:52 PM, Dave Shield wrote:
> On 18 June 2010 17:13, Max 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, yes.
Thank you.
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 inc
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 t
On Fri, Jun 18, 2010 at 11:03 AM, Joan Landry
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 and WIRED's GeekDad team up for
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 t
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, Mahmmoud
having to upgrade every host to the sunfreeware.com build
as the SMA version behaved poorly (Sun had included 5.0.9), especially
(and ironically) with Solaris zones.
Max
On 4/4/10, zineb swidnane wrote:
> Hi,
>
> I hope that some one can help me.
> I'm trying to monitor Solaris
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
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 wrote:
> I have several monitoring scripts that pull SNMP stats off of switches and
> routers that I have used for th
r script that
will return a table or 10 scalars.
- max
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take B
but if anyone 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 BlackBerry® De
Follow up .. GDB output:
0 0x006fe285 in memmove () from /lib/libc.so.6
#1 0x00cc1b22 in snmp_set_var_value (vars=0x95d19d0,
value=0x1 , len=10) at snmp_client.c:895
#2 0x00cf1caa in snmp_varlist_add_variable (varlist=0x9583300, name=0x0,
name_length=0, type=4 '\004', value=0x1 , len=10
he agent:
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\
SNMP with commercial apps you
will encounter strange behavior 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,
sure if I point 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:
Can
I use the same user 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 confi
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...@
I tried to delete the usm user so I 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: Tu
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.
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.
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-- INTEGE
tions into, and out of my network segment.
Small correction, many 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
.
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
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
>
n;
}
I think 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. Micros
nstantly eating more).
> Can 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
--
/ hard 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
f the more popular ones that are typically
used with SNMP:
* Cacti - www.cacti.net
* Nagios - www.nagios.org
* OpenNMS - www.opennms.org
- Max
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't mi
t; routine 'netsnmp_cpu_arch_load'.
>The contents of these are basically the same as those from the
> earlier 'mibgroup/ucd-snmp/vmstat*.c' files.
Thank you very much!
- Max
-
This SF.net email i
olaris and Linux variants 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/v
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
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 I
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
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 -
lt;[EMAIL PROTECTED]> wrote:
> BS>> You missed my point - which is what I get for being (sort-of)
> sarcastic.
>
> Max>I didn't, I said it was a huge undertaking and it is, no doubt.
>
> Max>I also think it is a worthwhile one, it may be a long term effort to
>
latforms / setups would give 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 f
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 ext
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 t
uplex 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
&
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
TOD
e LMF) that can be packaged with your agent 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. Micro
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 librarie
3.1.1.1.66 = STRING: "r:0 b:0 si:0 so: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
--
c task 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 &l
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 f
53 matches
Mail list logo