What is - SNMP - Simple Network Management Protocol
Simple Network Management Protocol (SNMP) is used as the transport protocol for network management. Network management consists of network management stations communicating with network elements such as hosts, routers, servers, or printers. The agent is the software on the network element (host, router, printer) that runs the network management software. Therefore when the word agent is used it is referring to the network element. The agent will store information in a management information base (MIB). Management software will poll the various network devices and get the information stored in them. RFC 1155, 1157, and 1213 define SNMP with RFC 1157 defining the protocol itself. The manager uses UDP port 61 to send requests to the agent and the agent uses UDP port 62 to s
end replies or messages to the manager. The manager can ask for data from the agent or set variable values in the agent. Agents can reply and report events.There are three supporting pieces to TCP/IP network management:
SNMP collects information two ways:
SNMP must be installed on the devices to do this. SNMP terms:
The network manager can set the threshold of the monitored event that will trigger the sending of the trap message. SNMP enables counters for monitoring the performance of the network used in conjunction with Performance Monitor.
SNMP Communities
An SNMP community is the group that devices and management stations running SNMP belong to. It Simple Network Management Protocol helps define where information is sent. The community name is used to identify the group. A SNMP device or agent may belong to more than one SNMP community. It will not respond to requests from management stations that do not belong to one of its communities. SNMP default communities are:SNMP Security
It SNMP should be protected from the internet with a firewall. Beyond the SNMP community structure, there is one trap that adds some security to SNMP.Other configuration parameters that affect security are:
SNMP Message Types
There are five types of messages exchanged in SNMP. They are referred to by Protocol Data Unit (PDU) type.| PDU Type | Name | Description |
| 0 | get-request | Get one or more variables .(manager to element) |
| 1 | get-next-request | Get next variable after one or more specified variables. (manager to element) |
| 2 | set-request | Set one or more variables. (manager to element) |
| 3 | get-response | Return value of one or More variables. (element to manager) |
| 4 | trap | Notify manager of an event. (element to manager) |
The SNMP message with PDU type 0-3 consists of:
- Version of SNMP
- Community - A clear text password character string
- PDU type
- Request ID - Used to associate the request with the response. For PDU 0-2, it is set by the manager.
- error status - An integer sent by the agent to identify an error condition
- error index - Specifies which variable was in error when an error occurred. It is an integer offset.
- name - The name of the variable (being set or read).
- value - The value of the variable (being set or read)
- any other names and values to get/set
| Error | Name | Description |
| 0 | no Error | OK |
| 1 | too big | Reply does not fit into one Message |
| 2 | no such name | The variable specified does not exist |
| 3 | bad value | Invalid value specified in a set request. |
| 4 | read only | The variable to be changed is read only. |
| 5 | general error | General error |
The SNMP message with PDU type 4 (trap) consists of:
1. PDU type
2. Enterprise - The agents OBJECT IDENTIFIER or system objects ID. Falls under a node in the MIB tree.
3. agent addr - The IP address of the agent.
4. Trap type - Identifies the type of event being reported.
5. Specific code - Must be 0.
6. Time stamp - The time in 1/100ths of seconds since the agent initialized.
7. name
8. Value
9. Any other names and values
Types of data used:
Free Web Templates : Nuvio Templates - Free Web Templates & WordPress Themes
Best PHP email Systems and Forms : PHP Email Systems Script and Programs | Free ready to use Contact me form for your Website | Free PHP contact us form script | PHP Webmasters tools and help | Website Ranking - Rankings - Get Website Optimization basics correct, add great linking strategies and your website rankings will rocket. Most Web Masters lack website optimization service skills, website ranking and website optimization services is our specialty.

