Add Vcenter to Xormon NG 1.9.0

Hello,

I'm creating this post because I can't bring up the vcenter data in xormon ng.

I also added stocakge bays and it works without problem.

Here are the logs:

xormon@xormon:~/xormon-ng/server-nest/microservices/vmware/lpar2rrd$ ./load_vmware.sh

jobs -l vmware :

[1]+ 583159 Running         $BINDIR/vmware_run.sh &

vmware timeout : timeout has been set to 3550

$wrkdir is   : /home/xormon/xormon-ng/server-nest/microservices/vmware/lpar2rrd/../../../logs/vmware/data

Parallelization: ESXi.. Cluster.. Datastore..

Vmware  start: || Wed Jul 2 07:15:05 2025 PID 583166 ScriptSize 362960

Perl version  : 5.036000

ERROR     : vmw2rrd failed during connect: not defined username /home/xormon/xormon-ng/server-nest/microservices/vmware/lpar2rrd/bin/vmw2rrd.pl:560

vmware finish : status 0

vmware timeout : expired after 3550, killing : kill -TERM -583159

Vcleaning procs: 583159

Vcleaning done : 583159

An error occured in lpar2rrd, check /home/xormon/xormon-ng/server-nest/microservices/vmware/lpar2rrd/../../../logs/vmware/logs/error.log-vmware and output of load.sh


$ tail -5 /home/xormon/xormon-ng/server-nest/microservices/vmware/lpar2rrd/../../../logs/vmware/logs/error.log-vmware


Use of uninitialized value $hostalias in concatenation (.) or string at /home/xormon/xormon-ng/server-nest/microservices/vmware/lpar2rrd/bin/vmw2rrd.pl line 67.

Use of uninitialized value $host_ip in concatenation (.) or string at /home/xormon/xormon-ng/server-nest/microservices/vmware/lpar2rrd/bin/vmw2rrd.pl line 67.

Use of uninitialized value $host_username in concatenation (.) or string at /home/xormon/xormon-ng/server-nest/microservices/vmware/lpar2rrd/bin/vmw2rrd.pl line 67.

Use of uninitialized value $host_ip in concatenation (.) or string at /home/xormon/xormon-ng/server-nest/microservices/vmware/lpar2rrd/bin/vmw2rrd.pl line 354.

Wed Jul 2 07:15:05 2025: vmw2rrd failed during connect: not defined username /home/xormon/xormon-ng/server-nest/microservices/vmware/lpar2rrd/bin/vmw2rrd.pl:560


Loading environment from server-nest/.env

┌────┬───────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐

│ id │ name       │ namespace  │ version │ mode  │ pid   │ uptime │ ↺  │ status  │ cpu   │ mem   │ user   │ watching │

├────┼───────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤

│ 6 │ analyzer     │ default   │ 1.9.0  │ fork  │ 369550  │ 17h  │ 1  │ online  │ 0%    │ 99.0mb  │ xormon  │ disabled │

│ 0 │ backend      │ default   │ 1.9.0  │ cluster │ 369322  │ 17h  │ 0  │ online  │ 0%    │ 237.4mb │ xormon  │ disabled │

│ 2 │ backend      │ default   │ 1.9.0  │ cluster │ 369336  │ 17h  │ 0  │ online  │ 0%    │ 287.9mb │ xormon  │ disabled │

│ 7 │ linux       │ default   │ 1.9.0  │ fork  │ 369558  │ 17h  │ 1  │ online  │ 0%    │ 35.0mb  │ xormon  │ disabled │

│ 1 │ metrics-server  │ default   │ 1.9.0  │ cluster │ 369473  │ 17h  │ 4  │ online  │ 0%    │ 152.3mb │ xormon  │ disabled │

│ 3 │ metrics-server  │ default   │ 1.9.0  │ cluster │ 369474  │ 17h  │ 4  │ online  │ 0%    │ 157.2mb │ xormon  │ disabled │

│ 5 │ metrics-server  │ default   │ 1.9.0  │ cluster │ 369496  │ 17h  │ 3  │ online  │ 0%    │ 152.3mb │ xormon  │ disabled │

│ 9 │ oceanstor     │ default   │ 1.9.0  │ fork  │ 369568  │ 17h  │ 1  │ online  │ 0%    │ 20.6mb  │ xormon  │ disabled │

│ 4 │ tasks-server   │ default   │ 1.9.0  │ cluster │ 369508  │ 17h  │ 4  │ online  │ 0%    │ 176.5mb │ xormon  │ disabled │

│ 8 │ vmware      │ default   │ 1.9.0  │ fork  │ 369562  │ 17h  │ 1  │ online  │ 0%    │ 23.5mb  │ xormon  │ disabled │

└────┴───────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘

Comments

Sign In or Register to comment.