Nagios XI problems
Re: Nagios XI problems
SDohmen,
mguthrie is not in today. I believe he will be back tomorrow and will contact you, regarding the remote session.
mguthrie is not in today. I believe he will be back tomorrow and will contact you, regarding the remote session.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI problems
Just to follow up on this topic, the primary issue for this problem was that somehow the nagios core package was installed with yum over the existing source install of Nagios core. This created a conflict with some key file locations, but the main issue was that the nagios init script was fighting the source install of Nagios. The yum install of Nagios was removed, and the source installation was reinstalled. The mail issue is a result of sendmail being removed, and postfix installed instead. We'll do some more digging on how to configure that change...
Re: Nagios XI problems
I talked with my co-worker and he mentioned that the postfix he installed was sendmail compatible and even came with a sendmail binary. Also he made it working again but i am still not able to send emails.
As you shown me in the remote session i enabled the enable notifications to see if that solved the problem but as soon as i hit the update button i got the following error:
As you shown me in the remote session i enabled the enable notifications to see if that solved the problem but as soon as i hit the update button i got the following error:
Code: Select all
SQL: SQL Error [nagiosql] : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range='00:00-24:00' WHERE tipId='1' AND definition='sunday'' at line 1 SQL: SQL Error [nagiosql] : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range='00:00-24:00' WHERE tipId='1' AND definition='monday'' at line 1 SQL: SQL Error [nagiosql] : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range='00:00-24:00' WHERE tipId='1' AND definition='tuesday'' at line 1 SQL: SQL Error [nagiosql] : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range='00:00-24:00' WHERE tipId='1' AND definition='wednesday'' at line 1 SQL: SQL Error [nagiosql] : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range='00:00-24:00' WHERE tipId='1' AND definition='thursday'' at line 1 SQL: SQL Error [nagiosql] : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range='00:00-24:00' WHERE tipId='1' AND definition='friday'' at line 1 SQL: SQL Error [nagiosql] : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range='00:00-24:00' WHERE tipId='1' AND definition='saturday'' at line 1
Re: Nagios XI problems
I just tested this in a fresh VM, and I'm able to reproduce the same error, so this part is a confirmed bug. I'm going to do some more digging on this, but I filed a bug report to our tracker here, and we'll post updates to our tracker as we find out more.
http://tracker.nagios.com/view.php?id=194
http://tracker.nagios.com/view.php?id=194
Re: Nagios XI problems
Just to add some more info. For now i am using smtp which seems to work fine. I will keep my eye on the bug tracker to see if its resolved.
Re: Nagios XI problems
Thanks for the update. We got the bug fixed in SVN for the next release. I think we're going to try for a 1.8 development snapshot either later this week or early next week.
Re: Nagios XI problems
Just another update.
I got the server running on SSL now but i am noticed alot of errors in the logs:
Also i noticed that NSCA is not working at all and i dont see a way of manually starting it. I tried following the pdf for it but also that gave no response. For some reason i think there is more here then shows.
I got the server running on SSL now but i am noticed alot of errors in the logs:
Code: Select all
[Fri Oct 14 17:59:11 2011] [error] [client ] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/admin/dtoutbound.php
[Fri Oct 14 18:00:55 2011] [error] [client **] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:00:55 2011] [error] [client **] PHP Notice: Undefined variable: wizard_url in /usr/local/nagiosxi/html/admin/missingobjects.php on line 167, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:01:44 2011] [error] [client **] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:01:44 2011] [error] [client **] PHP Notice: Undefined variable: wizard_url in /usr/local/nagiosxi/html/admin/missingobjects.php on line 167, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:01:46 2011] [error] [client **] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:01:46 2011] [error] [client **] PHP Notice: Undefined variable: wizard_url in /usr/local/nagiosxi/html/admin/missingobjects.php on line 167, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:02:26 2011] [error] [client **] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:02:26 2011] [error] [client **] PHP Notice: Undefined variable: wizard_url in /usr/local/nagiosxi/html/admin/missingobjects.php on line 167, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:02:27 2011] [error] [client **] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:02:27 2011] [error] [client **] PHP Notice: Undefined variable: wizard_url in /usr/local/nagiosxi/html/admin/missingobjects.php on line 167, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:02:28 2011] [error] [client **] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:02:28 2011] [error] [client **] PHP Notice: Undefined variable: wizard_url in /usr/local/nagiosxi/html/admin/missingobjects.php on line 167, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:07:23 2011] [error] [client **] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:07:23 2011] [error] [client **] PHP Notice: Undefined variable: wizard_url in /usr/local/nagiosxi/html/admin/missingobjects.php on line 167, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:07:25 2011] [error] [client **] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 18:07:25 2011] [error] [client **] PHP Notice: Undefined variable: wizard_url in /usr/local/nagiosxi/html/admin/missingobjects.php on line 167, referer: https://central.**/nagiosxi/admin/
[Fri Oct 14 19:34:18 2011] [error] [client **] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/
[Fri Oct 14 19:34:18 2011] [error] [client **] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/
[Fri Oct 14 20:01:51 2011] [error] [client **] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/login.php?redirect=/nagiosxi/admin/index.php%3f&noauth=1
[Fri Oct 14 20:01:51 2011] [error] [client **] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/login.php?redirect=/nagiosxi/admin/index.php%3f&noauth=1
[Fri Oct 14 20:01:52 2011] [error] [client **] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/nagiosxi/html/includes/utils.inc.php on line 86, referer: https://central.**/nagiosxi/admin/index.php?
Re: Nagios XI problems
Those PHP notices are just a minor coding issue, but there's nothing there that will break anything.
This is a completely separate issue. Can you start a new thread for this and give some more detail as to what you've tried, which pdf you followed, and where things seem to be breaking?Also i noticed that NSCA is not working at all and i dont see a way of manually starting it. I tried following the pdf for it but also that gave no response. For some reason i think there is more here then shows.
Re: Nagios XI problems
I made a new one for NRDP because that will be the main protocol. I just wanted to use NSCA for a couple days untill i got NRDP working.