Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.65k stars 406 forks source link

Undefined index: snmp_community in file: /var/www/html/automation_snmp.php on line: 656 #1259

Closed Cramin closed 6 years ago

Cramin commented 6 years ago

01/23/2018 17:06:03 - CMDPHP PHP ERROR NOTICE Backtrace: (/automation_snmp.php: 89 automation_snmp_edit)(/automation_snmp.php: 656 CactiErrorHandler)(/lib/functions.php: 4482 cacti_debug_backtrace) 01/23/2018 17:06:03 - ERROR PHP NOTICE: Undefined index: snmp_community in file: /var/www/html/automation_snmp.php on line: 656 Cacti 1.1.33 new install.

netniV commented 6 years ago

See issue #1258 and close this one

Cramin commented 6 years ago
alter table `automation_snmp_items` change `snmp_readstring` `snmp_community` varchar(50) NOT NULL DEFAULT "";
alter table `automation_snmp_items` change `snmp_auth_protocol` `snmp_auth_protocol` varchar(6) NULL DEFAULT "";

Solved