As far as I've noticed, NagiosQL makes its own config files for Nagios. So I want to enter everything in NagiosQL. In the commands.cfg (bevor NagiosQL) I had: define command { command_name notify-service-by-line command_line /usr/bin/curl -X POST -H 'Authorization: Bearer LS67eQ3xURsVbxxxxxxxxxxxxxxxxxxxxxxxxxxx' -F 'mesage=Type: $NOTIFICATIONTYPE$ Service: $SERVICEDESC$ Host: $HOSTALIAS$ Address: $HOSTADDRESS$ State: $SERVICESTATE$ Date/Time: $LONGDATETIME$ Additional Info: $SERVICEOUTPUT$' https://notify-api.line.me/api/notify...
I found the import function. The previous config files imported. And it works .... for whatever reason ....
I can import the configuration? I thought I would have to re-enter everything. ;-)
Hello Since yesterday, my Nagios installation is finally running on NagiosQL. ;-) Now I am faced with the problem of how to create a new notification. It should go over the notification service LINE (similar to Whatsapp). It worked well over the old Nagios scripts. I looked at the notification areas in NagiosQL and I'm a bit overwhelmed. It is certainly solvable. Just how? ;-) Bye Reto
Hello Since yesterday, my Nagios installation is finally running on NagiosQL. ;-) Now I am faced with the problem of how to create a new notification. It should go over the notification service LINE (similar to Whatsapp). It worked well over the old Nagios scripts. I looked at the notification areas in NagiosQL and I'm a bit overwhelmed. It is certainly solvable. Just how? ;-) Bye Mansaylon
You are my Hero :-)) Many Thanks.
I have: [root@nag ~]# cat /etc/centos-release CentOS Linux release 7.6.1810 (Core)
php -m [root@nag ~]# php -m [PHP Modules] bz2 calendar Core ctype curl date dom exif fileinfo filter ftp gd gettext hash iconv json libxml mbstring mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar readline Reflection session SimpleXML sockets SPL sqlite3 ssh2 standard tokenizer wddx xml xmlreader xmlwriter xsl zlib [Zend Modules] [root@nag ~]# php -v PHP 7.3.3 (cli) (built: Mar 5 2019 13:50:38) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.3, Copyright (c) 1998-2018...