Ad Widget

Collapse

icmpping trigger issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alan.oceallaigh
    Junior Member
    • Oct 2009
    • 11

    #1

    icmpping trigger issue

    Hi all,

    I'm running into an issue where an icmpping item is not working for any hosts. I can see from the zabbix_server.log that fping is reporting that the hosts are alive so I believe that the issue is most likely with my trigger, however the trigger is pretty basic. I have searched the forums and haven't found any posts with this issue so I assume that I'm doing something stupid somewhere along the line.

    I'd like to be able to do a bit more eventually but for now I'm focusing on getting the basic ping working. The expression I'm using for the trigger is:

    {hostname:icmpping.last(0)}=0

    This fails immediately. I am a newbie to Zabbix and any help would be very welcome.

    This is Zabbix v1.6.6. Please let me know if any further information is needed.

    Thanks and regards,

    Alan
  • alan.oceallaigh
    Junior Member
    • Oct 2009
    • 11

    #2
    More information

    The process I went through in Zabbix so far is:

    1. Created a host, host-a.domain.com

    2. Added an item 'ping host-a.domain.com' using the icmpping simple check

    3. Added a trigger 'ping host-a.domain.com' using the expression:

    {host-a.domain.com:icmpping.last(0)}=0

    4. Verified that /usr/sbin/fping location is set correctly in /etc/zabbix/zabbix_server.conf and that it is owned by user and group root and has the setuid bit set.

    5. The Zabbix server log file shows that the ping is successful and the host is "alive".

    6. The Zabbix dashboard raises an alert that the host is down!?

    I am at a loss as to where this is breaking down at this stage.

    Thanks and regards,

    Alan
    Last edited by alan.oceallaigh; 05-11-2009, 12:46.

    Comment

    • alan.oceallaigh
      Junior Member
      • Oct 2009
      • 11

      #3
      Solution

      Okay, replying to myself again

      The solution is that I am using the version of fping from rpmforge (my OS is CentOS 5.3) and this version is not patched for the -S source IP switch that Zabbix uses.

      I commented out the SourceIP parameter in my zabbix_server.conf and restarted Zabbix and now the icmpping trigger appears to be working as expected.

      Regards,

      Alan.

      Comment

      Working...