Hi Peter,

Indeed, only the attributes involved in the alert condition are 
displayed in the alert.
The directories are identified here by their fid, which in unique and 
ensure you look for the right directory
even if it is moved somewhere else.
You can retrieve the current path for the directory by running: lfs 
fid2path 'fsname'  'fid'
e.g. lfs fid2path lustre 0x200002eeb:0x1b5a:0x0

But it's true that hndling ids is not very user friendly...
As a workaround, you can force robinhood to display the path by adding a 
dummy condition
on "path" or "tree" in the alert specification, for example: type == 
directory and tree == /fsroot" and ...
This might do the trick.

Regards,
-Thomas

On 12/19/13 23:13, Doherty, Peter Charles wrote:
> Hi,
> I’m pretty new to Robinhood, so I’m still learning the ropes, but so far, I 
> think it’s great.
>
> I created a couple alerts to look for dirs with more than 10K files in them.
> The alert I got looks like what’s below.  There’s no path.  the snippet from 
> the config is at the bottom.  What did I do wrong?
>
>
>
> ==== alert 'large_flat_directory' ====
>
> [0x200002eeb:0x1b5a:0x0]
> Entry info:
> Type:     dir
> DirCount: 43332
> Last Mod: 44.3min ago
>
> [0x200bae3d8:0x159a8:0x0]
> Entry info:
> Type:     dir
> DirCount: 12230
> Last Mod: 35.8min ago
>
>
>
>
> config:
>
>
>
> EntryProcessor
> {
>      nb_threads  = 8;
>      Alert large_flat_directory
>      {
>          type == directory
>          and
>          dircount > 10000
>          and
>          last_mod < 2h
>      }
>
>
>
>
>
> Thanks,
> Peter
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> robinhood-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/robinhood-support


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to