Configure certain servers to monitor disk space using NETXMS

Started by czimmermann, December 02, 2008, 11:19:58 PM

Previous topic - Next topic

czimmermann

Hello,

I am new to NETXMS and I have been tasked to have NETXMS maintain certain features on our network. I would like to figure out how to monitor disk space. I have briefly looked over the documentation and searched the forums to no avail. So I have turned to you.

Please help me NETXMS community, you're my only hope.

-Clayton Zimmermann

Victor Kirhenshtein

Hi!

You need NetXMS agent installed on target machine, and than you can get disk space information via Disk.Free, Disk.Used, etc. parameters. For example, to configure free disk space monitoring on disk C:, do the following:
1. Select node in object browser
2. Right click on it, and select Data collection
3. Add new DCI, leave origin as "NetXMS Agent", press "Select...", and select Disk.Free parameter.
4. Inside the parenthesis, enter C:. You parameter's name should look like
Disk.Free(C:)
5. Configure thresholds if necessary.

That's all - as soon as you create new DCI, NetXMS server will start collecting information.

Best regards,
Victor

czimmermann

Thank you. I am currently trying what you suggested. I will post again if I have any problems.

czimmermann

#3
I was able to follow your steps and monitor one drive successfully. Is it possible to monitor multiple drives in one Data Collection Item? Such as if you put C:,D: in the argument section of the Parameters would it monitor the C and D drives to 75% capacity? Or is there a command to monitor all possible drives in the same DCI?

Thanks.

--Edit
Is there a way to send a DCI to multiple but not all nodes? I need this exact DCI to go to about 23.

Anth0ny

For monitoting multiple drives you can't use single DCI. You can use a Condition to bind all drive's DCIs to one monitoring object.

Victor Kirhenshtein

Quote from: czimmermann on December 10, 2008, 01:07:17 AM
I was able to follow your steps and monitor one drive successfully. Is it possible to monitor multiple drives in one Data Collection Item? Such as if you put C:,D: in the argument section of the Parameters would it monitor the C and D drives to 75% capacity? Or is there a command to monitor all possible drives in the same DCI?

You can create DCI which summarizes values of two DCIs via transformation script.

Quote from: czimmermann on December 10, 2008, 01:07:17 AM
Is there a way to send a DCI to multiple but not all nodes? I need this exact DCI to go to about 23.

You can use templates for this. Create template with required DCIs, and then apply it to nodes you wish these DCIs to appear on. Any future changes in template will also reflects on nodes this template applies to. To simplify DCI creation in template, you can create empty template, open data collection configuration fr node where you have already configured DCIs, and then move DCIs to template by right-click and selecting "Convert to template item".

Best regards,
Victor

czimmermann

Thank you again. Very helpful. I created templates and I am currently monitoring drives without any problem.