Hi,
I have about 500 hosts, each with a different service (aka port) to monitor for availability. They don't allow icmp so I have no choice but to use the tcp check.
Now for a single host I'd go about a simple check with this item
to have the service checked. And it works when I test it.
With 500 hosts with 95% on different ports, I'm not going to create them manually. You probably see where I'm going. Why can't I use the {HOST.PORT} macro in the item key parameters???
For example,
returns "Invalid third parameter".
Is there any way I can get this working or am I stuck to go spend my weekend configuring 500 hosts one by one? All host have their port configured correctly (changed the default 10050 to whatever is used for monitoring)
Thank you
I have about 500 hosts, each with a different service (aka port) to monitor for availability. They don't allow icmp so I have no choice but to use the tcp check.
Now for a single host I'd go about a simple check with this item
Code:
net.tcp.service[tcp,,17256]
With 500 hosts with 95% on different ports, I'm not going to create them manually. You probably see where I'm going. Why can't I use the {HOST.PORT} macro in the item key parameters???
For example,
Code:
net.tcp.service[tcp,,{HOST.PORT}]
Is there any way I can get this working or am I stuck to go spend my weekend configuring 500 hosts one by one? All host have their port configured correctly (changed the default 10050 to whatever is used for monitoring)
Thank you
Comment