Есть Домино 9.0.1 на платформе CentOS 6.7. Нужно создать EG который бы следил за таском http и выполнял команду с параметрами(отправлял смс на телефон), если та подвиснет или упадет.
Создал генератор Monitoring Configuration - Event Generators - Task status:
1) Task name: HTTP Server
2) Server(s): Serv1/Dom/Org, Serv2/Dom/Org
3) What to monitoring:
- Monitoring task down
- Monitoring task stalled
Создал handler Monitoring Configuration - Event Handlers :
Basic:
Servers to monitor:
Notify of the event only on the following servers: Serv1/Dom/Org, Serv2/Dom/Org
Trigger:
Any event the matches a criteria
Event:
Task status (XXX-XXX created 02/20/2017)
Action:
Method - Run Program
Program name: /usr/bin/curl
Comand line:
Run on the same server where the event occured
Enable this notification
Но не срабатывает. Набираю te http q - тишина, хотя если на сервере от юзера notes ввести эту же команду - все отправляется. Что не так то?
Создал генератор Monitoring Configuration - Event Generators - Task status:
1) Task name: HTTP Server
2) Server(s): Serv1/Dom/Org, Serv2/Dom/Org
3) What to monitoring:
- Monitoring task down
- Monitoring task stalled
Создал handler Monitoring Configuration - Event Handlers :
Basic:
Servers to monitor:
Notify of the event only on the following servers: Serv1/Dom/Org, Serv2/Dom/Org
Trigger:
Any event the matches a criteria
Event:
Task status (XXX-XXX created 02/20/2017)
Action:
Method - Run Program
Program name: /usr/bin/curl
Comand line:
Ссылка скрыта от гостей
down&t=numbertlfRun on the same server where the event occured
Enable this notification
Но не срабатывает. Набираю te http q - тишина, хотя если на сервере от юзера notes ввести эту же команду - все отправляется. Что не так то?