DX Infrastructure Manager

Expand all | Collapse all

Monitor Number of Files

Jump to Best Answer
  • 1.  Monitor Number of Files

    Posted 05-29-2017 12:35 PM

    Hi,

     

    How do we monitor the number of files in a UNIX box. We need to have the number of files under a path always equal to 12. I know we can use dirscan on a windows server.

     

    Can we use command mode and run a command to run a command like ls -1 /tmp/nfssync | wc -1 as I wanted to check the number of files in nfssync under tmp to be always equal to 12. When it is not equal to 12 then I need an alert. I checked by running a command and no alert when changes were applied in the probe. Upon checking the logs, I can see that the profile I used to run this is giving value as 0 which should be 12 in this case. Any help here.

     

     

    -kag



  • 2.  Re: Monitor Number of Files

    Posted 05-29-2017 07:24 PM

    dirscan probe can also be used for non windows OS , was that not helpful?



  • 3.  Re: Monitor Number of Files

    Posted 05-30-2017 06:12 AM

    Dirscan probe wont start up and there is no port being picked up. 



  • 4.  Re: Monitor Number of Files
    Best Answer

    Posted 05-30-2017 09:36 AM

    Hello,

     

    I confirm that dirscan also works on non windows OS. You should open a case with support if the probe fail on your box.

     

    Regards.

    Emmanuel