I'm having an issue where net.tcp.service(tcp,localhost,1433) returns 1 when run manually, but Zabbix reports 0.
This is the manual run:
root@operations:/# zabbix_get -s LUCYTEST.mst.com -p 10050 -k net.tcp.service[tcp,localhost,1433]
1
As you can see, a 1 is returned.
This is what Zabbix is reporting:

Here is the configuration for the trigger, in case it holds any clues.
I double checked the macros on the host
{$MSSQL.HOST} == localhost
{$MSSQL.PORT} == 1433
Perhaps it is the value mapping which turns 0 and 1 into Down and Up?
But I'm thinking if that were the case, last(/LUCYTEST.mst.com/net.tcp.service[tcp,localhost,1433])=0 would not evaluate to true, as it would be "Down" instead of "0".
I am a bit new to Zabbix, so I am probably just overlooking something simple.
I would appreciate any pointers in the right direction.
This is the manual run:
root@operations:/# zabbix_get -s LUCYTEST.mst.com -p 10050 -k net.tcp.service[tcp,localhost,1433]
1
As you can see, a 1 is returned.
This is what Zabbix is reporting:
Here is the configuration for the trigger, in case it holds any clues.
I double checked the macros on the host
{$MSSQL.HOST} == localhost
{$MSSQL.PORT} == 1433
Perhaps it is the value mapping which turns 0 and 1 into Down and Up?
But I'm thinking if that were the case, last(/LUCYTEST.mst.com/net.tcp.service[tcp,localhost,1433])=0 would not evaluate to true, as it would be "Down" instead of "0".
I am a bit new to Zabbix, so I am probably just overlooking something simple.
I would appreciate any pointers in the right direction.
Comment