Ad Widget

Collapse

icmppingsec to remote host shows "not supported"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Menocu
    Junior Member
    • Jan 2007
    • 9

    #1

    icmppingsec to remote host shows "not supported"

    I am attempting to use the icmppingsec simple check to ping a remote IP. I have set up my item like:
    Description: remote ping
    Type: Simple Check
    Key: icmppingsec[74.125.47.104]
    Type of Information: Numeric (float)

    The check always lists "Not Supported". Here is the output from the log:
    Simple check [net.tcp.service[icmppingsec[74.125.47.104],127.0.0.1]] is not supported

    I know the default value for icmppingsec is localhost, but I'm not sure why it's picking it up after I specified a value for the IP. I also tried setting my key as Key: icmppingsec[74.125.47.104,] and that didn't work.

    Here are the permissions on fping:
    -rwsr-xr-x 1 root root 22348 2006-06-26 05:54 fping

    Here's the line from my config file:
    FpingLocation=/usr/sbin/fping

    there is a symlink at /usr/sbin/fping to /usr/bin/fping.

    I am hoping I'm an idiot and missed something obvious. I searched around a read the manual and didn't find anything, so if you could please give me a hand it would be very much appreciated.
    Thanks in advance
  • Menocu
    Junior Member
    • Jan 2007
    • 9

    #2
    Solution

    I figured this out; I had a host called "website monitor" at 127.0.0.1 that I was trying to configure icmppingsec[remotehostip] on.

    In order to ping a remote host I created a host with the remote IP I wanted to ping, then used icmppingsec with no parameters. I believe it is now pinging the remote host.

    I think I was confused by the documentation; the manual states that all simple checks accept two parameters, IP address and port number. I am guessing this is not the case with icmppingsec.

    Comment

    Working...