Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

daniel304

Reviews(2)
bydaniel304, May 6, 2014
NCPA
please update your init files for both listener en passive in the debian packages

status() {
if [ -f /usr/local/ncpa/var/ncpa_passive.pid ]; # needs space before ] and said ncpa_posix_passive
then
pid=`cat /usr/local/ncpa/var/ncpa_passive.pid` # said ncpa_posix_passive
echo "Process running with PID $pid"
else
echo "Process is not running."
fi
}
bydaniel304, August 30, 2012
LFTP won't just overwrite a local file

36a37
> FILEPUT=${FILEDIR}${FILENAME}.put
105c106
/dev/null
---
> ${LFTP} -u ${USERNAME},${PASSWORD} -p${PORT} -e "GET ${FILENAME} -o ${FILEPUT}; QUIT" ${HOSTNAME} &> /dev/null
109a111
> rm ${FILEPUT}
120d121