Besides the vnodes.conf file you also need to make sure the go.d/windows.conf has the reference to vnode with the name you gave to the hostname on vnodes.conf. There see the example here on the Config collapsed section
Here is the debug log there is strange error “Unknown file format” but a s a warning only the system recognizes the vnode and GUID
----> DBG vnodes/vnodes.go:85 adding virtual node’{GUID:5fb7b73b-a594-4b40-853c-458c228caf66 Hostname:pcl1manos Labels:map}’ (/opt/netdata/etc/netdata/vnodes/vnodes .conf) component=vnodes
INF agent/setup.go:177 found ‘/opt/netdata/etc/netdata/vnodes’ (1 vhosts) component=agent
INF discovery/manager.go:61 instance is started component=“discovery manager”
INF functions/manager.go:50 instance is started component=“functions manager”
INF jobmgr/manager.go:87 instance is started component=“job manager”
DBG functions/ext.go:15 registering function ‘config’ component=“functions manager”
CONFIG go.d:collector:windows create accepted template /collectors/jobs internal ‘internal’ ‘add schema enable disable test’ 0x0000 0x0000
INF file/discovery.go:69 instance is started component=discovery discoverer=file
INF file/read.go:48 instance is started component=discovery discoverer=file
Hello, i have tried the setup with windows.conf and vnodes.conf on W10 machines and windows server 2022 machines but unfortunately I cannot get the vnodes to work. I am running the agent on a redhat server.
I even tried to “cmod -R 777 /opt/netdata” so netdata user are owner
The validation you did on this YAML Lint is for the vnodes.conf file, could you also please validate the windows.conf which is the one that seemed to have issues.
If both are correct then please run this again in debug mode and share the output.
Yes, but docker issues are unrelated to the topic.
But it is in the logline (still - unrelated)
INF dockerd/docker.go:95 instance is started component=“service discovery” discoverer=docker
----> ERR dockerd/docker.go:112 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? component=“service discovery” discoverer=docker
Docker service discovery failed to start because Docker is not running.
I see
INF module/job.go:244 check success collector=windows job=win2srvtest
CONFIG go.d:collector:windows:win2srvtest status running
OK so if there is no error why Vnodes are not showing up in the cloud room? Is there another way to define vnodes directly from the cloud room like the dynamic configuration; t.ex.
UPDATE:
Without any change the vnodes now appear in the cloud room!!
UPDATE 2:
two vnodes are defined as follows in windows.conf