Page 1 of 1

Upgraded to Nagios XI 2009R1.1G and email paging stopped

Posted: Tue Mar 23, 2010 4:32 pm
by plasma50
Upgraded to version Nagios XI 2009R1.1G this morning at 10am and after the upgrade have not received any more pages via e-mail. Checked all user accounts and sent test messages from their account which works. Checked the Nagios Event log and it says it sent out to every user yet nobody gets an email any longer.

Example from event log:
[03-23-2010 16:11:08] SERVICE NOTIFICATION: nagiosadmin;serverx;Drive X: Disk Usage;CRITICAL;notify-service-by-email;X:\ - total: 244.99 Gb - used: 231.07 Gb (94%) - free 13.92 Gb (6%)

Is there anything else that I can check?

Re: Upgraded to Nagios XI 2009R1.1G and email paging stopped

Posted: Wed Mar 24, 2010 10:46 am
by mmestnik
Check the /var/log/httpd/error_log , one theory is there may be a bug in the PHP code. If this is the case it should show up here.

Re: Upgraded to Nagios XI 2009R1.1G and email paging stopped

Posted: Wed Mar 24, 2010 1:06 pm
by plasma50
looks like you were right. My log file is flooded with these messages:

[Tue Mar 23 15:52:59 2010] [error] [client 127.0.0.1] PHP Fatal error: Call to a member function setVariable() on a non-object in /var/www/html/nagiosql/index.php on line 103

Let me know if there is anything I can change in the file to correct this.

Re: Upgraded to Nagios XI 2009R1.1G and email paging stopped

Posted: Thu Mar 25, 2010 10:15 am
by tonyyarusso
I opened a ticket for this at http://tracker.nagios.com/view.php?id=22

Re: Upgraded to Nagios XI 2009R1.1G and email paging stopped

Posted: Sat Apr 03, 2010 1:16 am
by tonyyarusso
This would be unrelated to that error, but might fix the actual problem:
1. Edit /usr/local/nagiosxi/cron/eventman.php

2. Comment out require_once() statement for utils.inc.php

3. Add a require_once() statement for common.inc.php


New require_once() statements should look like this:

require_once(dirname(__FILE__).'/../html/config.inc.php');
//require_once(dirname(__FILE__).'/../html/includes/utils.inc.php');
require_once(dirname(__FILE__).'/../html/includes/common.inc.php');

Re: Upgraded to Nagios XI 2009R1.1G and email paging stopped

Posted: Tue Apr 06, 2010 3:57 pm
by plasma50
I'm happy to report that this bug was fixed in version 1.1H.