Telegraf : Check remote server tcp port connection state

Could I use “net_response” input plugin to check the remote server port status [ up or down ] ?. Or is there any inputs plugin available to check it.

I’m trying to replace icinga with telegraf. Since I already using telegraf for usage metric. If its support remote server ports check also, then I can bring everything under same tools instead of depending on separate tool for each service.

This should work, with the current 1.3.5 release there is no metric emitted if the remote site is down, so you will want to alert on missing data. In the upcoming 1.4 release a metric will be sent in either case.