Ad Widget

Collapse

Discovery problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Icenode
    Junior Member
    • Apr 2009
    • 27

    #1

    Discovery problems

    I've setup a Discovery rule for the 192.168.1.x subnet. I've enabled ICMP and Zabbix agent.system.hostname for the checks. I had the same rule on my lab box I had used to trial Zabbix and it worked fine. However now it seems that the ICMP discovery isn't working at all on new box. I am ending up with the following error repeated in the log.

    Code:
    /usr/local/sbin/fping6: [2] No such file or directory
    But I have fping6 rem'd out completely in my server conf file. Why isn't it using standard fping? My lab box seemed to use fping fine.

    Code:
    # Location of fping. Default is /usr/sbin/fping
    # Make sure that fping binary has root permissions and SUID flag set
    FpingLocation=/usr/local/sbin/fping
    
    # Location of fping6. Default is /usr/sbin/fping6
    # Make sure that fping binary has root permissions and SUID flag set
    #Fping6Location=/usr/sbin/fping6
    I also haven't seen any indication that the Zabbix agent.system.hostname check is working. Although I have only had it setup for about 5-10 minutes and only have 1 agent out there for it to discover, so it's possible it just hasn't tested it yet.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Originally posted by Icenode
    Why isn't it using standard fping? My lab box seemed to use fping fine.
    Because you compiled Zabbix with IPv6 support.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Icenode
      Junior Member
      • Apr 2009
      • 27

      #3
      I see, I was under the impression that fping6 was ONLY for IP6 and that standard fping was used for IP4. This confusion came from the port descriptions themselves, and not zabbix documentation. Thanks for clearing that up for me.

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        Originally posted by Icenode
        I see, I was under the impression that fping6 was ONLY for IP6 and that standard fping was used for IP4. This confusion came from the port descriptions themselves, and not zabbix documentation. Thanks for clearing that up for me.
        I think my answer was too brief. IPv6 pinger is supposed to be executed only if Zabbix was compiled with IPv6 support and you have IPv6 style IP addresses for pinging.

        If you use IPv4 addresses only, no fping6 will be executed.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • Icenode
          Junior Member
          • Apr 2009
          • 27

          #5
          Ok, then I'm confused again, here is my discovery range.
          Code:
          192.168.1.1-255
          I don't see a reason for it to call fping6, however, I have installed fping6 after your previous post and the ICMP Ping discovery is indeed working now.

          Comment

          Working...