For anyone who encounters this issue where disk usage alerts are not working on Redhat 5, the issue is that in RHEL5 'df -h' output is multiline.
You can easily fix it by modifying the ossec agent conf. Modify the 'df -h' to 'df -Pkh' and add an alias. <localfile> <log_format>command</log_format> <command>df -Pkh</command> <alias>df -h</alias> </localfile> -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.