I am using the latest version of Nagios 2012 .7 on a Centos 6 system.
I am trying to remove this text:
You can find additional configuration wizards for Nagios XI at Nagios Exchange. Need a custom configuration wizard created for your organization? No problem! Contact us for pricing information.
which resides on the configure->Core confguration manager page. How do I remove it?
Removal of text
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Removal of text
You will want to change around line 87 in html/admin/configwizards.php and around line 126 of html/config/monitoringwizard.php. I think that should do it for you!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Removal of text
The html/config/monitoringwizard.php file is locked up by sourceguardian. Is there some other way to change it? Do you have a non-source guardian copy of the file somewhere?
Re: Removal of text
I figured this would be the case, but sreinhardt beat me to it. If it is SG protected it can't be changed, unfortunately. We do have a copy but it's obviously not for public disclosure.niebais wrote:The html/config/monitoringwizard.php file is locked up by sourceguardian. Is there some other way to change it? Do you have a non-source guardian copy of the file somewhere?
Former Nagios employee
Re: Removal of text
Does it use gettext to pull the string? I guess I could edit the language file, but it seems like this is broken into 3 chunks or something.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Removal of text
Correct, almost all of it uses gettext, and again correct it is broken up in several places within php and gettext. Modifying the language file should do it though, how thoroughly, I am not sure.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Removal of text
I've gotten it down to this:
Nagios Exchange.
. , however, you can't get rid of the words Nagios Exchange or the ".".
So here's a "feature" request then. Add the entire string to gettext in the file so that string can be redacted.
Nagios Exchange.
. , however, you can't get rid of the words Nagios Exchange or the ".".
So here's a "feature" request then. Add the entire string to gettext in the file so that string can be redacted.
Re: Removal of text
Did you post that on our feature tracker, or should I make a request for you?
Former Nagios employee
Re: Removal of text
I haven't posted it there. I'll put it in there. Thanks!