- 论坛徽章:
- 0
|
怎么用nagios监控华为S3328的带宽和流量啊。。。。现在只有check_ping检测丢包情况
define service{
use generic-service ; Inherit values from a template
host_name LM3328
service_description Uptime
check_command check_snmp!-C public -o sysUpTime.0
}
define service{
use generic-service ; Inherit values from a template
host_name LM3328
service_description Port 1 Link Status
check_command check_snmp!-C public -o ifOperStatus.1 -r 1 -m RFC1213-MIB
}
define service{
use generic-service ; Inherit values from a template
host_name LM3328
service_description Port 1 Bandwidth Usage
check_command check_local_mrtgtraf!/var/lib/mrtg/10.254.2.253_1.log!AVG!1000000,1000000!5000000,5000000!5
}
剩下的这三个分别显示UNKNOWN、CRITICAL、CRITICAL,交换机是正常的,是还需要配置什么吗?在nagios上配置还是在交换机上做相应的设置? |
|