snmp

Java real-time service monitoring framework

Got to create some kind of "counters" for online service monitoring - i.e. Foo_Request_Total, Foo_Request_DB_error, Foo_Request_Timedout, Bar_Request_Total,... Also, some kind of alarm has to be generated when counter passes a pre-defined limit (for example SNMP trap if more than 5 requests per hour were timed out). Could you suggest ...

Experimental/private branch for OID numbers in LDAP Schemas?

Attributes or object classes in LDAP schemas are identified through a unique number called OID. Moreover OIDs are also used in the SNMP protocol. Everyone can apply for an enterprise number by the IANA and then define his own subnumbers. But the processing of the application can last up to 30 days. Does anyone know if there is a "test" ...

SNMP devices emulation

Hi Folks, We have network management system under linux, C/C++, perl and we need to test performance of this system. Is there a tool or way that would allow us to emulate 50 000 SNMP devices? I don't know what more to say here... Please let me know if I should provide more information. Any idea is appreciated. Thank you Bogdan ...

SNMP MIB Visualizer recommendations?

Are there any free visualization tools for MIBs? I've been assigned some SNMP trap normalization/enrichment work and been given Cisco ONS 15454s to start with. The MIBs seem more complex than others I have seen. Lots of object cross-references, including some to objects that are defined in other MIBs and exported. A quick example of ...

monitoring MySQL programmatically? SNMP?

I've been asked to see if we can monitor the "health" of mysql server in some way. The proposal was that there might be snmp support (this is for version 5.0.x). I was not able to find definitive information on it - A link to a reference would be great. The real issue is to get periodic information on the "health" or status of mysql. ...

.NET to J2ME

I have a .NET class that implements the SNMP protocol and I've been asked to port it to J2ME. Would I just create Java class and redist as a compiled .class file for the J2ME developers to use or is it more in depth than that? ...

Introduction to SNMP monitoring

I've been tasked with writing a monitoring program for my company's server software that integrates with zenoss via snmp. To be brief, I can't get anything up off the ground. I think my first goal is to figure out the correct way to write an snmp agent (in any language to start, although it will eventually be in java). Are there any g...

Difficulty with netsnmp: using snmpget and logging errors to STDOUT

In the man page I see the following: -L LOGOPTS Toggle various defaults controlling logging: e: log to standard error o: log to standard output This excites me very much because I'm in a situation where it would be advantageous for me to capture errors from STDOUT rather than from...

How can I read an SNMP MIB file in c#?

How to read a MIB file(.Mib file) using c#.net ...

Monitor JRockit JVM via SNMP

I would like to monitor my Java application (running in JRockit) via SNMP protocol. I only need some basic informations. Is there any startup parameter that I can add to my app to enable SNMP? ...

SNMP v1 - Agent IP

Hi, I'm sending SNMP traps using Net-SNMP utils (5.3). I'm setting the agent to a valid server IP but the NMS is receiving the trap as if it was a trap for the server generating it and not for the other server that I'm using in the agent field . I'm totally confused as to why this would be happening, other servers are using the same pac...

How to register a new MIB module?

Hello all! For those who have tried using the net-snmp library, how do you add a new mib module? What I so far did was generate a template newmodule.c and newmodule.h files using the mib2c command. Now, I don't know where to place the init_newmodule() function to register the new mib during start up of net-snmp application? Thanks! ...

Why is Net::SNMP trying to load the wrong libnetsnmp.so?

Hi, I created a Perl script and tested it on a couple of servers running Net::SNMP 5.3.1-19, but now I'm trying to run it on a different server and I'm getting the following error: Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: libnet...

Net-SNMP varibles using C++

I am having trouble with a few of the variables that the Net-SNMP library provides, specifically the ability to capture in/out Octets. In/OutOctets Issue: I have another check for ASN_INTEGER and I am catching this oid put the output does not seem to be correct. I am using *vars->val.integer and pushing this into a long but I am current...

SNMP MGMT.MIB-2.HOST Missing

Hi All, Forgive me if the answer is something glaringly obvious but I just can't seem to get access to any OIDs under the HOST branch in SNMP. I've used an SNMP browser to inspect a few of my systems and none of them show a HOST branch under ISO.ORG.DOD.INTERNET.MGMT.MIB-2. Any thoughts as to why? I'm looking to monitor a few computer...

SNMP performance under Vista

I have a problem I've run into with something I original wrote for Win2k, etc that monitors the connection speed using SNMP (SnmpExtensionQuery). On all of the previous versions of Windows, you could query it once a second and get new data - but now if you run the same application on Vista, it only updates once every 10 seconds. Is the...

How can I parse a raw SNMP trap in Perl?

A few weeks ago I wrote an SNMP relayer for our ops group. They have some dumb devices that can only send traps to a single IP, and we have a monitoring system that listens on multiple IPs for availability. The code's dead simple, and essentially: while (recv($packet)) { foreach $target (@targets) { send($target, $packet); } }...

SNMP vs Performance Counters

I have been using windows performance counters from .NET for a while. I am not too happy with them and am wondering if there are alternative ways to dump out information from the app for collection by a tool/subsystem that: 1 - shows the current value of certain counters (like the Report mode of performance counters) 2 - shows the value...

How do I receive SNMP traps on OS X?

I need to receive and parse some SNMP traps (messages) and I would appreciate any advice on getting the code I have working on my OS X machine. I have been given some Java code that runs on Windows with net-snmp. I'd like to either get the Java code running on my development machine or whip up some Python code to do the same. I was able...

How to monitorJVM and Applications using SNMP

I understand that JVMs can be managed using SNMP and JVMs come with support for JVM-MANAGEMENT-MIB. Is there a way to program/extend the SNMP AGENT functionality which is associated with a JVM? Is there a way to add support for any other proprietary/standard MIBs to the SNMP Agent on JVM, so that I can allow my applications running on ...