Example
Monitor the average CPU usage on the machine proxy1.mycompany.com by polling its SNMP agent for the srSystemCPUUsageAverage object at ten-minute intervals. Use SNMPv2c requests and the community string public.
Classify the service using the following rules:
- If the machine’s average CPU usage exceeds 98% classify the service as Failed
- Else if the machine’s average CPU usage exceeds 90% classify the service as Marginal
- Else the service is Good
To implement this task:
- Create an OID group named Average CPU Usage and an OID
for the srSystemCPUUsageAverage object using the values in Table 1.
Table 1. OID group configuration OID Field Name
Value
Group Name
Average_CPU_Usage
Value
srSystemCPUUsageAverage.0
Name
Avg_CPU_Usage
Unit
%
- Create an SNMP profile element and set the configuration as shown in Table 2.
Table 2. SNMP profile element example Profile element configuration field
Value
server
proxy1.mycompany.com
objectgroupname
Average_CPU_Usage
communitystring
public
version
2
Service level classification details statement
If (Avg CPU Usage > 98) then status Failed else if (Avg Cpu Usage > 90) then status Marginal else status Good