简体   繁体   中英

Connecting two computers via SNMP4J

I recently started to learn about snmp. I studied what it is and some open source codes to have a basic idea about how it works. Yet, I am still a beginner. My question is that is it possible to have a connection between two computers (Windows 8 as host and Ubuntu 14.04.01 LTS as guest on Virtualbox) using snmp4j? I tried to find a guide for similar action but i couldn't find. If anyone can show me a guide I would be happy.

Thanks in advance.

// Edited my answer to be more SNMP4J focused.

Yes.

Install a agent on one machine and interrogate it from the other.

Quoting SNMP4J The SNMP4J Command Line Tool (CLT) can be used to send SNMPv1/v2c/v3 requests and traps to a target using UDP or TCP transport using IPv4 and IPv6 (if available on the used platform). SNMP4J also have a SNMP4J-Agent sources and binaries are freely available at same page.

In parallel perhaps also install NetSNMP and install its agent on one machine, and interrogate it from the other machine, using snmp-walk etc commands.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM