Menu

nagiosql 3.4.0 issues

LOU
2018-05-09
2018-05-11
  • LOU

    LOU - 2018-05-09

    Dear All,

    after upgrade from nagiosql3.2.0 i have following issues
    1) contact.cfg -> available commands "notify-host-by-email, notifiy-service-by-email" are not saved to contact names.
    commands can be successfully choosen via gui, but can not be saved -> there is no error msg
    contact.cfg has then no service /host notification command defined -> nagios can not be started

    2)admin page shows Notice: Undefined variable: c in /opt/MYPath/nagiosql/functions/prepend_content.php on line 90
    line 90 -> if (($$tmpVar[0] == '') || ($$tmpVar[0] == '0')) {

     
  • LOU

    LOU - 2018-05-09

    3) services -> All services -> loose their assigned hosts
    not possible to save host assignements to services

     

    Last edit: LOU 2018-05-09
  • Martin

    Martin - 2018-05-09

    Which PHP version do you use?

     
  • LOU

    LOU - 2018-05-09

    PHP Version 5.6.36

     
  • Martin

    Martin - 2018-05-09

    Ok, then we probably have a backward compatibility issue with variable variables used in prepend_content.php. This could be the reason for all your troubles. I need to build a PHP 5.5/5.6 environment here to reproduce and test - this will take some more time. Please be patient.

    Your issues can't be reproduced with PHP7.

     

    Last edit: Martin 2018-05-09
  • LOU

    LOU - 2018-05-09

    Ahh, i see
    Thank you for supporting this!

     
  • LOU

    LOU - 2018-05-11

    With new repend_content.php file the issue is solved
    Thank you!

     

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.