Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
bmfmancini opened this issue Apr 14, 2021 · 1 comment
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@bmfmancini
Copy link
Member

bmfmancini commented Apr 14, 2021

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())

@bmfmancini bmfmancini added bug Undesired behaviour unverified Some days we don't have a clue labels Apr 14, 2021
@TheWitness TheWitness changed the title [1.2.17] errors running autom8 without snmp option set Errors running autom8 without snmp option set Apr 14, 2021
TheWitness added a commit that referenced this issue Apr 14, 2021
Errors running autom8 without snmp option set
@TheWitness TheWitness added resolved A fixed issue and removed unverified Some days we don't have a clue labels Apr 14, 2021
@TheWitness TheWitness added this to the v1.2.17 milestone Apr 14, 2021
@TheWitness
Copy link
Member

Please retest.

@netniV netniV changed the title Errors running autom8 without snmp option set When no snmp option is set, automation can incorrectly report a number of issues Apr 30, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants