This project implements an SNMP manager, authentication system, and client-server architecture using a combination of HTML, PHP, Java, Servlets, and JSP. It showcases how SNMP data can be managed and displayed interactively and how authentication can be integrated using Java-based HTTP communication.
-
System Group Display:
- Displays all items in the SNMP System Group except "System Services".
- Allows editing the last three items of the System Group.
- Ensures Read and Write community access for SNMP updates.
-
Data Tables:
- Page 2: Displays the UDP Table.
- Page 3: Displays the ARP Table.
- Page 4: Displays the TCP Table.
-
Navigation:
- Includes navigation links for Next, Previous, and optional Main Page.
-
Authentication:
- Servlet:
- Receives user ID and Password.
- Responds with either
PermitorDenybased on stored credentials.
- JSP Page:
- Receives Name and Password.
- Responds with either
PermitorDenybased on stored credentials.
- Servlet:
-
Client Application:
- Developed using Java.
- Provides text fields for Name, ID, and Password.
- Features buttons:
- Verify1: Sends ID and Password to the Servlet.
- Verify2: Sends Name and Password to the JSP Page.
- If both responses are
Permit, the client is allowed to fetch SNMP data.
-
SNMP Data Retrieval:
- Buttons to fetch specific data for each page:
- Page 1: Fetches System Group data (editable for last three items).
- Page 2: Fetches UDP Table.
- Page 3: Fetches ARP Table.
- Page 4: Fetches TCP Table.
- Communicates with PHP pages via HTTP requests.
- Buttons to fetch specific data for each page:
-
Servers:
- XAMP/WAMP for hosting PHP pages.
- Tomcat Apache Server for hosting Servlet and JSP.
-
Backend:
- Pure PHP pages for SNMP data retrieval.
- Java Servlet for authentication via ID and Password.
- JSP Page for authentication via Name and Password.
-
Frontend:
- JavaScript (AJAX or Fetch API) for dynamic data fetching from PHP backend.
- HTML for client-side display.
-
Client-Server Communication:
- The client application sends HTTP requests to the PHP server to fetch SNMP data after successful authentication.
-
Server Configuration:
- Set up XAMP or WAMP server for PHP pages.
- Configure Tomcat Apache Server for Servlet and JSP.
-
SNMP Configuration:
- Ensure SNMP agent is configured on the target system with read-write access.
-
Java Client:
- Run the Java client application.
- Enter credentials and verify via Servlet and JSP.
- Fetch SNMP data upon successful authentication.
-
Editing SNMP Data:
- Use the provided interface on Page 1 to modify the last three items in the System Group.
-
Includes:
- All source files (HTML, PHP, Java, JSP, Servlet).
- Required configurations.
- Optional: Video demonstration (if required by the instructor or TA).
-
Collaboration:
- Project can be done individually or in groups of 2.