Not possible to save changes under Admin-System config

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kariroman

Not possible to save changes under Admin-System config

Post by kariroman »

Setting for Administrator Name and Administrator Email Address under Admin->System Settings->Manage System Config are not updatable (hard coded really). Please take a look at this - it´s very uncomfortable to send email from root@localhost or change php files after each (even minor) update
Regards, Kári
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Not possible to save changes under Admin-System config

Post by mguthrie »

I'm attempting to recreate this issue, and here are my observations:

On the page Admin->Manage System Config the text field is pre-populated with root@localhost. This appears to be a default form value, and it is not pulling the actual address for the admin email. If I access the Manage Email Settings page, I'm able to see the admin email that I've entered, and it will sent a test email with the correct email address. If I logout and log back in the email address that I have set is still valid on the Manage Email Settings page.

I'm guessing that in the html the the "value" attribute is preset to 'root@localhost' to try and prevent a blank entry, which would probably cause a lot of problems. I would acknowledge that this field 'should' read the actual address that is in the system, and that's a change we could probably make in the next release.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Not possible to save changes under Admin-System config

Post by mguthrie »

Upon closer inspection this is in fact a bug. The email address is "supposed" to be accessed from the database, but it's not writing to it correctly. File under bug tracker and should be fixed with the next release. Thanks for the heads up!

http://tracker.nagios.com/view.php?id=88
Locked