NetXMS Support Forum

English Support => General Support => Topic started by: binjabra on December 15, 2013, 10:16:29 AM

Title: Data Collection
Post by: binjabra on December 15, 2013, 10:16:29 AM
Dears,
kindly. I want to explain to me about 'Data Collection' and how to create new Data Collection.
Thanks a lot for you help me.
Title: Re: Data Collection
Post by: Victor Kirhenshtein on December 15, 2013, 10:33:35 AM
Hi!

There is a separate section in manual dedicated to data collection: https://www.netxms.org/documentation/adminguide/data-collection.html (https://www.netxms.org/documentation/adminguide/data-collection.html). Please read it first and feel free to ask any specific questions not covered in the manual.

Best regards,
Victor
Title: Re: Data Collection
Post by: binjabra on December 16, 2013, 12:28:51 PM
First Sorry if my question and information Incorrect about this
Because of this first time for me (I am learning)

I want create new one for the if the folder add new file show me message   (For Agent)

what is the method for the data collection

and the show message for the Thresholds

example :  like if the node down they show me message (For Agent)

thanks a lot for help me.
Title: Re: Data Collection
Post by: Victor Kirhenshtein on December 18, 2013, 01:17:34 PM
Hi!

For generic step by step instruction on configuring data collection and notification, you can read this tutorial: http://wiki.netxms.org/wiki/How_to_send_e-mail_notification_when_disk_space_is_low (http://wiki.netxms.org/wiki/How_to_send_e-mail_notification_when_disk_space_is_low). You only will need to change parameter you are monitoring. For monitoring new files in directory, you can use parameter File.Count, like this:

File.Count(/tmp)

will get total number of files in /tmp directory. If you need count files by mask, you can add pattern as second argument, like this:

File.Count(/tmp,ssh*)

will get number of files with names starting with "ssh" in /tmp directory.

Best regards,
Victor