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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
plasma50
Posts: 16
Joined: Mon Mar 22, 2010 10:05 am

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

Post 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?
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

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

Post 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.
plasma50
Posts: 16
Joined: Mon Mar 22, 2010 10:05 am

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

Post 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.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

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

Post by tonyyarusso »

I opened a ticket for this at http://tracker.nagios.com/view.php?id=22
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

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

Post 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');
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
plasma50
Posts: 16
Joined: Mon Mar 22, 2010 10:05 am

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

Post by plasma50 »

I'm happy to report that this bug was fixed in version 1.1H.
Locked