How to use "External Resources" or "Custom Attributes"

Started by stoffmann, May 14, 2025, 09:11:58 AM

Previous topic - Next topic

stoffmann

Hi,

what is the "External resources" or "Custom Attributes", in the Node properties meant for?
My idea was that I e.g. enter the managament URL from our Azure VMs there and then have a way to
open that URL by adding it to the Tools menu to open that URL. Is that possible?

It should open a webbrowser pointing to the URL configured in eather "External Resources" or "Custom Attributs". Whatever is easier.

Best regards

Stefan

Filipp Sudanov

Hi,

External resources are meant to store URLs. They are visible in the Overview tab of a node.

Custom attributes are for storing any custom information you need. They have inheritance, so you can specify a custom attribute on container and it will be on node under that container. A few use cases:
- If you have a template that needs to be applied only to specific nodes - it's autobind script can check for a custom attribute.
- Check File system: free space on {instance} DCI from Operating Systems->Windows template. Note how threshold value is configured.
- You can add text from custom attributes to your event messages or notification text by using %{custom_attribute_name} macro.

You can have object tool that uses URL from a custom attribute, just use %{custom_attribute_name} in that tool.

stoffmann


stoffmann

I think I must doing something wrong using the custom attributes for tools.
What I did:

1. Create a custom attribute
Name: AzureVM
Value: https://portal.azure.com/#home

2. Create a new menu entry in Object Tools
Type: URL
Name: Open Azure
URL: %{AzureVM}

Selecting this in the tools menu on the node I set the custom attribute results in opening File Explorer.

Any thoughts?

Best regards

Stefan

Filipp Sudanov

Are you using desktop client? Legacy or new one? What exactly version of the client? What is the OS?

stoffmann

I use the new desktop client and the WebUI.
AS is Windows 11 when using WebUI or Windows Server 2022 when using Desktop Client.
Both NetXMS Clients are version 5.2.1.


Filipp Sudanov

Make sure that you start your url with http:// or https://
Windows is analyzing the URL and decides somehow which app should be used for opening. URL like file:///C:/ does indeed open in File Explorer

stoffmann

Hi,

I have the HTTPS:// in the custom attribute.
See attached screenshots.