2013-01-10 07:40 AM
I am working on a monitor that will allow me to alert on directories that are in a warning state for approaching maxdir size. I obtained these steps that I have followed from this forum (I believe, but cannot seem to find the link anymore):
# dfm alarm create -E [email] -h maxdirsize-limit-reached --l 00:00 -m 23:59 -v Information
Once verifying the filer option `options wafl.maxdirsize`, I then triggered the alert condition on the filer by creating a directory exceeding that threshold. I am seeing entries in /etc/messages but I am not receiving the alerst that I would expect to.
Has anyone tried this before that could provide me some additional feedback on what I might be doing wrong here?
2013-01-12 02:53 AM
The Max dir event and autogrow events in DFM is not by polling, instead SNMP traps from controller to DFM are converted as dfm events.
So in order to get these events triggered in dfm you will have to set DFM server as SNMP trap host in the controller.
2013-01-12 04:33 AM
You might find this KB useful.
How to configure DFM Alerts for Volume Autosize, Maxdirsize Reach, or Snapshot Autodeletion