Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1793893
  • 博文数量: 184
  • 博客积分: 10122
  • 博客等级: 上将
  • 技术积分: 5566
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-08 12:32
文章存档

2011年(1)

2008年(183)

我的朋友

分类: LINUX

2008-03-03 10:42:10

下面是一个配置文件的例子 :




   <TR><TD width=220 ><font face="Trebuchet MS" size=4>&#206;¬»¤ÈËÔ± :

 </TABLE>
[root@monitor db1]

[root@monitor db1]# cat service_status.cfg

Target[service_status]: `su - n7css -c "ssh as1 /home/n7css/monitor/get_service_status.sh"`
Directory[service_status]:db1/service_status
Options[service_status]: growright,noinfo,gauge,nopercent,nolegend
#BodyTag[service_status]:

SetEnv[service_status]: MRTG_INT_IP="172.17.64.11" MRTG_INT_DESCR=""
MaxBytes[service_status]: 1
Ytics[service_status]: 1
Unscaled[service_status]: d
Title[service_status]: service status
kmg[service_status]:
YLegend[service_status]: Oracle & Veritas
ShortLegend[service_status]: &#161;ù¡ö

LegendI[service_status]: Oracle ·&#254;Îñ״̬  

LegendO[service_status]: Veritas ·&#254;Îñ״̬  

ThreshMinI[service_status]: 1
#ThreshMaxI[service_status]:

ThreshMinO[service_status]: 1
#ThreshMaxO[service_status]:

ThreshProgI[service_status]: /etc/mrtg/send_input_alert.sh
ThreshProgO[service_status]: /etc/mrtg/send_output_alert.sh
PageTop[service_status]: <H1><p align=center><font color="blue" face="Trebuchet MS" size=6 >&#188;à²â Oracle ºÍ Vertias ·þÎñÔËÐÐ



 <TABLE cellspacing=2 cellpadding=0>
   <TR><TD width=220 ><font face="Trebuchet MS" size=4>&#207;µÍ³Ãû³Æ :
[ DB1 in GZNAP ]
[ ailms@263.net ]

下面是另外一个例子,Target 为 SNMP 的方式 :



   <TR><TD width=110 align=center><font face="Trebuchet MS" size=4>&#206;¬»¤ÈËÔ± :

   <TR><TD width=110 align=center><font face="Trebuchet MS" size=4>&#195;èÊöÐÅÏ¢ :

   <TR><TD width=110 align=center><font face="Trebuchet MS" size=4>&#189;Ó¿ÚÀàÐÍ :

   <TR><TD width=110 align=center><font face="Trebuchet MS" size=4>&#189;Ó¿ÚÃû³Æ :

   <TR><TD width=110 align=center><font face="Trebuchet MS" size=4>×&#238;´óËÙÂÊ :

   <TR><TD width=110 align=center><font face="Trebuchet MS" size=4>&#189;Ó¿ÚµØÖ· :

 </TABLE>
[root@monitor as1]

[root@monitor as1]# cat eth0.cfg

Target[as1_eth0]: 2:n7css@172.17.64.11:::::1
Directory[as1_eth0]:as1/eth0
Options[as1_eth0]: growright,bits,noinfo,nolegend
#BodyTag[as1_eth0]:

PageFoot[as1_eth0]:
SetEnv[as1_eth0]: MRTG_INT_IP="172.17.64.11" MRTG_INT_DESCR=""
MaxBytes[as1_eth0]: 12500000
#Unscaled[as1_eth0]: d

Title[as1_eth0]: as1:eth0
kmg[as1_eth0]: b,K,M
PageTop[as1_eth0]: <H1><p align=center><font color="blue" face="Trebuchet MS" size=6>&#214;÷Ó¦Ó÷þÎñÆ÷ AS1 µÄ eth0 ½Ó¿ÚÁ÷Á¿



 <TABLE cellspacing=2 cellpadding=0>
   <TR><TD width=110 align=center><font face="Trebuchet MS" size=4>&#207;µÍ³Ãû³Æ :
[ as1 in GZNAP ]
[ ailms@263.net ]
[ eth0 ]
[ ethernetCsmacd (6) ]
[ eth0 ]
[ 100Mbit/s ]
[ 172.17.64.11 (as1.local) ]
阅读(1703) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~