I know it's possible to create an agent and query an SNMP enabled device but i need to create an 2 or more SNMP listener in one PC on different ports so that one PC can have may SNMP listener. So that i can send my own message when an agnent queries. Wel as for my understanding SNMP uses UDP so listening UDP sockets on different ports can i receive requests ? Or are there any restrictions?
Create SNMP Listener (server) using C#
2.9k Views Asked by Navin At
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in NETWORK-PROGRAMMING
- Packet drops in multicast when multiple instance of listner are running
- Get packet that's being routed
- Timing packets on a traffic server
- SNMP :snmpwalk response from NAS timeout issue
- Send Http request at specific time
- Swift - Get device's WIFI IP Address
- Construct and label a uniform graph in NetworkX using dictionaries?
- Diffie Hellman with authentication
- traversing a graph in spark-graphx via edge properties
- Setting proxy for java application
- Java sending handshake packets to minecraft server
- How to use different network interface for signaling & media in WebRTC app?
- Is it guaranteed that an RST packet will be sent when a process terminates?
- Does a process waiting on a network response take cpu/ram resources?
- Python socket stays blocked on socket.recv() when client expects data
Related Questions in UDP
- UDP congestion control in NS2
- Packet drops in multicast when multiple instance of listner are running
- Netty loses udp packets at the beginning of the communication
- iOS "NSLocalizedDescription=Broken pipe" Error For UDP
- lua udp not working between computers
- Issues regarding multiplayer networking: input
- Implementing VOIP over udp, what is the approach to take when the player cannot cope up with received packet's speed
- Detecting incoming port for TFTP data?
- Is Winsock error 10054 (WSAECONNRESET) "normal" with UDP to/from localhost?
- PHP UDP socket memory leak
- What is the effect of the pseudo header in UDP?
- can we open an UDP conection in javascript
- UDP sending and receiving lists
- using Visual Basic 2013 and simple tcp client/server to implement lan game
- Manually send to iperf via UDP socket? (C++)
Related Questions in SNMP
- What is community based authentication in SNMP?
- SNMP :snmpwalk response from NAS timeout issue
- Is it possible to use log4r ( logger for Ruby ) to send SNMP traps?
- Which language and lib is better suited for high-performant network devices polling server (SNMP)?
- Device SNMP Commands
- PySNMP Error InterfaceIndexOrZero Error
- Passing the file data into function
- Local snmpwalk fails with Unknown Object Identifier, but remote works
- Multiple snmp open port
- Showing progress as shell script runs
- Can't receive snmpv3 trap with adventnet
- Compiling Libvirt-snmp on VMware ESXi
- Are there version options for Indy SNMP traps?
- Wrong source IP Address is getting displayed in NMS for net-snmp Traps
- snmp implementation in Qt in Ubuntu
Related Questions in SHARP-SNMP
- SNMPv3 not in time window
- #SNMP - How to compile a MIB file using SharpSNMP?
- Define MIB and send SNMP trap under .net
- Is there a way to know if a device has version 3 of SNMP enabled without the credentials?
- SharpSnmp vs SnmpSharpNet
- Can't compile c# project because of some tuple error when referencing an external dll
- Trouble with SNMP V3 Creating a Server and Client (SharpSnmpLib)
- Receive "Message not in TimeWindow!" when send snmpv3 trap
- SharpSnmpLib SNMP read exception using library SharpSnmpLib
- Unexpected results with value assignment in a foreach loop - sharpsnmplib
- How to use a Name rather than OID in vb.net
- snmp trap listener no message receiving
- how to get sharpsnmp device simulator discovered by SNMP managers?
- #SNMP No contextName in V3 response
- Create SNMP Listener (server) using C#
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you scan the documentation of #SNMP carefully, you should note that under
Lextm.SharpSnmpLib.Messagingnamespace, there is a class calledListenerBinding,http://help.sharpsnmp.com/html/N_Lextm_SharpSnmpLib_Messaging.htm
Thus, for a single
Listenerinstance, you can add multiple bindings, each mapping to an individual port as you wished. That's the quickest way to monitor multiple ports with a singleListener.Of course, you can create multiple
Listenerinstances or even multiple processes. Technically you get all the freedom. SNMP protocol does not restrict on which port should be used, though 161 is the default port number.