Re: "if failed gid disk then alert" throws syntax error

2017-08-04 Thread Marcus Mülbüsch
Am 03.08.2017 um 16:53 schrieb mart...@tildeslash.com: Hello Martinm the "disk" is now reserved word, you need to quote it if you want to use it as gid. Example: Thank you! I realized it became a reserved word, but didn't realize that qouting will help! Marcus -- To unsubscribe:

Re: "if failed gid disk then alert" throws syntax error

2017-08-03 Thread mart...@tildeslash.com
Hello Marcus, the "disk" is now reserved word, you need to quote it if you want to use it as gid. Example: check filesystem root_fs with path /dev/sda5 if failed uid "root" then alert if failed gid "disk" then alert Best regards, Martin > On 3 Aug 2017, at 16:44, Marcus

"if failed gid disk then alert" throws syntax error

2017-08-03 Thread Marcus Mülbüsch
Hello all, the following tests works well with monit-5.20.0 check filesystem root_fs with path /dev/sda5 if failed uid root then alert if failed gid disk then alert as "ls -l /dev/sda5" shows (not surprisingly): brw-rw 1 root disk 8, 5 Aug 3 16:33 /dev/sda5 However,