How to disregard motd?


#1

im using check_by_ssh but the problem is I can’t remove the motd since my boss doesn’t want to remove it. Is there a way where i can bypass this motd thing??? i tried this command

./check_by_ssh -H 192.168.8.66 -C “/home/noc/check_disk -w 10% -c 5% /” -l noc -S 10000

-S, --skiplines=n
Ignore first n lines on STDERR (to suppress a logon banner)

Is -S referring to MOTD???

Need help!!! THX!