网络分析专家论坛 netexpert's Archiver

icefired 发表于 2006-12-24 22:20

[高级技巧]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.
-----------------------------------------------

icefired 发表于 2006-12-26 22:28

大家只用来看流量 ?

alvinzhong 发表于 2007-1-30 09:49

谢谢!希望能提供更多的

light_he 发表于 2007-3-28 09:39

怎样将此macro应用到Orion里
谢谢

langzixdjun 发表于 2007-4-7 00:07

正如楼主所说的,我现在就是看流量阶段呢:funk:

alangong 发表于 2007-6-7 19:38

我也是啊
呵呵
目前只用来看流量啊
慢慢学习啊

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.