Hi,

I would like to test the permission and the gid of a device file which
is not a block device for a filesystem.


When I try

   check file dev-ipmi0 with path /dev/ipmi0
   if failed permission 660 then
   exec "/bin/chgrp nagios /dev/ipmi0;/bin/chmod 660 /dev/ipmi0"

"monit -t" is OK, but "monit summary" shows

File 'dev-ipmi0' Invalid type


Is there a way to achieve the test ?



Best regards

Tim
 



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to