Update dsmon.sh
This commit is contained in:
1 parent
82df3c400a
commit
f5fc8fb48a
1 file changed
+3
-1
@@ -350,7 +350,9 @@ GETCRONTAB(){
|
||||
fi
|
||||
|
||||
while read host hostname; do
|
||||
echo ":: $host - $hostname"
|
||||
if [ "${host}" != "host" ]; then
|
||||
echo ":: $host - $hostname"
|
||||
fi
|
||||
done <<< $(MYSQL_PWD="sysmoninsert" mysql -h mysqldb.scity.us -P 3306 -u sysmoninsert -e "SELECT host,hostname FROM servermonitor.hosts WHERE id=${SERVERMON_ID} ORDER BY host ASC")
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user