A sample alertconfig.txt definition is shown below.
Refer to the detailed screen when you set the size of the threshold.
############################################################################### # The following examples check the free space on all disks reported in 1018 records. # The thresholds are a warning for less than 200MB and an error for less than 150MB. #AlertId1,1018,free1018,*,FreeSpace,00:00:00,00:00:00,1,1,200000000.0,150000000.0,< 1,1052,usrproc1052,Total,UserCPU,00:00:00,00:00:00,1,1,80,95,> 2,1052,sysproc1052,*,SysCPU,00:00:00,00:00:00,1,1,80,95,> 3,1053,freemem1053,*,MEMORY,00:00:00,00:00:00,3,6,300000000,0,< 4,1053,freemem1053,*,MEMORY,00:00:00,00:00:00,1,1,50000000, 50000000,< |
Explanation
Issuing a warning if the CPU usage in user mode exceeds 80% even once, and an error message if the CPU usage exceeds 95% even once
1,1052,usrproc1052,Total,UserCPU,00:00:00,00:00:00,1,1,80,95,> |
Issuing an error message if the CPU usage in system mode exceeds 95% even once
2,1052,sysproc1052,*,SysCPU,00:00:00,00:00:00,1,1,95,95,> |
Issuing a warning message if the amount of free memory drops below 30% three times within 6 minutes
(Assuming that the total amount of memory is 1 GB = 1,000,000,000 bytes)
3,1053,freemem1053,*,MEMORY,00:00:00,00:00:00,3,6,300000000,0,< |
Issuing an error message if the amount of free memory drops below 5% even once.
(Assuming that the total amount of memory is 1 GB = 1,000,000,000 bytes)
4,1053,freemem1053,*,MEMORY,00:00:00,00:00:00,1,1,50000000, 50000000,< |
Note
Set as follows when system names "HostnameA" and "HostnameB" are to have their threshold monitored when monitoring more than one server using the agent for Agentless Monitoring function on a Manager/Proxy Manager:
HostnameA1|HostnameA,1052,usrproc1052,Total,UserCPU,00:00:00,00:00:00,1,1,80,95,>
HostnameA2|HostnameA,1052,sysproc1052,*,SysCPU,00:00:00,00:00:00,1,1,80,95,>
HostnameA3|HostnameA,1053,freemem1053,*,MEMORY,00:00:00,00:00:00,3,6,300000000,0,<
HostnameA4|HostnameA,1053,freemem1053,*,MEMORY,00:00:00,00:00:00,1,1,50000000, 50000000,<
HostnameB1|HostnameB,1052,usrproc1052,Total,UserCPU,00:00:00,00:00:00,1,1,80,95,>
HostnameB2|HostnameB,1052,sysproc1052,*,SysCPU,00:00:00,00:00:00,1,1,80,95,>
HostnameB3|HostnameB,1053,freemem1053,*,MEMORY,00:00:00,00:00:00,3,6,300000000,0,<
HostnameB4|HostnameB,1053,freemem1053,*,MEMORY,00:00:00,00:00:00,1,1,50000000, 50000000,<
Always set a unique ID for the "threshold monitoring ID" in the first column.