Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

novokuznezk

Reviews(1)
bynovokuznezk, February 27, 2018
Telegram Notifications
u have the same error on host line
this is the correct with hoststate and servicestate:

define command{
command_name notification-telegram-service
command_line /usr/bin/php /usr/local/nagios/sbin/telegram-notify/telegram-bot.php "$_CONTACTTELEGRAM$" "477401126:AAGJ6fKMHqbxwigmwgQ2QbPFZhg83N2AQHY" $_SERVICESENDTELEGRAM$ " Notify: $NOTIFICATIONTYPE$ 0XzXZ0 Host: $HOSTNAME$
}

#notification-telegram-host
define command{
command_name notification-telegram-host
command_line /usr/bin/php /usr/local/nagios/sbin/telegram-notify/telegram-bot.php "$_CONTACTTELEGRAM$" "477401126:AAGJ6fKMHqbxwigmwgQ2QbPFZhg83N2AQHY" $_HOSTSENDTELEGRAM$ " Notify: $NOTIFICATIONTYPE$ 0XzXZ0 Host: $HOSTNAME$ 0$
}