This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
сервис_nagios [2024/06/20 07:12] val [Тестирование plugin] |
сервис_nagios [2024/06/20 15:32] (current) val [Настройка nagios на использование check_snmp] |
||
---|---|---|---|
Line 230: | Line 230: | ||
use generic-service | use generic-service | ||
host_name cisco-router | host_name cisco-router | ||
- | service_description int LAN bandwidth | + | service_description int LAN bandwidth SNMP |
+ | flap_detection_enabled 0 | ||
check_command check_snmp_band!public!ifInOctets.2,ifOutOctets.2!62500,62500!125000,125000 | check_command check_snmp_band!public!ifInOctets.2,ifOutOctets.2!62500,62500!125000,125000 | ||
# check_command check_snmp_band!public!ifInOctets.5,ifOutOctets.5!62500,62500!125000,125000 | # check_command check_snmp_band!public!ifInOctets.5,ifOutOctets.5!62500,62500!125000,125000 | ||
Line 258: | Line 259: | ||
host_name cisco-router | host_name cisco-router | ||
service_description int WAN bandwidth MRTG | service_description int WAN bandwidth MRTG | ||
+ | flap_detection_enabled 0 | ||
check_command check_local_mrtgtraf!/var/www/html/mrtg/router_fa0_0.log!AVG!62500,62500!125000,125000!10 | check_command check_local_mrtgtraf!/var/www/html/mrtg/router_fa0_0.log!AVG!62500,62500!125000,125000!10 | ||
} | } |