Old Database values in ccm_config.inc.php
Posted: Tue Jan 14, 2020 12:03 pm
I've noticed old Database values in /usr/local/nagiosxi/etc/components/ccm_config.inc.php, more specifically the server IP address.
As it's suggest not to edit manually, can you advise on where is this information modified within CCM?
As it's suggest not to edit manually, can you advise on where is this information modified within CCM?
Code: Select all
1 <?php
2 /** DO NOT MANUALLY EDIT THIS FILE
3 This file is used internally by Nagios CCM.
4 Nagios CCM will override this file automatically with the latest settings. */
5
6 $CFG["plugins_directory"] = "/usr/local/nagios/libexec";
7 $CFG["command_file"] = "/usr/local/nagios/var/rw/nagios.cmd";
8 $CFG["default_language"] = "en";
9
10 // MySQL database connection info
11 $CFG["db"] = array(
12 "server" => "xxx.xxx.xxx.xxx",
13 "port" => "3306",
14 "database" => "nagiosqldev",
15 "username" => "nagiosql",
16 "password" => "n@gweb"
17 );