Hi
I would Like to customize the following trigger via the clone option:
{vision:net.tcp.service[http].last(0)}=0
to monitor a http service on a custom port of 7777 see netstat below:
[root@vision ~]# netstat -tnap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:7200 0.0.0.0:* LISTEN 8334/httpd
tcp 0 0 0.0.0.0:7777 0.0.0.0:* LISTEN 8334/httpd
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 24145/zabbix_agentd
As per the Zabbix manual the correct syntax is the following:
{vision:net.tcp.service[http,,7777].last(0)}=0
But we get the following error when we try to save the trigger:
ERROR: Cannot add trigger
* No such monitored parameter (net.tcp.service[http,,7777]) for host (vision)
What are we doing wrong, as you can see the http service is running via the netstat output.
Thanks
Macky
I would Like to customize the following trigger via the clone option:
{vision:net.tcp.service[http].last(0)}=0
to monitor a http service on a custom port of 7777 see netstat below:
[root@vision ~]# netstat -tnap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:7200 0.0.0.0:* LISTEN 8334/httpd
tcp 0 0 0.0.0.0:7777 0.0.0.0:* LISTEN 8334/httpd
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 24145/zabbix_agentd
As per the Zabbix manual the correct syntax is the following:
{vision:net.tcp.service[http,,7777].last(0)}=0
But we get the following error when we try to save the trigger:
ERROR: Cannot add trigger
* No such monitored parameter (net.tcp.service[http,,7777]) for host (vision)
What are we doing wrong, as you can see the http service is running via the netstat output.
Thanks
Macky
Comment