prtg

prtg

http://www.paessler.com/prtg/features

prtg的sensor技术

数据库监视

Flexible Alerting

  • 9 notification technologies: Send Email, SMS/Pager, syslog and SNMP Trap, HTTP request, Event log entry, Play alarm sound files, Amazon SNS, any external technology that can be triggered by an EXE or batch file
  • Status alerts (up, down, warning)
  • Limit alerts (value above/below x)
  • Threshold alerts (above/below x for y minutes)
  • Multiple condition alerts (x and y are down)
  • Escalation alerts (extra notifications every x min during downtime)
  • Dependencies (avoid alarm floods)
  • Acknowledge Alarms (no more notifications for this alarm)
  • Alert Scheduling (no low priority alerts at night)

通知投递  告诉prtg如何发送消息

通知    定义消息的类别与内容

通知触发  

prtg api编程

<prtg>
<text>
</text>
<error>
</error>
<result>
</result>
</prtg>

<prtg>
<result>
<channel>a</channel>
<value>10</value>
</result>
<result>
<channel>b</channel>
<value>20</value>
</result>
</prtg>

 

[root@109-com1 scripts]# cat rx
#!/bin/bash
eth=eth0
RXpre=$(ifconfig ${eth} | grep bytes | awk  '{print $2}'| awk -F":" '{print $2}')
TXpre=$(ifconfig ${eth} | grep bytes | awk '{print $6}' | awk -F":" '{print $2}')
sleep 1
RXnext=$(ifconfig ${eth} | grep bytes | awk  '{print $2}'| awk -F":" '{print $2}')
TXnext=$(ifconfig ${eth} | grep bytes | awk '{print $6}' | awk -F":" '{print $2}')

echo "0:$(((${RXnext}-${RXpre})/1024)):recv!!!KB/s"


[root@109-com1 scripts]# cat daxiao
#!/bin/bash
daxiao=`ls -l  /var/log/asterisk/messages |cut -d " " -f5`
echo "0:$daxiao:messages!!!!!!!"

 

prtg change web default sound  
1.mp3与ogg同时替换命名为beep
2.并且要将mp3转换为ogg格式
3.清空浏览器缓存

你可能感兴趣的:(r)