This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
web_monitoring [2009/05/06 14:07] kyxap создано |
web_monitoring [2013/12/15 17:05] kyxap |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Скрипт для проверки доступности вебсервера (с SMS) ====== | + | {{tag>debian apache watchdog alert}}====== Скрипт для проверки доступности вебсервера (с SMS) ====== |
Работает под debian. | Работает под debian. | ||
# mkdir -p /opt/scripts/monitoring/active_alerts | # mkdir -p /opt/scripts/monitoring/active_alerts | ||
Скрипт ложить в ///opt/scripts/monitoring/checker.sh// | Скрипт ложить в ///opt/scripts/monitoring/checker.sh// | ||
- | [code=bash] | + | <code bash> |
#!/bin/bash | #!/bin/bash | ||
Line 61: | Line 61: | ||
check | check | ||
- | [/code] | + | </code> |