I have an old laptop for developing and testing, and i am doing a plugin for Nagios to get info from the VM's, Memory, Status and HD usage info. As the screenshoot I have posted i am getting the info from pvesh, but the Disk column is 0 always, with LXC containers i am not having problems...
I am trying to create a new LXC container but i am getting following output:
Formatting '/var/lib/vz/images/144/vm-144-disk-0.raw', fmt=raw size=8589934592
Creating filesystem with 2097152 4k blocks and 524288 inodes
Filesystem UUID: 7535df79-b3c6-4c77-8fb9-0d60da9e1dd8
Superblock backups...
I believe that my postfix in my PMG is not attending all incoming connections.
But i have tried to increase pmg.mail.conn_count_limit and nothing change.
How can i find what do I need to increase?
It is attending a qty of 7637 mailboxes.
In my sysctl.conf i have following lines:
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_syncookies = 1
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216...
I thought of that too but in my firewall it is being allowed.
I have enable in my PMG logging by iptables and when i grep my syslog at the IP with problems i only got that they are reaching the PMG but no logs from postfix or pregreeting:
# grep 183.17.58.38 /var/log/syslog
Jun 7 07:56:36...
I have a FW and then my PMG server.
My PMG version is:
pmg-api/6.4-3/225ecb80 (running kernel: 5.4.106-1-pve)
My config is as follows:
composed.wl_bounce_relays = host.xx.yy.zz
dns.domain = xx.yy.zz
dns.fqdn = host.xx.yy.zz
dns.hostname = host
ipconfig.int_ip = A.B.C.D
pmg.admin.advfilter =...
I have run the command but i have got following message:
VM 100 qmp command 'human-monitor-command' failed - unable to connect to VM 100 qmp socket
Now i do not see the snapshot but on the image info i see following data:
image: /var/lib/vz/images/100/vm-100-disk-1.qcow2
file format: qcow2...
I have run the command but i have got following message:
VM 100 qmp command 'human-monitor-command' failed - unable to connect to VM 100 qmp socket
Now i do not see the snapshot but on the image info i see following data:
image: /var/lib/vz/images/100/vm-100-disk-1.qcow2
file format: qcow2...
What i have found.
Running "info block" i get the block device name:
# info block
drive-ide2 (#block125): /dev/cdrom (raw, read-only)
Attached to: ide2
Removable device: locked, tray closed
Cache mode: writeback
drive-scsi0 (#block395)...
The author of the thread asked for two things of which only one was answered, the second about doing it live was not answered, so I asked about the second.
I have received the answer for which I am enormously grateful, thank you, I supposed it can be runned safetly on a running VM.
I have read some other threads that explain about how to find the snapshot of the qcow2 disk file and how to delete them, but none of them says if it is possible to do it while VM is running.
I have a VM with snapshot on the qcow2 disk, i can see them with qemu-img snapshot -l...
I have many VM with many drives with snapshots on them but we need to remove the snapshots, I am in the same position of "JBdrakaris", I need to delete the snapshots while the VM is running.
I was reading but only about the lock was answered and I would like to know about possible snapshot...
Having same issue here, for bouncing mails or idmails i got them stuck and can not remove them:
Also I can not get id from those mails with:
/usr/bin/pmgsh get /quarantine/spam --starttime 1617306350 --endtime 1617911150 -pmail...
it must be add >'< between $u->{'mail'}
my $jspam= qx(/usr/bin/pmgsh get /quarantine/spam --starttime $starttime --endtime $endtime -pmail '$u->{'mail'}' 2>/dev/null);
Greetings.
More fixes should be welcome.
Errores show up with mails like following one...
What i am getting as response is this output:
delete_quarantine.pl -f MAILER-DAEMON@mydomain.local.in -a count
400 Parameter verification failed.
pmail: value does not match the regex pattern
get quarantine/spam [OPTIONS]
malformed JSON string, neither array, object, number, string or atom, at...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.