Ad Widget

Collapse

tcp port query remote windows machine

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Egger
    Junior Member
    • Feb 2012
    • 1

    #1

    tcp port query remote windows machine

    Hi
    Change to Zabbix a month ago an everything went smooth..until now.

    I've been trying to get this to work for some time but still haven't found the solution on google, zabbix or any other place.

    I have the classic problem

    I need to monitor if a certain port is up or not but it's in a vpn and there is only 1 machine that can reach that and thats not the zabbix-server

    The machine where I need to do the remote query is a windows 2003R2 running zabbix agent 1.8.5.
    I have tried adding an item in zabbix server
    net.tcp.port[10.168.1.90,8789] it works when there is an answer but when the vpn is down it stops trying. Log says it's a timeout problem.
    On the local windows 2003R2 machine I hace tried raising the timeout=30 (max) but that doesnt help.

    If I run it manually on the server it get the timeout and error code
    zabbix_agentd.exe -c c:\Zabbix\zabbix_agentd.conf -t net.tcp.port[10.168.1.90,8789]

    net.tcp.port[10.168.1.90,8789] [u|1]

    I have tryed using portqry but again it takes 30 sec to timeout.
    Found it here http://www.zabbix.com/forum/showthread.php?t=909

    I think I read it somewhere that it is a "bug" and havent been solved it regarding telnet and timeout.

    Is there another way to monitor a "remote" port or am I doing something wrong.

    Best regards
    Egger
Working...