Nagios NA and Nagios Core
Posted: Wed May 21, 2014 5:36 pm
I'm doing a trial of Nagios Network Analyzer for possible purchase and trying to integrate NagiosNA (2014R1.7) with Nagios Core (3.5.1) for alerting. Both pieces of software are on the same box. I can add a new Nagios Server with an NRDP Token and it doesn't seem to have a problem, but when I try to add in a Service/Host, it fails with "Unable to contact Nagios server component". Checking the logs, I see the following:
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Trying to get property of non-object /var/www/html/nagiosna/application/models/ion_auth_model.php 180
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Undefined property: Hostservices::$data /var/www/html/nagiosna/system/core/Model.php 51
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Indirect modification of overloaded property Ion_auth_model::$data has no effect /var/www/html/nagiosna/application/models/ion_auth_model.php 182
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Undefined property: Hostservices::$data /var/www/html/nagiosna/system/core/Model.php 51
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Indirect modification of overloaded property Ion_auth_model::$data has no effect /var/www/html/nagiosna/application/models/ion_auth_model.php 187
ERROR - 2014-05-21 17:33:42 --> Severity: Warning --> file_get_contents(http://localhost/nagiosxi/includes/comp ... ame=Flows2): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
/var/www/html/nagiosna/application/libraries/Hostservice.php 58
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Trying to get property of non-object /var/www/html/nagiosna/application/models/ion_auth_model.php 180
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Undefined property: System::$data /var/www/html/nagiosna/system/core/Model.php 51
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Indirect modification of overloaded property Ion_auth_model::$data has no effect /var/www/html/nagiosna/application/models/ion_auth_model.php 182
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Undefined property: System::$data /var/www/html/nagiosna/system/core/Model.php 51
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Indirect modification of overloaded property Ion_auth_model::$data has no effect /var/www/html/nagiosna/application/models/ion_auth_model.php 187
The reference to nagiosxi is what bothers me the most. If I try and take a look at Hostservice.php, it seems that you have decided to encrypt that file, so I can't fix the reference myself.
And ideas of how to fix this?
Thanks,
Hugh
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Trying to get property of non-object /var/www/html/nagiosna/application/models/ion_auth_model.php 180
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Undefined property: Hostservices::$data /var/www/html/nagiosna/system/core/Model.php 51
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Indirect modification of overloaded property Ion_auth_model::$data has no effect /var/www/html/nagiosna/application/models/ion_auth_model.php 182
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Undefined property: Hostservices::$data /var/www/html/nagiosna/system/core/Model.php 51
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Indirect modification of overloaded property Ion_auth_model::$data has no effect /var/www/html/nagiosna/application/models/ion_auth_model.php 187
ERROR - 2014-05-21 17:33:42 --> Severity: Warning --> file_get_contents(http://localhost/nagiosxi/includes/comp ... ame=Flows2): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
/var/www/html/nagiosna/application/libraries/Hostservice.php 58
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Trying to get property of non-object /var/www/html/nagiosna/application/models/ion_auth_model.php 180
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Undefined property: System::$data /var/www/html/nagiosna/system/core/Model.php 51
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Indirect modification of overloaded property Ion_auth_model::$data has no effect /var/www/html/nagiosna/application/models/ion_auth_model.php 182
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Undefined property: System::$data /var/www/html/nagiosna/system/core/Model.php 51
ERROR - 2014-05-21 17:33:42 --> Severity: Notice --> Indirect modification of overloaded property Ion_auth_model::$data has no effect /var/www/html/nagiosna/application/models/ion_auth_model.php 187
The reference to nagiosxi is what bothers me the most. If I try and take a look at Hostservice.php, it seems that you have decided to encrypt that file, so I can't fix the reference myself.
And ideas of how to fix this?
Thanks,
Hugh