17 december 2009 group 1
DESCRIPTION
Design and Initial Development of Prototype Demonstration of an SNMP Manager & Agent for Monitoring Web Server. 17 December 2009 Group 1. Developers: Peter Hannon Brian Walshe Researchers: Arnav Aggarwal Paul Gildea PM: Paul Soprovici. Objective. - PowerPoint PPT PresentationTRANSCRIPT
17 December 2009
Group 1
Developers: Peter Hannon Brian Walshe
Researchers: Arnav Aggarwal Paul Gildea
PM: Paul Soprovici
Objective
Design an SNMP Manager & Agent for Monitoring Web Server
SNMP ModelManager
Set Get Get Bulk
Agent Trap
Management Information Base
An SNMP-Managed Network Consists of Managed Devices, Agents, and NMSs(http://www.cisco.com/en/US/docs/internetworking/technology/handbook/SNMP.html#wp1022871)
Design
SNMP – used by the manager to communicate with the agentManager – SNMP4J LibrariesAgent - AdventNet SNMP Agent Toolkit for JavaAgent to Web Server communication through JMX (Java Management
Extensions) calls
Design -2What to monitor?
Set: restart the server Enable/disable http port Set connections per second threshold
Get: Hostname/port Uptime Connections per second/ threshold Heap memory usage
Get bulk Servlet table
Trap: Connections per second threshold exceeded
notification
Implementation - Manager
SET
GET
TRAP
GET BULK
Implementation - AgentMIB: designed in AdventNetAgent: generated in AdventNet
1.3.6.1.4.1.1.5.3
EvaluationComparison of the values returned by Gets
and Get Bulk with JConsoleSets have the expected resultsThreshold and Traps
Use Python to generate multiple requestsfrom urllib import urlopen
import timefor i in range(1000):
urlopen("http://localhost:8080")time.sleep(0.01)
If connectionsPerSec > connectionsThreshold
TRAP
Conclusion:
DEMO