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
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
Comment