snmp

Help finding SNMP ODI's for Windows

I am setting up some monitoring on some Windows infrastructure and am having problem locating the ODI's that I am after. Effectively what I need are the ODI's for the following 1) % of CPU utilisation (either used or free). 2) Disk Free 3) % of Free Memory (or bytes) I am doing my testing on XP but will be deploying to 2003/2008. ...

Reference for Net-SNMP API?

I'm currently developing a monitoring application for some in-house hardware using net-snmp. I have code that somewhat works, when calling snmp_pdu_free() my code segfaults. I am creating the pdu struct with snmp_create_pdu(). I would like an API reference to see if I am in fact writing my code correctly, but I haven't been able to find ...

How to send SNMP trap to different IP

I have the an ASCII message of SNMP traps, how can i sent it to different IP address? i dont want to use email instead. Given a IP address and the port, of that receiver machine. PLease tell me the solution or where can i get references to the command at least. coz i could find anything regarding it. PLease...Hope someone can help me.....

What are the child OIDs in an SNMP trap?

I have inherited a MIB and example documentation, and need to re-implement the code that generates traps. (For various reason the original code is lost and gone forever, but CM is not my question.) The MIB says: alertObjects OBJECT IDENTIFIER ::= { corpAlert 1 } alertEvents OBJECT IDENTIFIER ::= { corpAlert 2 } alertDispa...

Make a PHP site send SNMP information to a network management app

Hi, I'm trying to make a PHP website send information through SNMP. I've been reading allot about SNMP, but I'm still a bit clueless about where to start. I believe I need to create an MIB with all the OIDs my website will use to send the info. Is this correct? How and where can I define those variables (OIDs)? Can someone point me in ...

Custom SNMP Trap Implementation in .Net

I need to create a monitoring mechanism using SNMP (in .Net). I think we'll be using an nsoftware component to handle most of the work. It appears we must use 'traps' to communicate from the agent to the server. We'll have a number of different traps and various information detailing each trap. What is the best way to implement cust...

NoAccess error in snmpset

Hi, I have a MIB object with read-write permission. MIB section looks like this: EnableHalt OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "implemented in NetSnmpcodsMr.c file." DEFVAL { 0 } ::= { Scalars 4 } When I do a set on this object I get: sudo snmpset -v 2c -c public localhost 1.3.6.1.4.1.8072.2....

Ordering of MIB

I am having one MIB SAF-CKPT-MIB When I am trying the command snmpget -v2c -c public -mALL (IP_address) SAF-CKPT-MIB::saCkptCheckpointMaxSectionSize.14.118.100.115.95.118.100.101.115.116.95.100.98.95.49 SAF-CKPT-MIB::saCkptNodeReplicaType.14.118.100.115.95.118.100.101.115.116.95.100.98.95.49.14.115.97.102.78.111.100.101.61.83.67.95.50...

Need to mimic a router to test a SNMP monitor

I just picked up a job where I'm to make some changes to a custom built SNMP monitoring daemon and test it. The code changes to the daemon are quite simple, the trick is going to be testing it. Are there any tools out there that will mimic an SNMP enabled router? I'm only tracking traffic usage, so I'd suspect that I could write somet...

Implementing an SNMP Reporter (agent) in C# (must run on Mono)?

Hi, I am attempting to implement some additional statistics gathering in a C# server application - I have about 20 or so variables I'd like to be able to report to network monitoring tools; so I am assuming (hopefully correctly) that SNMP is the correct way to go. There are however two problems: The application is an open source serv...

Simple self-contained SNMP Agent example? (java/c# ideal)

After not having a whole bunch of luck finding any SNMP libraries for .NET that can act as SNMP agents (that can be used in an OSS project - meaning proprietary libs are out), I am now looking at implementing a simple SNMP agent class in C#. Can anyone provide any good examples or reference implementations of an SNMP agent (ideally nice...

SNMP OIDs Documentation

Hi there, I am looking for documentation on SNMP IODs return values. For example, the MIB IBM-SYSTEM-HEALTH-MIB 1.3.6.1.4.1.2.6.159.1.1.30 , it provides information on temperature, voltage, and fan status. 1.3.6.1.4.1.2.6.159.1.1.30.3.1.2 provides information on Current State. However, I am not sure what the return values 0 and 3 mean...

Object Oriented module/definition for networking devices/topology ?

Is there any module/definition available for a class/schema for representing the topology, connection, access details etc of networking devices ? The intent is to use this for automation, and to manage routers/servers as objects rather than as tcl keyed lists/arrays which gets unwieldy. ...

SNMP in Java, specifically to be JMX adapter.

Hi, I have a few JAVA application that I monitor using JMX. I would like to write an SNMP client for these applications that wraps the JMX interface and by discovery exposes the same attributes that are exposed in JMX, through SNMP. I have no problem writing the client if I just figure out how to write SNMP clients in JAVA. Is there a...

how to send net-snmp traps from "C"

Hi, I need to write code to send traps from my application (using net-snmp APIs) Anyone has a simple sample code to do that? Thanks, Gil ...

snmp and platform specific information

I need to come with a strategy to use gather information about the health of my linux platform, hardware health such as high CPU temperature and may be disk space usage, etc... I know my examples are not very good ones. Essentially, I have an SNMP agent running on Linux and I need it to provide platform specific health and state informa...

opensource network monitoring tools developed in java

Hi i want to know the best opensource network monitoring tool developed in java with very good support via forums and which should have the following features .. Fault and Alert mgmt Performance Poll graphs inventory mgmt config management ...

Can two or more SNMP agents be run on the same port (on the same machine)?

Hi, Just a technical question - Can two or more SNMP agents be run on the same port (on the same machine)? My first instinct would be no since host:port identifies an instance of an application but I'm not sure. Thank you! ...

Trying to understand what snmp4jAgentJMX does and if it suits what I need.

Hi, I been trying to write an snmp wrapper agent for my JMX Enabled application which will translate all the information that is layd out in JMX MBeans into SNMP attributes. I'm a bit at loss in trying to understand where to start and what to use. From what I've read, snmp4j is probably the go to snmp library for Java but I couldn't man...

SNMP on AIX 5.3

I need to monitor a system with AIX 5.3, but can't find a good source for the OIDs. Does anybody know the OIDs for CPU, Memory and Harddisk values? ...