I saw a post (http://forums.cacti.net/viewtopic.php?f=14&t=46146) talking about the ability to load multiple IP Addresses for a TFTP server, which is something I need. I saved my old versions and copied over the corresponding functions.php and router-accounts.php files, and altered the DB for the new field, yet when I go to add new credentials with the new TFTP IP Address, it fails to add.
I've tried searching for where the SQL commands are referencing, because if I had to guess I'd say it's failing on insert, but I don't believe my cacti logging is working correctly, and my /var/log/mysql is empty, as is /var/log/mysql/ directory.
I'm using Cacti v.0.8.7i.
It looks like the code in the supplied router-accounts.php file only modifies the $account_edit array, and adds:
Code: Select all
"alttftp" => array(
"method" => "textbox",
"friendly_name" => "Alternate TFTP Server",
"description" => "Alternate tftp server ip, if cacti have multiple interfaces, leave this blank if using the default settings.",
"value" => "|arg1:alttftp|",
"default" => '',
"max_length" => "32",
"size" => "30"
),
Code: Select all
//test code for alt tftp server
if (!empty($info['alttftp'])){
$tftpserver = $info['alttftp'];
}