Easy Directory & File Monitoring with Kaseya Network Monitor

This post is the first post (!) in a series that will offer tips and tricks for the newest addition to the Kaseya family, Kaseya Network Monitor. Feel free to sound of in the comments if you have any questions or requests for articles in this series.

One of the most important aspects of a monitoring system is its capabilities to monitor all kinds of file and folder related processes. KNM has several ways to perform file and folder monitoring, one of them being the directory property monitor.

The directory property monitor is a flexible file and folder monitor that can test file count, directory size, relative size changes and age of files in a directory. The test can be limited in scope to files matched by a wildcard. The directory property monitor also stores statistical data, for each test it stores the size of the directory and the number of files it contains. This data can later be used in reports.

Directory property monitor in action

The configuration of the monitor is straight forward, just remember that the path is relative to the monitored device. For example \\mymachine\myshare would be entered as \myshare only.

Property page

The following scenarios can be monitored:

  • Directory contains a minimum number of files
  • Directory contains a maximum number of files
  • Oldest file in directory is not older then a certain number of hours
  • Newest file in directory is not older than a certain number of hours
  • Relative directory size between test
  • The absolute size of files in directory

Sometimes even this is not enough, thats where Lua scripts come in to the picture. Next time we will take a look at the Lua scripting language thats built into KNM and how to use the Lua Integrated development environment that ships with KNM.

9 Responses to “Easy Directory & File Monitoring with Kaseya Network Monitor”

  1. Kenny September 21, 2011 at 1:18 am #

    Hi there, is this Kaseya Network Monitor module can do file change audit? such as last modified by whom, deleted by whom ,created by whom?

    • robertaronsson September 26, 2011 at 2:54 am #

      Not currently but I will add it to our suggestion box !

  2. Jonas September 23, 2011 at 2:46 am #

    Hi!

    When is version 5 of the network monitoring software going to be released?

    Jonas

    • robertaronsson September 26, 2011 at 2:54 am #

      No information on any date yet, sorry.

  3. Tijs October 15, 2011 at 5:34 am #

    Unfortunately it only calculates the size inside the specified folder. It doesn’t calculate the size of the subdirectories recursively. Any chance this is added in the future?

    • Robert October 19, 2011 at 12:01 am #

      Will considering add a option for this. If you feel like trying out Lua script, a small script that summarize the size of a folder and its sub folder using the TLuaFile class would be quite easy to put together.

      http://help.kaseya.com/WebHelp/EN/KNM/4000000/API/EN_KNMAPI40.pdf

    • Robert October 29, 2011 at 1:42 am #

      The option is now implemented and will be in a release in a not so distant future.

  4. Tijs April 25, 2012 at 3:06 pm #

    Hello Robert,

    Am happy to see you that you implemented the feature! Any Chance for this monitor, to include all subdirectories also? output would be like this:

    folder 1 (root folder)8 MB
    folder 1a (subfolder) 2 MB
    folder 1b (subfolder) 6 MB

    In the graph it would show folder 1(as a total) and 1a and 1b as colored lines trough the graph.

    a LUA script for this output would be nice as well! We use this for monitoring user profiles & homefolders.

    An exchange user mailboxes (not DB!) sizes script or integrated monitoring for this would be nice as well! Currenctly this is the only lacking option in KNM for us. Can you submit it as a feature request?

Leave a Reply:

Gravatar Image

-->