Started to get this error after upgrade from 5.6.12 to 5.7. Upgrade said everything was ok and no issues.
When any User or Admin clinks on a host or service the page fails to display the info. If I open the Chrome Development Tools and watch for errors, I get the following, GET https://nagiost.stthomas.edu/nagiosxi/i ... &dest=auto 500 (Internal Server Error)
I then look in the Apache ssl_error_log file and see this error. [Fri Jun 12 08:29:42.866528 2020] [:error] [pid 5827] [client 140.209.74.215:36480] PHP Fatal error: Call to undefined function get_backend_xml_data() in /usr/local/nagiosxi/html/includes/components/historytab/historytab.inc.php on line 102, referer: https://nagiost.stthomas.edu/nagiosxi/i ... w=services
I also had this error yesterday on version 5.7. Searched and seen a lot of errors so I figured I would wait and update to 5.7.1, but I see the errors are still there. Everything else seems to be working.
System config:
OS: RedHat 7.7 64bit
Running on VMware
Nothing special for system, it is being ssl offloaded via F5 LTM's but I also get the error going direct with out the F5 in place.
Upgrade Issues with 5.7 and still in 5.7.1
-
kketchmark
- Posts: 4
- Joined: Thu Jan 24, 2019 11:29 am
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Upgrade Issues with 5.7 and still in 5.7.1
I see a ticket was opened with the same issue.
We will be locking this thread and will respond through the ticket
We will be locking this thread and will respond through the ticket
Re: Upgrade Issues with 5.7 and still in 5.7.1
Removing the history tab component will fix the
error, as well as the blank host and service pages:
--Jeffrey
Code: Select all
PHP Fatal error: Call to undefined function get_backend_xml_data() in /usr/local/nagiosxi/html/includes/components/historytab/historytab.inc.php Code: Select all
tar -cf /root/history-tab-saveforlater.tar /usr/local/nagiosxi/html/includes/components/historytab
rm -rf /usr/local/nagiosxi/html/includes/components/historytabAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade Issues with 5.7 and still in 5.7.1
I doubt Troy(a.k.a. Box293) is going to work on an update to the plugin. Can the nagios guys take a took at possibly patching it? I love that tab and would hate to lose it when I upgrade.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Upgrade Issues with 5.7 and still in 5.7.1
I "fixed" it on my dev host by commenting out one line. You'll lose Nagios Comment history but at least not all the other items. Open the file
and comment out line 49
Code: Select all
/usr/local/nagiosxi/html/includes/components/historytab/historytab_do_stuff.phpCode: Select all
#$xml_nagios_comments = get_backend_xml_data($args_nagios_comments);2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Upgrade Issues with 5.7 and still in 5.7.1
Thanks for posting that update. Both Scott and I took a quick look but couldn't find a replacement function that would meet the needs given the current codebase. The component would need to be modified as the functions it uses no longer exist in the code.
Re: Upgrade Issues with 5.7 and still in 5.7.1
Thanks for the info @BanditBBS!
I filed a feature request for patching the history tab component. Please keep in mind that the decision to implement the enhancement is at the discretion of our development team.Can the nagios guys take a took at possibly patching it? I love that tab and would hate to lose it when I upgrade.
Be sure to check out our Knowledgebase for helpful articles and solutions!