User Tools

Site Tools


сервис_nagios

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
сервис_nagios [2022/03/01 07:05]
val [Тестирование plugin]
сервис_nagios [2022/03/11 13:49]
val [Интеграция с MRTG]
Line 26: Line 26:
  
   * [[https://​assets.nagios.com/​downloads/​nagioscore/​docs/​nagioscore/​3/​en/​dependencies.html|Host and Service Dependencies]]   * [[https://​assets.nagios.com/​downloads/​nagioscore/​docs/​nagioscore/​3/​en/​dependencies.html|Host and Service Dependencies]]
 +  * [[https://​www.zarrelli.org/​blog/​nagios-notification-escalations-made-easy/​comment-page-1/​|Nagios notification escalations made easy]]
  
 <​code>​ <​code>​
Line 133: Line 134:
 ==== Тестирование конфигурации и запуск ==== ==== Тестирование конфигурации и запуск ====
  
-  * [[http://server/nagios4/]]+  * [[http://192.168.X.10/nagios4/]]
  
 <​code>​ <​code>​
Line 227: Line 228:
         service_description ​    int LAN bandwidth         service_description ​    int LAN bandwidth
         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
 } }
 </​code>​ </​code>​
Line 245: Line 247:
 </​code><​code>​ </​code><​code>​
 ... ...
 +
 +# --- int WAN bandwidth MRTG ---
 +
 define service{ define service{
         use                     ​generic-service         use                     ​generic-service
Line 251: Line 256:
         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
 } }
 +
 +# --- check dhcp stat ---
  
 define command { define command {
сервис_nagios.txt · Last modified: 2022/03/11 13:52 by val