-
Problem report
-
Resolution: Unresolved
-
Major
-
None
-
7.4.6rc1, 8.0.0alpha2 (master)
Agent2 with MsSQL plugin crashing if username macro is empty.
Steps to reproduce:
- Have a host with "MSSQL by Zabbix agent 2" template attached
- Fill 'URI', 'PASSWORD' macros and 'USER' macro leave blank
- Start server
- Start agent2
- Go to host 'Items' and select all items on the page
- Press 'Execute now' button
Result:
panic: Plugin exited unexpectedly: exit status 2. goroutine 47 [running]: golang.zabbix.com/agent2/plugins/external.(*Plugin).Configure.func1() /DEV-4581-7.5/src/go/plugins/external/plugin.go:332 +0x45 created by golang.zabbix.com/agent2/plugins/external.(*Plugin).Configure in goroutine 55 /DEV-4581-7.5/src/go/plugins/external/plugin.go:326 +0x78