Skip to content

When no snmp option is set, automation can incorrectly report a number of issues #4229

@bmfmancini

Description

@bmfmancini

In 1.2.17 when running autom8 if you set snmp.options to none the following errors occur


2021-04-13  20:12:11 - CMDPHP SQL Backtrace:   (/poller_automation.php[361]:discoverDevices(),  /poller_automation.php[795]:db_execute(),  /lib/database.php[237]:db_execute_prepared())
--
2021-04-13 20:12:11 - CMDPHP ERROR: A DB Exec Failed!, Error:  Incorrect integer value: '' for column  `cacti`.`automation_devices`.`snmp_port` at row 1
2021-04-13 20:12:11 - CMDPHP SQL Backtrace:   (/poller_automation.php[361]:discoverDevices(),  /poller_automation.php[795]:db_execute(),  /lib/database.php[237]:db_execute_prepared())
2021-04-13 20:12:11 - CMDPHP ERROR: A DB Exec Failed!, Error:  Incorrect integer value: '' for column  `cacti`.`automation_devices`.`snmp_port` at row 1
2021-04-13 20:12:11 - CMDPHP SQL Backtrace:   (/poller_automation.php[361]:discoverDevices(),  /poller_automation.php[795]:db_execute(),  /lib/database.php[237]:db_execute_prepared())
2021-04-13 20:12:10 - CMDPHP ERROR: A DB Exec Failed!, Error:  Incorrect integer value: '' for column  `cacti`.`automation_devices`.`snmp_port` at row 1
2021-04-13 20:12:10 - CMDPHP SQL Backtrace:   (/poller_automation.php[361]:discoverDevices(),  /poller_automation.php[795]:db_execute(),  /lib/database.php[237]:db_execute_prepared())
2021-04-13 20:12:10 - CMDPHP ERROR: A DB Exec Failed!, Error:  Incorrect integer value: '' for column  `cacti`.`automation_devices`.`snmp_port` at row 1
2021-04-13 20:12:10 - CMDPHP SQL Backtrace:   (/poller_automation.php[361]:discoverDevices(),  /poller_automation.php[795]:db_execute(),  /lib/database.php[237]:db_execute_prepared())
2021-04-13 20:12:10 - CMDPHP ERROR: A DB Exec Failed!, Error:  Incorrect integer value: '' for column  `cacti`.`automation_devices`.`snmp_port` at row 1
2021-04-13 20:12:10 - CMDPHP SQL Backtrace:   (/poller_automation.php[361]:discoverDevices(),  /poller_automation.php[795]:db_execute(),  /lib/database.php[237]:db_execute_prepared())
2021-04-13 20:12:10 - CMDPHP ERROR: A DB Exec Failed!, Error:  Incorrect integer value: '' for column  `cacti`.`automation_devices`.`snmp_port` at row 1
2021-04-13 20:12:10 - CMDPHP SQL Backtrace:   (/poller_automation.php[361]:discoverDevices(),  /poller_automation.php[795]:db_execute(),  /lib/database.php[237]:db_execute_prepared())
2021-04-13 20:12:10 - CMDPHP ERROR: A DB Exec Failed!, Error:  Incorrect integer value: '' for column  `cacti`.`automation_devices`.`snmp_port` at row 1
2021-04-13 20:12:10 - CMDPHP SQL Backtrace:   (/poller_automation.php[361]:discoverDevices(),  /poller_automation.php[795]:db_execute(),  /lib/database.php[237]:db_execute_prepared())
2021-04-13 20:12:10 - CMDPHP ERROR: A DB Exec Failed!, Error:  Incorrect integer value: '' for column  `cacti`.`automation_devices`.`snmp_port` at row 1
2021-04-13 20:12:10 - CMDPHP SQL Backtrace:   (/poller_automation.php[361]:discoverDevices(),  /poller_automation.php[795]:db_execute(),  /lib/database.php[237]:db_execute_prepared())

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions