NetXMS Support Forum

English Support => General Support => Topic started by: TICK_TEL on March 26, 2019, 06:04:05 PM

Title: Disk space free? Volume...
Post by: TICK_TEL on March 26, 2019, 06:04:05 PM
Hello,

I am using the agent to monitor disk space on a few windows boxes. It's pulling in a drive called Volume. I'm not sure what this is I only want 'NORMAL' windows drives such as C:\ D:\ E:\ G:\ to be pulled in. Is there anyway to exclude the volume drives from the Windows Template?

See screenshot attached.

Also I've setup a generic email for LOW and NO DISK SPACE is it possible to have the node name in this email? If so what shortcode do I use to include this? It would just save creating multiple emails/actions for each node?
Title: Re: Disk space free? Volume...
Post by: TICK_TEL on March 27, 2019, 12:54:33 PM
So I've added Disk Space to the windows template and only monitoring C:\ But im getting duping for some reasons this appears twice on the last values page and 3 times in data config.
Title: Re: Disk space free? Volume...
Post by: Tursiops on March 28, 2019, 01:08:56 PM
As the template is using instance discovery (https://www.netxms.org/documentation/adminguide/data-collection.html?highlight=instance%20discovery#instance), your data collection configuration will show:
- The {instance} DCI.
- Any DCIs created by instance discovery based on that {instance} DCI.
Last values will not show the {instance} one.

To filter out volumes you don't want to see, you will want to look at adding an instance discovery filter in the template.
Some examples around filtering file system monitoring can be found at https://www.netxms.org/forum/configuration/dci-filter-script-how-to-ignore-some-filesytems/

To add the node name in the email, you'll want to use the %n macro (name of event source object), as per https://www.netxms.org/documentation/adminguide/event-processing.html#macros-for-event-processing