Page 1 of 2

Upgadeing to 1.1H did not fix Email Notification in 1.1G '4u

Posted: Wed Apr 07, 2010 9:46 am
by mmestnik
Sorry the title has a length limit.
If after upgrading to 1.1H your notifications are still not being sent, post a message here.

Thank you!

Re: Upgadeing to 1.1H did not fix Email Notification in 1.1G '4u

Posted: Wed Apr 07, 2010 10:18 am
by gary_ford
didnt work for me - had to use the code mentioned in the other thread

Re: Upgadeing to 1.1H did not fix Email Notification in 1.1G '4u

Posted: Wed Apr 07, 2010 10:21 am
by mmestnik
Thank you Gary, I just hope that no one else experiences this.

Re: Upgadeing to 1.1H did not fix Email Notification in 1.1G '4u

Posted: Wed Apr 07, 2010 10:54 am
by gary_ford
maybe my upgrade didnt work.. as the version number online stayed at 1.1g. I have just downloaded the package again and run the upgrade for a second time and now it reads 1.1h correctly.

However - notifications are not working again.
so to recap.

1.1f working
1.1g notifications broken
1.1h - didnt change version info and notification still not working
applied patch as per code - notifications now work
upgrade to 1.1h again - the version has changed but the notificationa are not working again

I am happy to stay here for a while if you wish to have any of my logs etc.. let me know.

Re: Upgadeing to 1.1H did not fix Email Notification in 1.1G '4u

Posted: Wed Apr 07, 2010 3:02 pm
by mmestnik
Earlier reports about this being the case from us may have been presumptuous. We are still looking into this.

I'm still looking for other reports.

Re: Upgadeing to 1.1H did not fix Email Notification in 1.1G '4u

Posted: Fri Apr 09, 2010 3:43 am
by gary_ford
more testing from me..

ok upgrading to 1.1h has enabled email alert notification. The thing that doesnt work is the send custmo notification... not sure what different elements these require but if i apply the code fix then the custom notifications will start working for me.

Re: Upgadeing to 1.1H did not fix Email Notification in 1.1G '4u

Posted: Fri Apr 09, 2010 9:25 am
by pbernardi
I am on 1.1H and the test notification works, but monitors are not sending off notifications when they should be, nor do the custom notifications work. The patch from the other thread returns errors when I tried to apply it.


patching file /usr/local/nagiosxi/cron/eventman.php
patch: **** malformed patch at line 8: //define("BACKEND",1);

and

patching file /usr/local/nagiosxi/cron/eventman.php
Hunk #1 FAILED at 9.
1 out of 1 hunk FAILED -- saving rejects to file /usr/local/nagiosxi/cron/eventman.php.rej


Because I downloaded the VM just a couple days ago it came with 1.1H and I cannot roll back to any previous version.

Re: Upgadeing to 1.1H did not fix Email Notification in 1.1G '4u

Posted: Fri Apr 09, 2010 6:38 pm
by mmestnik
We can get you a link to a 1.1e VM that can be upgraded using another link to 1.1f. Ask [email protected].

As for Notifications it's something we've tested and re-tested. One note is that the nagiosadmin contact may need it's template adjusted to be the xi_* for the settings in NagiosXI to take effect. If you are using the other template then you will need to update the contact to contain the correct email address.

The patch will not apply and thus does not apply to 1.1g.

Re: Upgadeing to 1.1H did not fix Email Notification in 1.1G '4u

Posted: Mon Apr 12, 2010 8:53 am
by pbernardi
Actually, adding the nagios xi template to the nagios admin account seems to have done the trick.

Re: Upgadeing to 1.1H did not fix Email Notification in 1.1G '4u

Posted: Mon Apr 12, 2010 11:25 am
by mmestnik
Gary, does this correct it for you as well?