Hello Abraham
Try this one in the proxmox-qmu script
#!/bin/bash
# Proxmox VE virtual machine listing # (c) 2015-2019, Tom Laermans for Observium
PVESH=`which pvesh` if [ $? -eq 0 ] then echo "<<<proxmox-qemu>>>"
VERSION=$(pveversion | awk -F/ '{print $2}' | sed 's/..*//') if [[ ${VERSION} -ge 5 ]] then qemu=$(mktemp) lxc=$(mktemp) pvesh get /nodes/$(hostname)/qemu --output-format=json-pretty > $qemu pvesh get /nodes/$(hostname)/lxc --output-format=json-pretty > $lxc jq -s add $qemu $lxc rm -f $qemu $lxc else pvesh get /nodes/$(hostname)/qemu 2>/dev/null fi fi
Regards Walter
Walter Onda Senior System Engineer Stadtantennen AG
Von: Yesaya A. Medellu via observium observium@lists.observium.org Gesendet: Freitag, 12. Januar 2024 09:12 An: 'Observium' observium@observium.org Cc: Yesaya A. Medellu yesaya.abraham@makingroup.com Betreff: [Observium] LXC Proxmox Container
Hi All
Can Observium Monitoring LXC Container
at least count it as VM inside PVE VMs [cid:image001.png@01DA453C.2DBBFD20]
thanks in advance Abraham