Ad Widget

Collapse

SNMPping?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • low10sws6
    Member
    • Oct 2008
    • 44

    #1

    SNMPping?

    how would i sent up an item to do a simple up or down check using say SNMP to send out a query and wait for a response given a few seconds no response status down; response status up.
  • troffasky
    Senior Member
    • Jul 2008
    • 568

    #2
    Is ICMP ping not right for what you want to do? What you have to bear in mind is that if the device you are trying to poll is down, Zabbix won't store any value for that item. I think an ICMP check would be better, or if the device can't/won't respond to ICMP, then a simple TCP connect check.

    Comment

    • low10sws6
      Member
      • Oct 2008
      • 44

      #3
      I've tried ICMP, but with no luck I get a permission denied, all permission/flags, and ownership are set correctly for fping.

      From what Ive been reading fping works with debian users, im using redhat/centos.

      so unless i'm unclear on a few things or doing something iwrong i have not been able to get fping to work no matter what i do

      from the cli fping works correctly under any user

      Comment

      • troffasky
        Senior Member
        • Jul 2008
        • 568

        #4
        Originally posted by low10sws6
        from the cli fping works correctly under any user
        Including the user the zabbix services run as?

        Comment

        • low10sws6
          Member
          • Oct 2008
          • 44

          #5
          i got it to work

          i had to restart the machine before my changes to effect
          Last edited by low10sws6; 06-11-2008, 20:31.

          Comment

          • low10sws6
            Member
            • Oct 2008
            • 44

            #6
            just in case some are wanting to know what i did.

            i
            >groupadd zabbix
            >vim /etc/group
            --added all users to zabbix group
            >chown root:zabbix /usr/sbin/fping
            >chmod 710 /usr/sbin/fping
            >chmod ug+s /usr/sbin/fping

            Comment

            Working...