Hyepric allows you to receive and record SNMP messages sent from remote network management systems or devices that support SNMP. You can also define alarms based on received information. This configuration process includes configuring the HQ agent and a network system or device that communicates with each other. You also need to create a platform of the network device type to indicate the remote system or device.
Select and enable a HQ agent for receiving traps
When you configure a network device platform, you must specify the connection information of a hyperic agent. The agent receives SNMP data and can receive traps.
By default, the HQ agent receives traps from port 162, which is a privileged port. Therefore, the HQ agent should run as root or be an administrator of windows.
To configure a non-authorized port to receive traps, follow these steps:
Step 1,Open the agent. properties file in a text editor;
Step 2,Add the following content:
snmpTrapReceiver.listenAddress=udp:0.0.0.0/1620
Step 3,Restart the hyperic agent;
This setting allows the hyperic agent to receive traps sent from UDP port 1620 of all network interfaces on the platform. You can specify the IP address or other non-authorized port (greater than 1024) of a specific network interface as needed ).
You can use netstat to check the port status.
Configure trap Generator
Step 1,In an SNMP-enabled system or application, set the hypeic agent as the destination for receiving traps.
Step 2,Provides the SNMP listening address and port of the hyperic agent, the default connection information, or the information configured above.
Create a proxy platform for trap data
In hyperic, monitored remote resources are represented as a platform. The following process creates a platform for a remote device or Host:
Step 1,Select "new platform" from the "tool" menu ";
Step 2,Enter the platform name;
Step 3,Select "network device" from the platform type drop-down list ";
Step 4,Enter the FQDN of the network device or host;
Step 5,Select the agent connection from the drop-down list. You must be able to connect to the SNMP port of the device or host;
Step 6,Enter the IP address of the network device or host;
Step 7,Subnet Mask or MAC address of the device or server, which may be required by the monitored device;
Step 8,Click OK. The new platform is displayed in the resource (inventory) tab window;
Step 9,Click "edit" in configuration Properties"
Step 10,Select Interface. Index to uniquely identify the interface service. Most devices use the default value (ifdescr ).
Step 11,Provide and confirm snmpip, snmpport, and SNMP community string.
Step 12,Select the snmpversion corresponding to the device;
Step 13,If you use SNMP V3, it is very likely to be used for verification. You need to enter username, password, and Auth type;
Step 14,Select the Enable log tracking check box;
Step 15,Click OK;
Solve configuration problems
Problem
SNMP configuration not accepted
Solution
1. Check the IP address, SNMP port, SNMP Version, verification settings, and other information;
2. Check that the network between the selected hyperic agent and the monitored device is accessible, especially when the port access is smooth;
3. Ensure that the community string used by the proxy platform is consistent with the community string used to send the trap. If they do not match, the trap will not be sent to the proxy platform and may be forwarded to the default platform. If the default platform enables the log tracking function;
Check the hyperic agent log file to make sure that the UDP port of the agent is enabled. If the configuration is correct, you will see something similar to the following:
2008-06-05 16:45:05,447 DEBUG [SNMPTrapReceiver] snmpTrapReceiver.listenAddress=udp:0.0.0.0/16202008-06-05 16:45:05,572 DEBUG [SNMPTrapReceiver] Add 1:10003 for 10.2.0.2-switch
Welcome to hyperic Free Edition http://www.innovatedigital.com/download/hyperic_index.asp
This article is from the "hyperichq application monitoring" blog, please be sure to keep this source http://hyperichq.blog.51cto.com/1250795/1554620
How to configure hyperic SNMP Trap aggreger