snmp

SNMP Broadcast on Windows

I'm writing an SNMP agent in windows. The agent responds fine simple get and get-next request sent directly to computer's ip address. But when I do a SNMP broadcast, the computer receives the packet but does not anwer that. Why is that? The firewall is off and the antivirus too. ...

Basic questions about SNMP

Hi, I'm learning about SNMP, and writing some applications using it. I have some basic questions about the protocol: Do the agents store its state on the device itself? If there is a trap set on an agent, can you do a poll on the same OID to get the same information? Without using a mib file, is there a way to query a device for all o...

SNMP: ASN.1 MIB Definitions. Referencing a table within a table

Its's been a while since I've written ASN.1 so.. Our data model is comprised of several table definitions within a table. This is not workable in SNMP, so we need to flatten the definitions. The easiest way to do this would be to have the embedded table indexed by the same OID as the parent table. Thus someTableEntry ::= SEQUENCE { ...

net-snmp MIB parse error - "Group not found in module"

When I try to load the Avaya Lannet-Trapsv2-MIB in net-snmp, it is giving the following parse error: Group not found in module (lntSecurityNotificationGroup): At line 1311 in C:/net-snmp/share/snmp/mibs/Lannet-Trapsv2-MIB.txt Group not found in module (lntConfigChangeVarbinds): At line 1311 in C:/net-snmp/share/snmp/mibs/Lannet-Trapsv2-...

Use of DTLS (Datagram Transport Layer Security) with SNMP and Management Systems

Does anyone know if the current crop of SNMP based commercial and open source network management systems (eg, HP OpeenView/NNM, OpenNMS) support the use of SNMP over DTLS (http://tools.ietf.org/html/rfc4347)? Thanks in advance... ...

Ntpd monitoring

Is it possible to monitor an ntpd server running on windows using snmp ( or possibly something else ) I couldn't find any documentation on the subject. I'm interested in any information the server can provide, like current date / time, connection status... All I know about the ntp server for now is that it comes from here I would grea...

How often should network traffic/collisions cause SNMP Sets to fail?

My team has a situation where an SNMP SET will fail once every two weeks or so. Since this set happens automatically, we don't necessarily notice it immediately when it fails, and this can result in an inconsistent configuration and associated wailing and gnashing of teeth. The plan is to fix this by having our software automatically ret...

How to implement mib module in net-snmp with python?

Hi, in the faq, i read this "..the agent can also support MIB modules implemented in perl or (from 5.4) python." I have built net-snmp with python support, but it's not clear yet how to actually implement my own MIB module with python now. The python scripts i see in the python directory are related to implementing an snmp client, not ...

Is it possible to have SNMP Agent without MIB’s support??

hii, i am working on SNMP from last few days,i have develope a small application(SNMP Agent) which * Run on 161 port. * Have a tree structured OID support. * Respond to all Get,GetNext,Set Pdu Request types. * Tested with some SNMP Managers(free available) by get and set the values of the OID's. BUT,now question is when i tried it wit...

How can I dump a loaded mib out of PHP

I loaded a mib into PHP with a ton of OIDs. I'd like some way to dump those out and run through them. I didn't find any way on the php website docs to do that. ...

SNMP from the browser

There"s this idea of having a web app search for devices in the network (with elevated user permissions, of course). Checking the silverlight and flash APIs, there does not seem to be a way to do SNMP ( the UDP APIs are limited to multicasting media ). Anyone know a clever workaround? In windows, a small XBAP utility can do the SNMP ...

Foraward SNMP requests from Agentx Master to Agentx Subagent

I am running an agentx master and an agentx subagent on linux. When I run snmpget on a default MIB i.e. sysdescr.0 it returns fine, but when I request for a MIB that was registered through the agentx subagent it timesout. It appears that the master receives the GET request but does not forward on to the agentx subagent. The MIB is regis...

Definition of SNMP Gauge32 vs Counter32

Can someone point me to a good definition of Gauge32 vs Counter32? I understand that Counter32 can wrap, but Gauge32 can't. I'm trying to understand their semantics. For example, I've heard you should take the difference between two Counter32 readings to get a value/second. Is there something like that for a Gauge32 value? Thanks ...

why cacti is showing empty graph.??.even if rrd file created..

hii, i have develop my own snmp service..and i want to plot a graph of an OID provided. so, i have create graph in cacti. -) Its is showing device up. -) It is creating rrd file.(RRDTool says OK). -) showing the graph but its empty. but when i check it say rrdtool fetch AVERAGE it showing me all the values nan only..the monitored OI...

SNMP: OID to use when writing custom MIBs

If you are writing your own MIB for a bespoke application, is there a 'best practice' for which branch you should use. I'm thinking of something analogous to private IP addresses, that can be used within enterprises, without conflicting with Registered IP addresses I have been asked to make a suggestion, as I advised Application Develop...

SNMP for Local printer??

Hello, I am searching for a way to Get Information from a local printer. Maybe with the SNMP Protocol? The printer is connected with USB or PPI (parallel port). All printers have a internal TotalPagesCount and support SNMP. Here some examples of the Printers: Brother HL1430 Brother HL5150 Brother HL1230 Kyocera 1118 Kyocera 1128 Kyo...

Algorithm of programical building scheme of network by snmp.

Hi. I am trying to write an application that greps some information about network by snmp ptotocol. Almost all is done, but now I need somehow to draw the topology of the network. Is there any algorithm to use for discovery of network topology by snmp? ...

Process-to-port mapping with SNMP and/or wmi/wmic in java

I'm trying to use SNMP to map outgoing ports on my host computer with the application running on the computer that is responsible for that communication. When running "netstat -ano" I get access to Protocol, Local Address (with port), Foreign Address (with port), State and PID. But I want to do this entirely without having to execute "c...

Using SNMP set message on MS Windows SNMP agent

Hi all, State of TCP connection (tcpConnState) is writable per RFC 1213. Everything is fine when i reset this tcpConnState value from established (5) to deleteTCB (12) with SNMP set message with SNMP Agent from DMH software (http://www.dmhsoftware.com/snmp.html). But i cannot perform the SNMP Set command on that variable with Windows S...

Database scheme for strong SNMP data

Hi, I am trying to build a MYSQL DB for storing SNMP MIB information (a small subset of OIDs only).. Is there a DB schema that I may refer to? Thanks, Neel ...