Hello Adam Is it possible to collect also LXC with this script? Or maybe in the future? The command for do this ist: pvesh get /nodes/$(hostname)/lxc --output-format=json-pretty
Regards Walter
Hi Walter,
I'm not sure. I'm not really familiar with the Proxmox stuff, I think it was a user contribution a long time ago.
You can compare the formats to see if they are compatible, it might not be too difficult to adapt the code.
Adam.
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Walter via observium Sent: 31 March 2022 13:22 To: observium@observium.org Cc: walter@onda.ch Subject: [Observium] unix-agent for Proxmox
Hello Adam Is it possible to collect also LXC with this script? Or maybe in the future? The command for do this ist: pvesh get /nodes/$(hostname)/lxc --output-format=json-pretty
Regards Walter _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi Walter,
Can you send me the output of the pvesh command below? If it's got the same fields as the qemu one it'll be a quick fix...
Tom
On 2022-03-31 21:58, Adam Armstrong via observium wrote:
Hi Walter,
I'm not sure. I'm not really familiar with the Proxmox stuff, I think it was a user contribution a long time ago.
You can compare the formats to see if they are compatible, it might not be too difficult to adapt the code.
Adam.
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Walter via observium Sent: 31 March 2022 13:22 To: observium@observium.org Cc: walter@onda.ch Subject: [Observium] unix-agent for Proxmox
Hello Adam Is it possible to collect also LXC with this script? Or maybe in the future? The command for do this ist: pvesh get /nodes/$(hostname)/lxc --output-format=json-pretty
Regards Walter _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hello Tom
Hier the output for a lxc: [ { "cpu" : 0, "cpus" : 1, "disk" : "2471227392", "diskread" : 258568192, "diskwrite" : 277893120, "maxdisk" : "10501771264", "maxmem" : 2147483648, "maxswap" : 2147483648, "mem" : 105197568, "name" : "grafana", "netin" : 1247381173, "netout" : 388883609, "pid" : "19128", "status" : "running", "swap" : 508395520, "template" : "", "type" : "lxc", "uptime" : 1462517, "vmid" : "902" } ]
Regards Walter
Am 01.04.2022 00:30, schrieb Tom Laermans via observium:
Hi Walter,
Can you send me the output of the pvesh command below? If it's got the same fields as the qemu one it'll be a quick fix...
Tom
On 2022-03-31 21:58, Adam Armstrong via observium wrote:
Hi Walter,
I'm not sure. I'm not really familiar with the Proxmox stuff, I think it was a user contribution a long time ago.
You can compare the formats to see if they are compatible, it might not be too difficult to adapt the code.
Adam.
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Walter via observium Sent: 31 March 2022 13:22 To: observium@observium.org Cc: walter@onda.ch Subject: [Observium] unix-agent for Proxmox
Hello Adam Is it possible to collect also LXC with this script? Or maybe in the future? The command for do this ist: pvesh get /nodes/$(hostname)/lxc --output-format=json-pretty
Regards Walter _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Adam Armstrong
-
Tom Laermans
-
walter@onda.ch