I have an issue trying to get results with zabbix_get.
I have an SNMPv1 printer, that's setup in zabbix with:
hostname: print1
snmp interface: 192.168.1.250:161
I used a HP template, and just the "public" string in the templates macro. The icon is SNMP green, and monitoring --> latest data is returning results.
However, using Zabbix Get from the zabbix server, with "zabbix_get -s 192.168.1.250 -p 161 -k sysName" returns "Get value error: cannot connect to [[192.168.1.250]:161]: [111] Connection refused".
And "telnet 192.168.1.250 161" is returning "Unable to connect to remote host: Connection refused"
And snmpwalk is working with "snmpwalk -v 1 -c public 192.168.1.250"
And netcat is working with "nc -vz -u 192.168.1.250 161" with "Connection to 192.168.1.250 161 port [udp/snmp] succeeded!"
How can Zabbx Get not be working when Zabbix is actually getting results in the UI, and snmp walk is working fine? Any idea how to fix this?
I have an SNMPv1 printer, that's setup in zabbix with:
hostname: print1
snmp interface: 192.168.1.250:161
I used a HP template, and just the "public" string in the templates macro. The icon is SNMP green, and monitoring --> latest data is returning results.
However, using Zabbix Get from the zabbix server, with "zabbix_get -s 192.168.1.250 -p 161 -k sysName" returns "Get value error: cannot connect to [[192.168.1.250]:161]: [111] Connection refused".
And "telnet 192.168.1.250 161" is returning "Unable to connect to remote host: Connection refused"
And snmpwalk is working with "snmpwalk -v 1 -c public 192.168.1.250"
And netcat is working with "nc -vz -u 192.168.1.250 161" with "Connection to 192.168.1.250 161 port [udp/snmp] succeeded!"
How can Zabbx Get not be working when Zabbix is actually getting results in the UI, and snmp walk is working fine? Any idea how to fix this?
Comment