Node Identities
What You'll Learn
How Netdata identifies nodes across Agents, Parents, and Cloud - and why each identity type matters for your infrastructure.
Netdata uses several identity mechanisms to uniquely identify nodes, authenticate connections, and track metrics across your infrastructure. Understanding these identities is essential when:
- Creating VM templates or golden images
- Troubleshooting connection issues
- Moving nodes between Spaces
- Setting up Parent-Child streaming
- Configuring virtual nodes for remote monitoring
Agent Self Identity
Every Netdata Agent has a Machine GUID - a UUID that uniquely identifies this specific node.
| Property | Value |
|---|---|
| File (Linux) | /var/lib/netdata/registry/netdata.public.unique.id |
| File (Windows) | C:\Program Files\Netdata\var\lib\netdata\registry\netdata.public.unique.id |
| Format | UUID (e.g., a1b2c3d4-e5f6-7890-abcd-ef1234567890) |
| Generated | On first start, if missing |
| Persistence | Permanent - never changes once created |
Generation Behavior
On startup, Netdata determines the Machine GUID:
- Read from primary file (
netdata.public.unique.id) - If missing/invalid, read from status file backup
- If still missing, generate new random UUID
- Save to primary file with timestamp
Status File Backups
The Machine GUID is also stored in status files for crash recovery:
| Location | Purpose |
|---|---|
/var/lib/netdata/status-netdata.json | Primary backup |
/var/cache/netdata/status-netdata.json | Fallback 1 |
/tmp/status-netdata.json | Fallback 2 |
/run/status-netdata.json | Fallback 3 |
/var/run/status-netdata.json | Fallback 4 |
Windows status file paths
On Windows, the status file lives under the install directory (C:\Program Files\Netdata):
- Primary:
C:\Program Files\Netdata\var\lib\netdata\status-netdata.json - Fallback:
C:\Program Files\Netdata\var\cache\netdata\status-netdata.json
The same additional fallback locations used on Linux (/tmp, /run, /var/run) also apply on Windows builds, but they resolve through the runtime's own path translation rather than a fixed path under the install directory. If duplicate identities persist after cleaning the two locations above, check those locations too.
Redundant Storage
The Machine GUID is stored redundantly across multiple locations. If the primary file is missing or corrupted, Netdata automatically recovers the GUID from backup locations. This ensures identity persistence across crashes and unexpected shutdowns.
GUID Must Be Unique
If two Agents have the same Machine GUID:
- They cannot connect to the same Parent simultaneously
- Cloud kicks the older connection offline when the second connects
- This causes unstable "flapping" connections
See VM Templates for how to avoid this when cloning VMs.
Virtual Nodes (vnodes)
Virtual Nodes allow Go collectors to report metrics as if they came from separate logical nodes. This is useful for monitoring remote systems, containers, or logical entities that don't run their own Netdata Agent (SNMP devices, cloud provider db instances, etc.).
| Property | Value |
|---|---|
| Directory | vnodes/ in your Netdata config directory |
| Format | YAML files (.yaml, .yml, .conf) |
| Identity | Configured UUID, or a UUID derived from the SNMP address |
Configuration
Static virtual nodes use the existing YAML format (mode: static is optional):
- hostname: remote-server.example.com
guid: a1b2c3d4-e5f6-7890-abcd-ef1234567890
labels:
environment: production
datacenter: us-east
| Field | Required | Description |
|---|---|---|
hostname | Yes | Display name shown in dashboards and Cloud |
guid | Yes | UUID that uniquely identifies this virtual node |
name | No | Ignored for YAML definitions; hostname supplies the reference name |
labels | No | Key-value pairs for filtering and organization |
stale_after | No | Host inactivity timeout as whole seconds or a duration such as 5m. Zero disables the timeout. |
GUID Uniqueness
Each virtual node GUID must be unique across your entire infrastructure. Using the same GUID as another node (real or virtual) causes identity conflicts - the same problems as duplicate Machine GUIDs.
Acquiring Virtual Node Identity Through SNMP
With go.d, a vnode can acquire its hostname and host labels independently of any metrics job:
- name: router
mode: snmp
mode_snmp:
address: 192.0.2.1
version: 2c
credentials:
community: example-community
labels:
site: example-site
nameis required and stays the job reference even if the device's hostname changes.hostnameis an optional override. Otherwise, the vnode uses a usable SNMPsysName, thenname.guidis an optional UUID override. Otherwise, the exactaddressstring determines the UUID. Different spellings for the same device produce different UUIDs; port and SNMP context do not distinguish UUIDs. Supply unique UUIDs explicitly when multiple virtual nodes use the same address.labelsoverride acquired host labels. Removing an override restores the last acquired value.mode_snmp.portdefaults to161,timeoutto5s, andretriesto1; setretries: 0to disable request retries. Automatic profile matching enriches system identity; metric profile coverage is not required.
For SNMPv3, replace credentials with credentials3 and set version: "3":
mode_snmp:
address: 192.0.2.1
version: "3"
credentials3:
username: example-user
security_level: authPriv
auth_protocol: sha512
auth_password: example-auth-password
priv_protocol: aes192c
priv_password: example-priv-password
The version choices are "1", 2c (default), and "3". SNMPv3 supports noAuthNoPriv, authNoPriv, and
authPriv (default). Authentication defaults to sha512; privacy defaults to aes192c. Passwords must contain at
least eight bytes. Inactive credentials are discarded before validation and retention by go.d: authentication and privacy fields
for noAuthNoPriv, privacy fields for authNoPriv, and the credential block for the unselected version. This applies
to both files and forms; switching back requires entering the discarded credentials again. Active credentials remain
strictly validated. Optional credentials3.context_name selects an SNMP context. These new field names
apply to vnode acquisition; existing collector and discovery credential names are unchanged. Use literal credentials;
secret references are not supported in vnode acquisition yet. This does not rewrite source files or scrub the Agent's
saved copy of the originally submitted DynCfg payload.
A usable sysObjectID, sysName, or sysDescr lets attached jobs start. Failed profile enrichment retries while
keeping usable system identity. Acquisition retries every 10 seconds after failure and refreshes complete metadata
hourly. These intervals are internal defaults. Failed refreshes retain the last usable metadata; a successful refresh
replaces acquired labels. Acquisition continues without metrics jobs, but the node is announced only by ordinary
job output.
Acquired metadata is held in memory. After a plugin restart, jobs wait for fresh identity acquisition. Label and hostname override edits need no network request. Credential edits reacquire metadata while retaining the last usable identity. Changing the mode, address, context, or UUID of an existing SNMP vnode is rejected: create a replacement vnode and move job references to it. Static vnode updates retain their existing behavior. The scripts.d and ibm.d plugins ignore SNMP-mode file definitions and expose only static vnode configuration.
Creating Virtual Nodes via the GUI (Dynamic Configuration)
In addition to the YAML file method, you can create, edit, test, and remove virtual nodes directly from the Netdata UI using dynamic configuration (dyncfg). Both methods configure a vnode that collectors can attach metrics to; SNMP mode first acquires a usable device identity. The Vnodes GUI path is available under the go.d plugin's dynamic configuration view.
Where to find it in the GUI
In the Netdata UI, open the node's dynamic configuration view and look for the Vnodes entry under the go.d plugin (/collectors/go.d/Vnodes).
The go.d GUI form selects static or snmp mode. The resource name entered when creating a vnode is its stable reference name. Static mode uses these fields:
| Field | Required in the GUI | Description |
|---|---|---|
guid | Yes | UUID that uniquely identifies this virtual node. Must be a valid UUID. |
hostname | No | Display name shown in dashboards and Cloud. If left blank, the job name you assign when creating the vnode is used as the hostname. |
labels | No | Key-value pairs for filtering and organization. |
The optional stale_after GUI field accepts whole seconds, from 0 to 4294967295. Omitting it preserves any legacy _node_stale_after_seconds label; an explicit value overrides that label, and zero disables it. When the timeout is enabled, stopping a job suppresses its chart cleanup to avoid refreshing host activity. Its charts can therefore remain while another job keeps the vnode active.
Generate a guid with uuidgen on Linux/macOS, or [guid]::NewGuid() in PowerShell. Each guid must be unique across your infrastructure, as described in the GUID Uniqueness warning above. Each hostname must also be unique across all vnodes — the Agent rejects a new vnode whose hostname matches an existing one. See Does renaming a virtual node change its identity? for how each field affects the vnode.
Changes apply without an Agent restart
Vnode changes applied via the GUI are used by subsequent output without an Agent restart. A collection already in progress keeps its routing GUID; the next collection adopts an updated named vnode snapshot.
Removing vnodes depends on how they were created
-
Virtual nodes you create through the GUI are stored with the
dyncfgsource type and can be removed from the GUI. -
A vnode that is currently referenced by one or more collector jobs cannot be removed until those references are cleared; the remove action is blocked in that case.
-
Virtual nodes defined in YAML files in the
vnodes/directory of your Netdata config directory have astockorusersource type — attempting to remove them returns an error: onlydyncfgvnodes can be removed. -
To remove a file-based vnode, delete or edit its YAML file and restart the Netdata Agent.
Attaching a Virtual Node to a Collector Job
Defining a vnode is step 1. The vnode becomes active when a collector job references it by setting vnode in the job's configuration to the vnode's name:
jobs:
- name: win_server1
vnode: remote-server.example.com
url: http://203.0.113.10:9182/metrics
The vnode value must exactly match the vnode reference name. For static YAML definitions, use hostname; for SNMP YAML definitions, use the required name. For GUI definitions, use the resource name assigned when creating the vnode. An unknown name or an SNMP vnode awaiting its first usable identity prevents the job from starting; configured detection retries can start it once the identity is available.
Several jobs can reference the same vnode. Its configured hostname and host labels govern output to its GUID within that plugin process, including collector-generated scopes using the same GUID. Job labels remain chart labels. Removing an unreferenced configured vnode lets generated contributors resume using their own host metadata.
SNMP jobs can use the same vnode: router string reference. This takes precedence over create_vnode, including its default of true. Without a named reference, create_vnode: true retains the existing automatic vnode behavior and local_vnode configures the job-owned identity. Legacy inline vnode objects remain accepted. A named reference supplies identity only: keep the SNMP job's own hostname, credentials, and metric profiles configured.
For a vnode created within an SNMP job, configure local_vnode instead of a named reference:
jobs:
- name: router_metrics
hostname: 192.0.2.1
community: example-collector-community
create_vnode: true
local_vnode:
hostname: office-router
labels:
site: office
Existing SNMP configurations using vnode: { hostname: ..., guid: ..., labels: ... } keep working.
Dynamic configuration returns these settings under local_vnode, so the form can edit them without changing
which host receives metrics. Files are not rewritten. Do not specify both the legacy object and local_vnode.
A string vnode reference takes precedence over create_vnode and local_vnode; configure the central vnode to
change its host labels.
How Virtual Nodes Work
- Define a static vnode with a unique hostname and UUID, or an SNMP vnode with a stable name and acquisition connection
- Configure the collector job with
vnode: <name>to attach it - Metrics are tagged with the vnode's GUID instead of the Agent's Machine GUID
- Cloud sees the vnode as a separate node in your Space
- Parent nodes store vnode metadata alongside Children metadata
Virtual nodes appear in Netdata Cloud as independent nodes, with their own dashboards and alert states.
Hostname Override
By default, Netdata auto-detects the system hostname. When the system hostname is configured as an IP address (common on some cloud VMs or home servers), nodes appear in Dashboards and Netdata Cloud with that raw IP instead of a readable name.
This setting changes the display name only — it does not affect the node's identity (Machine GUID, Node ID, or Claimed ID).
To configure a custom hostname, see Customizing Your Node Name.
Node Lifecycle and Ephemerality
Every node has a lifecycle determined by its ephemerality setting. By default, all nodes are permanent - they are expected to maintain connectivity, and disconnections trigger alerts.
Ephemeral nodes are designed for dynamic infrastructure:
- No alerts when they disconnect
- Automatic cleanup after configurable timeout
- Perfect for auto-scaling and short-lived workloads
To change a node's ephemerality, edit netdata.conf:
[global]
is ephemeral node = yes # Ephemeral - no alerts, auto-cleanup
is ephemeral node = no # Permanent (default) - alerts on disconnect
See Node Ephemerality for detailed configuration options.
Cloud: Node Identity
When an Agent connects to Netdata Cloud, it receives a Node ID that links the Machine GUID to your Space.
| Property | Value |
|---|---|
| Assigned by | Netdata Cloud |
| Stored in | /var/cache/netdata/netdata-meta.db (node_instance table) |
| Purpose | Links Machine GUID to your Cloud Space |
Machine GUIDs and Cloud Node IDs map 1-to-1.
Node Instances
A single Machine GUID can have multiple Node Instances in Cloud when the same node connects through different Parents. Each Parent-node connection creates a separate node instance. Although, Node Instances are critical in metrics routing decisions and alerts deduplication, they are usually not visible to users.
Agent-Cloud Link (ACLK) Identity
The Agent-Cloud Link (ACLK) uses separate credentials for authentication:
| File | Purpose |
|---|---|
/var/lib/netdata/cloud.d/cloud.conf | Cloud configuration, contains claimed_id |
/var/lib/netdata/cloud.d/private.pem | RSA private key |
/var/lib/netdata/cloud.d/public.pem | RSA public key |
Claimed ID
The Claimed ID is a random UUID generated during the claiming process. It's separate from the Machine GUID, as it uniquely identifies the link between the Agent and Cloud.
| Property | Description |
|---|---|
| Purpose | Authenticates the ACLK connection to Netdata Cloud |
| Generated | During the claiming process |
| Independence | Separate from Machine GUID - they can change independently |
| Regeneration | A new Claimed ID is generated each time the agent is re-claimed |
Custom Paths
If you customized [directories] in netdata.conf:
libsetting affects/var/lib/netdata/pathscachesetting affects/var/cache/netdata/paths
On Windows, the ACLK credentials live under C:\Program Files\Netdata\var\lib\netdata\cloud.d\.
Parent: Children Identities
When a Netdata Agent operates as a Parent (receiving metrics from Children), it stores metadata about all nodes it has seen.
| Property | Value |
|---|---|
| Database | /var/cache/netdata/netdata-meta.db |
| Table | node_instance |
| Contains | GUIDs of all Children ever connected |
Relationship Between Metadata and Metrics
Each metric in Netdata has a UUID. The metadata database (netdata-meta.db) links these UUIDs to nodes, charts, and dimensions. The dbengine stores metric samples indexed by these UUIDs.
| Component | Purpose |
|---|---|
Metadata (netdata-meta.db) | Links metric UUIDs to node GUIDs, charts, dimensions |
Dbengine (dbengine* directories) | Stores actual metric samples indexed by UUID |
The metadata acts as an index - without it, metric samples in dbengine cannot be associated with their source nodes or chart definitions.
Key Point: Metadata DB Does Not Determine Agent Identity
The metadata database stores information about all nodes (including the Agent itself), but this data exists only to link nodes with their metrics. The Agent's identity is not determined by the database - it comes exclusively from:
- The GUID file
- Status file backups
Multiple Node Identities in Database
When a database contains metadata for multiple nodes (from Children or Virtual Nodes), Netdata:
- Reports all nodes - All known nodes are reported to Netdata Cloud
- Retention persistence - Node entries persist in Cloud until database retention expires (can be years with tiering)
This is normal for Parent nodes receiving data from Children, and for Agents using Virtual Nodes. See VM Templates for implications when cloning VMs.
FAQ
How do I find my node's Machine GUID?
Read the GUID file:
Linux:
cat /var/lib/netdata/registry/netdata.public.unique.id
Windows (PowerShell):
Get-Content "C:\Program Files\Netdata\var\lib\netdata\registry\netdata.public.unique.id"
Can I change my node's Machine GUID?
Yes, but it will appear as a new node in Netdata Cloud and Netdata Parents. Delete the GUID file and status backups, then restart Netdata. See VM Templates for the complete procedure.
Why does my node keep going offline/online in Cloud?
Two agents likely have the same Machine GUID. This causes "flapping" as Cloud kicks the older connection when the second connects. Each agent needs a unique GUID.
What's the difference between Machine GUID, Node ID, and Claimed ID?
- Machine GUID: Agent-generated, identifies the node itself, never changes
- Node ID: Cloud-assigned, links the Machine GUID to your Space
- Claimed ID: Agent-generated during claiming, identifies the ACLK connection
Do containers need unique GUIDs?
Containers with ephemeral storage get unique GUIDs automatically on each start. Containers with persistent volumes at /var/lib/netdata/ retain their GUID across restarts.
Can the same node exist in multiple Spaces?
No. A node can only exist in one Space. To move a node to a different Space, unclaim it first, then claim to the new Space.
Does ephemerality affect my node's identity?
No. Identity and ephemerality are separate concepts:
- Identity (Machine GUID, Node ID) uniquely identifies the node
- Ephemerality determines lifecycle behavior (alerts, cleanup)
A node can be permanent or ephemeral and still have a unique identity. Changing ephemerality does not change or reset identity.
Can I change a node's ephemerality after cloning?
Yes. Edit netdata.conf in your Netdata config directory and restart Netdata:
[global]
is ephemeral node = yes # Enable ephemeral behavior
is ephemeral node = no # Revert to permanent (default)
Changes apply immediately. Ephemerality is stored as a host label and propagates to Parents and Netdata Cloud.
How do I rename a node?
A node's display name is determined by the hostname setting in netdata.conf under the [global] section. To rename a node, edit netdata.conf and set:
[global]
hostname = my-new-node-name
Use the edit-config script to safely edit configuration files, then restart Netdata.
Changing the hostname does not change the Machine GUID, Node ID, or Claimed ID. The node remains the same entity in Netdata Cloud and on Parent nodes. Historical metrics are preserved because they are keyed by Machine GUID, not hostname.
Do not use NETDATA_HOSTNAME as an environment variable to set the hostname.
NETDATA_HOSTNAME is an output variable set by the Netdata daemon at runtime for use by plugins and scripts — it is not an input configuration. To override a node's name within Netdata, use the hostname setting in netdata.conf. If hostname is not set, Netdata falls back to the system/container hostname.
The updated hostname propagates to Parent nodes and Netdata Cloud on the next connection.
For virtual nodes, see Does renaming a virtual node change its identity?.
Does renaming a virtual node change its identity?
A virtual node's identity is determined by its UUID. This is either explicitly configured as guid or, for an SNMP vnode without an override, derived from its exact configured address. The fields behave as follows:
guid— This is the vnode's identity. Changing it creates an entirely new node in Netdata Cloud. The old vnode's historical data remains under the old GUID but is no longer associated with the new one.hostname— The display name, and the reference key for static YAML definitions. Changing it without changing the UUID renames the display. Update job references too when renaming a static YAML definition.name— Required as the stable reference key for SNMP YAML definitions. Static YAML definitions ignore this field and usehostname; GUI definitions use their resource name.
To preserve data continuity when renaming a vnode, edit hostname in the configuration source you used: its YAML file in the vnodes/ directory of your Netdata config directory, or its Vnodes GUI configuration. Keep any explicit guid unchanged. For an SNMP vnode with a derived UUID, keep the exact address unchanged too.
SNMP hostname overrides preserve the stable reference name. Changing an existing SNMP vnode's mode, address, context, or UUID requires a replacement vnode. Historical data belongs to the old UUID.
How do I find the UUID of my existing vnode?
If the vnode has an explicit guid, that value is its UUID. Look it up in the configuration source:
- YAML-defined vnode: read its
guidin thevnodes/directory of your Netdata config directory. - GUI-created vnode: open the node's dynamic configuration view, select go.d → Vnodes, and inspect the vnode's
guid. GUI-created definitions are managed through dynamic configuration; they do not require a YAML file invnodes/.
To inspect YAML definitions:
# Default path — adjust if your Netdata config directory differs.
cat /etc/netdata/vnodes/*
Static vnodes require an explicit guid. SNMP vnodes can omit it in either YAML or the GUI; their UUID is then derived from the exact mode_snmp.address string. The derived UUID is not written back into the authored configuration. It becomes visible with the vnode when an attached collector job publishes that node.
See Virtual Nodes for the full configuration reference.
Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.