[高级技巧]Orion Alert macro应用实例.
下面是我写的一段Alert macro, 主要用于对硬盘空间超过一定限度后的报警设置,希望对大家有所帮助.Icefired[at]Netexpert.cn原创, 版权所有, 转载请注明Icefired & NetExpert.cn.
----------------------------------------------------------------------------------------------------------------
Dear All:
This is an auto-send email by our server monitor system.
Please pay attention to blow message.If you have any problem,
please contract with XX/XXXfreely.
Ext: 5678/1234
Mobile:
XXX Team
B&R
-----------------------------------------------------------
----------------Begin of Alert---------------
*********************************************
Alert Digest:
${SysName}\ ${Caption} Current Used Percentage: ***${VolumePercentUsed}***
*********************************************
Server's Information:
---------------------------------------------
Server Name: ${SysName}
IP Address: ${IP_Address}
NodeName: ${NodeName}
NodeStatus: ${Status}
Location: ${SysLocation}
Contract: ${SysContact}
MachineType: ${MachineType}
Description: ${SysDescr}
---------------------------------------------
Disk Utilization:
---------------------------------------------
Volume ID: ${VolumeID}
Volume Index: ${VolumeINdex}
Volume Type: ${VolumeType}
*********************************************
Full Name: ${FullName}
Caption: ${Caption}
Volume Size: ${VolumeSize}
Total bytes used: ${VolumeSpaceUsed}
Current Percentage Used: ***${VolumePercentUsed}***
Normal Percentage Used: < 80%
Alert Percentage Used: >90%
Reset Percentage Used: =70%
Volume allocation errors this hour: ${VolumeAllocationFailuresThisHour}
**********************************************
DateTime: ${Long Date} ${Time}
Please see detail by using our monitor system:
Http://192.168.XXX.XXX/
User/Pwd: common/common
-----------------End of Alert------------------
How to Do?
a. Delete unnessary file.
b. Compress database files.
c. Backup and move old files.
----------------------------------------------- 大家只用来看流量 ? 谢谢!希望能提供更多的 怎样将此macro应用到Orion里
谢谢 正如楼主所说的,我现在就是看流量阶段呢:funk: 我也是啊
呵呵
目前只用来看流量啊
慢慢学习啊
页:
[1]