DX Unified Infrastructure Management

Expand all | Collapse all

Does anyone have a way to search files when disk space alert is fired?

  • 1.  Does anyone have a way to search files when disk space alert is fired?

    Posted Jun 01, 2010 10:05 PM

    I'm wondering if there is a way to search directories when disk space alerts are generated. Then attach a note to the alert. I know dirscan can look a directories, but I'm not sure on the correlation part.



  • 2.  Re: Does anyone have a way to search files when disk space alert is fired?

    Posted Jun 01, 2010 11:59 PM

    I think the best way to do this is find a command (or write a short script) that returns the data you want, and configure the nexec probe to run the script. Use a NAS script to launch the command using the run_profile callback of the nexec probe, and then take the result and attach it as a note to the alarm. The NAS script would kick off when the alarm initially appears on the NAS.

     

    Make sense?

    -Keith



  • 3.  Re: Does anyone have a way to search files when disk space alert is fired?

    Posted Jun 08, 2010 05:20 PM

    Thank you Keith,