snmp Questions
1
I'm attempting to create a sample application utilizing Microsoft's WinSNMP library to create an example of a trap. See the code sample below:
//Send a trap;
LPSTR strSrcAddr = "10.12.0.21";
LP...
1
Solved
I'm about to embark on a project where I need to create an SNMP Agent via C#. I've never worked with SNMP, so I plan on using an existing library/API such as SharpSnmp or SnmpSharpNet.
I'm fishing ...
Blade asked 31/5, 2012 at 21:35
1
Solved
I have a question about ifAdminStatus and ifOperStatus. Here is an output of my network interfaces state using ifAdminStatus:
snmpwalk -Os -c public -v 1 192.168.1.1 1.3.6.1.2.1.2.2.1.7ifAdminStat...
Numen asked 20/5, 2012 at 14:41
1
Solved
I am trying to send trap messages via SNMP.
The examples on the net mention the setting of 'sysUpTime' value, but they lack in explanations. Which is the role of sysUpTime in this context?
Thank ...
Rochester asked 14/5, 2012 at 14:27
4
Solved
Are there any libraries, (third party is fine) that can help do network auto-discovery using SNMP and .NET?
If not, have you ever rolled your own?
Georgettageorgette asked 24/9, 2008 at 19:12
1
Solved
I've written an AgentX app (Linux, gcc, g++) which works well at sending back scalers. Here is what I'm doing now:
init_agent( "blah" );
netsnmp_register_read_only_scalar( netsnmp_create_handler_r...
1
Solved
I'm looking for a snmp server for windows, are there any free (or at least working trial version) ones, I can only find clients?
I know I could install the windows snmp service but here at work it...
3
Solved
Using the pysnmp framework i get some values doing a snmp walk. Unfortunately for the oid
1.3.6.1.21.69.1.5.8.1.2 (DOCS-CABLE-DEVICE-MIB)
i get a weird result which i cant correctly print he...
1
Solved
1
Solved
endOfMibView is an SNMPexception, right? if endOfMibView occurs in SNMPv3, what will be the value of the error-status parameter in the PDU? Is there any RFC regarding this matter?
In SNMPv1, "noSu...
Lacombe asked 20/12, 2011 at 0:53
4
I'm current working on a program that scans my network and discoveres computers and devices on the network. I use various operations to find data on the devices I discover, but want to distinguish ...
Vino asked 23/6, 2011 at 13:44
1
Solved
There is a socket method for getting the IP of a given network interface:
import socket
import fcntl
import struct
def get_ip_address(ifname):
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM...
Duggins asked 11/10, 2011 at 19:28
1
Solved
I am using the net-snmp C library on Windows. I want to parse trap-related information from the MIB files.
I need some sample code to do this. I didn't find anything useful on http://www.net-snmp....
1
Solved
I am using some SNMP traps for monitoring of applications. Now I was told that some monitoring systems might have problems if the order of the attributes within the the traps was not the same as de...
Conspicuous asked 11/8, 2011 at 14:59
1
Solved
When running multiple JVMs on a single machine (single IP address as well), incorporating JMX in each JVM requires a separate port. For reasons I won't get into configured ports are at a premium in...
1
I try write some code to retrieve objectID and the result is 2B-06-01-04-01-82-31-01-03-01-01.
Isn't this value correct?
// Send a SysObjectId SNMP request
response = conn.get("get", argv[0], argv...
1
Solved
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 , dow...
1
Solved
How do I collect bandwidth usage/utilzation on devices/switches. From what I understand there are systems that do something like this. They seem to all have snmp in common.
I am looking for imform...
Subbasement asked 9/3, 2011 at 23:3
2
Solved
Currently i use the following to figure it out:
For total memory:
.1.3.6.1.2.1.25.2.2.0
For used memory i walk the following oid (gives me usage of each process):
.1.3.6.1.2.1.25.5.1.1.2
a...
3
Solved
Mapping some OIDs to system commands is actually all I need
However, I could not find yet a resource which explain how to compose such thing.
Any idea?
1
Solved
I'm writing an SNMP manager and a simulated SNMP agent from a MIB (to test a manager). I have a table similar to below that the manager should be able to add/delete rows. What's the customary way t...
2
How can I get the syntax type and read/write access for an OID using NET-SNMP API?
I am writing an SNMP tool that reads and sets values on a remote machine using SNMP protocol. Before setting the ...
2
Solved
I am using Delphi and I want to determinate the physical MAC address of a network device in my network, in this case the Router itself.
My code:
var
idsnmp: tidsnmp;
val:string;
begin
idsnmp :...
Urinal asked 29/12, 2010 at 0:36
4
Solved
I am working on Debian and I have this server we want to monitor.
The application is ours and there are around a hundred real-time counters we want to export for monitoring purposes, graphs and ala...
4
Solved
What's an easy to use SNMP client library for c++?
© 2022 - 2024 — McMap. All rights reserved.