Monitoring /dev/ttyUSB*

2017-08-03 Thread Tino Hendricks
Dear list, is there any chance to check permissions on a device like /dev/ttyUSB0 without use of an external script? Thanks in advance! Tino -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: how to disable a specific event globally on the m/monit?

2017-08-03 Thread mart...@tildeslash.com
Hello Jorge, you can create an exclude list, for example to disable "Monit instance" events (Monit start/stop/reload): Best regards, Martin > On 3 Aug 2017, at 04:39, Jorge Pereira wrote: > > Hello List, > > how to disable a specific event globally on the m/monit? >

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,