snmp

Good Open Source SNMP agent for an embedded device

Hi, we are trying to assess some good open source snmp agents to embedded on a device. Any recommendations which are time tested and robust? -Sathia ...

Java Getting Name/Description for OIDs in MIB

Hello, I am programming a network management system, and need to be able to print out meaningful names behind the OIDs that are received from SNMP traps. Due to the nature/size of this system, it would not be a good idea to manually map every OID to a meaningful name for every MIB on every device that is being used. With that said, is ...

SNMP Mapping Mac Address to Switch Port

Hi there, I work at a datacenter and I'm in the process of writing a php tool that maps all of our devices and can tell us if what is out there is what is being billed for. It first pulls a huge list of macs and their ips from both of the cores into a temp table. Then, it loops through all of the racks* and attempts to find which port ...

How to measure a Website Bandwidth (Upload+Download) in MB using C#/VB.Net programmatically?

Hi all. Hope that everybody is fine here. I am writing a windows service in C#/VB.Net that aims at measuring bandwidth consumption for all WebSites on localhost and store their statistics for upload , download etc on local/remote database. Target Platforms include only Windows Server 2003, 2003 R2, 2008 and 2008 R2. I have searched ...

netsnmp 5.2.3 documentation

I was looking for the documentation of net-snmp 5.2.3. I was keen to have a reference of the APIs and the data structures. Could someone share me this info if you have ? I am aware that 5.4 is the latest and the greatest. ...

board with webserver, email, snmp

I am looking for board, module, kit for our new project. requierments: necessary: IP interface IPv4/IPv6 DHCP, StaticIp, ICMP(Ping) SNMP V2, V3 HTTP, Webserver Email good to have: Telnet SSH SysLog There are two ways: complete controlled modul + master(some 8-bit with rs232, spi, ..) I've found this http://www.connectone.com...

Monitoring a Apache Karaf/OSGi application via SNMP

We are building OSGi (particularly using Apache Karaf on Equinox) applications that need to be delivered into customer environments that commonly employ SNMP based monitoring tools. Can anyone suggest a cost effective (Open source is ideal, but has to use a license that we can ship as part of our commercial offering) framework/package th...

snmp, how to retrieve ip connected to the router with MIB-II

Hi all, I want to create a program that acts as manager and that queries the router (or sets a trap) to obtain the list of ip connected to it. My router has these functionalities: SNMP v1, v2c, built-in MIB-I, MIB-II agent. Is it possible to retrieve these informations quering the MIB-II agent of the router in a standard way (not vendor...

How to create own snmp simulator using snmp4j agent?

Hi there.. As per title, I want to create a snmp device agent simulator. Now, in my hand, I have a text file containing a bunch of oids and its value (via snmp walk). I would like to add all this into the simulator as statics oids. I did create one simple function to test whether it register this oid (I think its correct). But so far,...

How to receive and decode SNMP traps in a C (or C++) application?

I am trying to write a very small SNMP trap receiver, listening to UDP port 162. Traps come in fine, but I can not decode them. I have found libber, but it can't decode the traps for some reason. I am probably using it wrong. I imagine decoding an SNMP trap should be fairly simple and that I am missing something crucial. Is it possibl...

snmp agent libraries for C/C++?

I have to implement a performance statistics MIB for a linux based device and I am looking for a good agent development library. I came across net-snmp and agent++ libraries. I am looking for easier to understand and robust library. Which is the best library if usability and robustness is main criteria? ...

Can STP OIDs be used to determine the structure of an MSTP?

Hello, Can I use STP OIDs (like dot1dStpDesignatedRoot)? How does it know which tree I'm talking about? Different communities? Do I need to find separate MIBs for MSTP? Thanks! ...

Is there an SNMP appender for log4net?

Please read carefully, I'm looking for an SNMP (not SMTP) trap appender for log4net. Log4j has an SNMPTrapAppender and I have not seen an equivalent for log4net. Does anyone know of an appender that already does this? ...

unable to receive response from snmp port

Hi, Iam using snmp to access the remote system data.But according to the requirement iam encoding the snmp request data to OAMPDU packet format and sending to remote system.the remote system receives the OAMPDU packet,decodes it and is sending the snmp request to snmp agent through UDP socket which is bind to port 161.but iam unable to r...

How to stop SNMP from running automatically on Windows boot

I would like to stop SNMP from starting with Windows (WinCE 6.0 x86). I would then like to load it later at my convenience. Currently my registry settings are as follows, I tried Flags=4 but that didnt work either, neither does Keep=0. (MSDN Documentation). [HKEY_LOCAL_MACHINE\Services\SNMP] ;"Flags"=dword:4 "Keep"=dword:0 W...

JBoss MBean service can't be stopped normally?

I'm trying to build a service that can be start and stop automatically when start/stop jboss. The following is the service structure of my service: public class SnmpAgent extends ServiceMBeanSupport implements SnmpAgentHandler,SnmpAgentMBean public interface SnmpAgentMBean extends org.jboss.system.ServiceMBean And my jboss-service.xml...

Restart Jboss will get error when I added my created service(MBean) to jboss deploy route

I created one service(MBean), I thought it could be start/stop normally. I have my MBean in the structure as my previous problem had said: http://stackoverflow.com/questions/3177569/a-created-jboss-service-cant-be-stop-normallymbean But today, I found the created service will get error when restart jboss. First, the created service (a s...

snmp-adaptor problem: why the packets of community is not conformed between snmp client and snmp agent

Now I configured snmp-adaptor of jboss community to get/send snmp trap. I modified the ReadCommunity attribute of jboss-service.xml. That is I set the password to get/send trap. And I found the new ReadCommunity really works. I will get snmp trap only when I used the new ReadCommunity to query. But when I capture the packet send between...

Exposing application specific counters via JMX/SNMP

Certain real-time features of the server application I'm working on would benefit from exposing counters to a Network Management System. I am thinking about a solution where I am using the JMX API from a Java application and via some configuration/magic/libraries can expose this information as SNMP data. Back in the old days, JDMK di...

Getting started with SNMP4J

I need to make an agent in SNMP4J, but the documentation on how to get started is pretty poor. Does anyone have any experience with SNMP4J and could give me an idea on how to get started? Thanks. ...