Ad Widget

Collapse

Monitor Port Of Servers Windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jose antonio
    Junior Member
    • Nov 2004
    • 2

    #1

    Monitor Port Of Servers Windows

    TO MONITOR PORT OF SERVERS WINDOWS,
    In the CASES OF PROBLEMS TO MONITOR ENVIRONMENT WINDOWS, CAN USE The SHOWN SOLUTION BELOW:

    1) - IT USES the TOOL MICROSOFT PortQry


    2) - MODIFIES SHOWN ARCHIVE ZABBIX_AGENTD BELOW AS.
    ListenPort=10000
    #
    #
    LogFile=c:\temp\syslog.log
    #
    Server=80.155.118.210
    #cpu_util5#
    #
    #proc_info[iexplore.exe:wkset:sum]
    proc_info[ZabbixW32.exe:wkset:sum]
    UserParameter=portinfo,C:\zabbix\jump.bat

    3) create the archive jump.bat as shown to follow.
    @echo off
    :top
    c:\zabbix\portqry -n 100.150.110.108 -e 10090 -p tcp -q
    if errorlevel =2 goto filtered
    if errorlevel =1 goto failed
    if errorlevel =0 goto sucess
    goto end
    :filtered
    @echo 0
    goto end
    :failed
    @echo 0
    goto end
    :sucess
    @echo 1
    goto end
    :end


    4) add in the server zabbix the item to be monitored.


    ProtQry possesss other functionalities that can be explored through zabbix.
Working...