My Zabbix server is up in AWS, as I need to monitor internal and external customer databases.
I have an on-prem MSSQL (2019) running on a Windows 2022 server with Agent2 and the plugins running.
Through the agent, I am successfully running the Windows by Zabbix Agent Active and I can see various graphs being populated and displaying data.
My problem is when I add the MSSQL by Zabbix Agent 2, the server checks are still going through, but the passive connection shows the error in the title (Get value from agent failed: Cannot resolve address: Domain name not found)

I've blanked out the server name (ie MYSERVER:10050).
I have the following Macro items set:
{$MSSQL.URI} = sqlserver://MYSERVER:1433 - also tried localhost as server name and IP Address
{$MSSQL.HOST} = MYSERVER
{$MSSQL.PORT} = 1433
{$MSSQL.USER} = myzabbixuser
{$MSSQL.PASSWORD} = thepassword
This appears to be a passive problem.
I have these set in my zabbix_agent2.conf file:
Server=WebAddressOfMyZabbixServer (ie monitor.mydomain.com)
ServerActive=WebAddressOfMyZabbixServer
Hostname=MYSERVER
Anyone successfully got past this problem?
Thanks in advance.
I have an on-prem MSSQL (2019) running on a Windows 2022 server with Agent2 and the plugins running.
Through the agent, I am successfully running the Windows by Zabbix Agent Active and I can see various graphs being populated and displaying data.
My problem is when I add the MSSQL by Zabbix Agent 2, the server checks are still going through, but the passive connection shows the error in the title (Get value from agent failed: Cannot resolve address: Domain name not found)
I've blanked out the server name (ie MYSERVER:10050).
I have the following Macro items set:
{$MSSQL.URI} = sqlserver://MYSERVER:1433 - also tried localhost as server name and IP Address
{$MSSQL.HOST} = MYSERVER
{$MSSQL.PORT} = 1433
{$MSSQL.USER} = myzabbixuser
{$MSSQL.PASSWORD} = thepassword
This appears to be a passive problem.
I have these set in my zabbix_agent2.conf file:
Server=WebAddressOfMyZabbixServer (ie monitor.mydomain.com)
ServerActive=WebAddressOfMyZabbixServer
Hostname=MYSERVER
Anyone successfully got past this problem?
Thanks in advance.
Comment