Ad Widget

Collapse

icmpping with Windows agent?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mbianchy
    Junior Member
    • Aug 2013
    • 5

    #1

    icmpping with Windows agent?

    Hi guys,

    I now have couple of years experience using zabbix under linux and now I'm having trouble monitoring a Windows box.

    Given the scenario: Zabbix server on the inside network, Windows machine on that network, too. The windows box is connected to the internet acting as gateway (but *not* doing NAT). The internet connection is kind of unstable and one of my first thoughts were "Hey, let's monitor the internet connection with Zabbix and if the appropriate trigger fires I can create an action for i.e. redial or reboot or whatever"

    I tried almost anything - external script using the windows integrated ping: Is not reliable, the command returns even with a non reachable host somtimes 0, sometimes 1.

    icmpping using fping in Windows is running now - but my crosscheck with an unreachable host returns 0 as well with a reachable host.

    Anybody experience monitoring windows hosts? (I'm not very familiar with Windows - I can start solitaire and that's it)
  • mbianchy
    Junior Member
    • Aug 2013
    • 5

    #2
    missing information

    I forgot to tell:

    Server is running Zabbix 2.0.3 on Suse Linux Enterprise Server (compiled from scratch), Windows Agent is 2.0.6 (downloaded the pre-compiled binaries and installed as service.

    "internal" network is using 192.168.1.0/24 as IP range, the windows box has an additional network card (in fact an 3G USB modem) connecting too the outside internet.

    Even icmpping in Linux (internal network) is running like a charm....

    Comment

    • Joan Carles N.
      Junior Member
      • Feb 2019
      • 2

      #3
      Today I faced the same problem, and in my experience, it doesn't work. A workaround it could be define a zabbix agent item as:

      system.run'[ping -n 1 <IP ADDRESS> -w 100 | find /i "(0%" /c]'

      If it works, return "1" , if not "0"

      Comment

      Working...