Nagios throwing DB errors on apache
Re: Nagios throwing DB errors on apache
Can you post screenshots of the pages you are visiting when these errors are thrown?
Former Nagios employee
Re: Nagios throwing DB errors on apache
The pages load fine and show no errors themselves, the errors just show up on the logs and are as shown previously.tmcdonald wrote:Can you post screenshots of the pages you are visiting when these errors are thrown?
As for error #3 it now appears to be solved, browser session doesnt appear to crash anymore when the reports are opened and all of them seem to work ok...
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Nagios throwing DB errors on apache
The php errors have been resolved in our code, and will be out with the next release. I believe you should be able to modify and resolve it now by altering /usr/local/nagiosxi/html/includes/db.inc.php
Line 260 from:
To:
Line 260 from:
Code: Select all
$DB[$db]=&NewADOConnection($dbtype);Code: Select all
$DB[$db]=NewADOConnection($dbtype);Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Nagios throwing DB errors on apache
Hi spencer,
as mentioned previously that did solve that problem, however two others appeared to me (See on previous messages Error 1 and Error 2), should i open new threads for them or will we discuss them here?
as mentioned previously that did solve that problem, however two others appeared to me (See on previous messages Error 1 and Error 2), should i open new threads for them or will we discuss them here?
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios throwing DB errors on apache
For (Error 1) upload attached through Admin -> Manage Config Wizards
For (Error 2) unzip attached
an place file in
/usr/local/nagiosxi/html/includes/components/xicore/dashlets-perfdata.inc.php
/usr/local/nagiosxi/html/includes/components/xicore/dashlets-perfdata.inc.php
You do not have the required permissions to view the files attached to this post.
Re: Nagios throwing DB errors on apache
Hi Scott, for error number 2, you sent me a file with one name and requested me to replace it with another file under another name?
I replaced it by the file with the same name, but problem still persists, did you send me the wrong file?
I replaced it by the file with the same name, but problem still persists, did you send me the wrong file?
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios throwing DB errors on apache
What is the output of:
ls -la /usr/local/nagiosxi/html/includes/components/xicore/dashlets-perfdata.inc.php
Did the wizard upload correctly?
ls -la /usr/local/nagiosxi/html/includes/components/xicore/dashlets-perfdata.inc.php
Did the wizard upload correctly?