I have a Virtual IP which is linked to two other private IP . I wanna monitor to my virtual IP with Zabbix . those private IP have few service like nginx that i wanna to monitor with zabbix. if any one have any idea .ping me . i will be very thankful to you.
Asked
Active
Viewed 1,525 times
1 Answers
0
You can monitor virtual IP in the same way you can monitor any other IP in Zabbix - just create a host for it and link the appropriate templates.
Based on further information supplied, the problem is that the service only listens on the localhost IP, 127.0.0.1. You can:
- change the key and specify the localhost IP:
net.tcp.port[127.0.0.1,44334]
- change your service to listen on all IP addresses, or at least the ones you expect it to be available on

Richlv
- 3,954
- 1
- 17
- 21
-
that's not a helpful information at all. what do you consider to be "wrong output" ? – Richlv Jun 28 '16 at 08:01
-
on my private ip`s ....i have web app . when i use private ip in zabbix then it app is running but when i put VIP then it shows app is not running. – Davinder Pal Jun 29 '16 at 12:24
-
what do you mean by "it shows" ? what is the item type and key ? what values does the item receive in each case ? – Richlv Jun 29 '16 at 16:00
-
type-Zabbix agent........key-net.tcp.port[,44334]........type of info--Numeric (unsigned).......data_type--Decimal................when i use private ip value return in zabbix dashboard is 1.....but when i use VIP then value is 0....i dunno why this is happenning... – Davinder Pal Jun 30 '16 at 04:14
-
are you sure your service listens on that port on all interfaces ? – Richlv Jun 30 '16 at 09:58
-
what's your VIP ? run on the system : "netstat -ntl | grep 44334" - what's the output ? – Richlv Jul 01 '16 at 09:50
-
tcp 0 0 127.0.0.1:44334 0.0.0.0:* LISTEN ..................................port is open . – Davinder Pal Jul 04 '16 at 05:01
-
and there's your reason - your service listens on the localhost ip, 127.0.0.1, only. will update the answer accordingly. – Richlv Jul 04 '16 at 05:26