Menu

Notification on LINE

2019-03-19
2019-03-26
  • R. Waldvogel

    R. Waldvogel - 2019-03-19

    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

     

    Last edit: R. Waldvogel 2019-03-19
  • Martin

    Martin - 2019-03-20

    Have you tried to import the old configuration of this notification into NagiosQL?

     
  • R. Waldvogel

    R. Waldvogel - 2019-03-20

    I can import the configuration?
    I thought I would have to re-enter everything. ;-)

     
  • Martin

    Martin - 2019-03-20

    NagiosQL does not replace Nagios - it is just a configuration tool for Nagios. So you can continue your existing Nagios installation and manage the configuration via NagiosQL in the future. That's why you can easily import existing configurations.

     
  • R. Waldvogel

    R. Waldvogel - 2019-03-20

    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
    
    }
    

    Now I do not really know where to get this data in NagiosQL.

     
  • R. Waldvogel

    R. Waldvogel - 2019-03-26

    I found the import function. The previous config files imported. And it works .... for whatever reason ....

     
  • Martin

    Martin - 2019-03-26

    It would be unexpected if it hadn't worked.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.