Actions Configurations - запуск демона на debian
-
Добрый день. Пробую настроить запуск демона в случае его падения. Action по отправке почтового уведомления отрабатывает, а Action запуска нет и в логах сервера информации о запуске нет. Подскажите в чём может быть проблема. Агент версии 1.2.8.
Настройки агента
MasterServers = ms-nms-01.root.local
LogFile = /var/log/nxagentd.log
FileStore = /var/nxagentd
EnabledCiphers = 1
RequireAuthentication = yes
RequireEncryption = yes
SharedSecret = password
#EnableActions = no
SubAgent = lmsensors.nsm
SubAgent = ping.nsmExternalParameter = RaidstatusAdaptec:bash /opt/storman/ac getconfig 1 ld | grep "Status of logical device" | grep -c Optimal
Action = Asterisk_start:/usr/sbin/asterisk


-
%n - это имя обьекта в NetXMS. Вы уверены что оно совпадает с DNS именем и что с разрешением DNS имен на сервере все в порядке? Для надежности можно использовать %a - IP адрес ноды.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login