Ad Widget

Collapse

Ftp external check

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TASSA
    Junior Member
    • Dec 2014
    • 27

    #1

    Ftp external check

    Hello guys i found in the forum a simple script that check's ftp server
    but when i try to set it i get "Received value [] is not suitable for value type [Numeric (float)]"

    name "ftp check"
    the folowing setup look like this
    type "external check"
    key "eastcomcheck.sh"
    host interface "x.x.x.x:161"
    type of information "numeric float"


    this is the script
    #!/bin/sh
    HOST='x.x.x.x'
    USER='y.y.y.y'
    PASSWD='x.x.x.x'
    ftp -n $HOST <<END_SCRIPT
    quote USER $USER
    quote PASS $PASSWD
    quit
    END_SCRIPT
    exit 0
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hi,

    "Received value [] is not suitable for value type [Numeric (float)]" means that in this case you basically did not receive a value at all.

    host interface "x.x.x.x:161"

    Aren't you accidentally trying to run a script on a host's SNMP interface?
    If possible, try to select another network interface on that host.

    Best Regards,
    Ingus

    Comment

    Working...