I wrote an application to know the status of the router. Using the program I can able to check one status using by one request. But i want to know multiple status using one request. Is it possible? Could please help? Please see the code
This code will give only one status per request.
InetAddress hostAddress = InetAddress.getByName("**.**.**.**");
String community = "public";
int version = 1 / 0; // SNMPv1
SNMPv1CommunicationInterface comInterface =
new SNMPv1CommunicationInterface(version, hostAddress,
community);
String itemID = "1.3.6.1.2.1.43.11.1.1.9";
SNMPVarBindList newVars = comInterface.getMIBEntry(itemID);