I have got a Ubuntu server guest virtual machine (installed via virt-install
) which runs Nagios Core monitoring but there is a major issue with the monitoring (i.e. ping packet loss / RTA or connection time outs indicated intermittently in the Nagios web interface).
I am monitoring 19 hosts (UP/DOWN) and ping service only with default intervals/rechecks etc.
The Ubuntu server VM has 1 CPU (default settings), 5GB storage and 1 GB memory (there is plenty resource free) but uses all the default virt-install network settings*.
There are a number of other (Debian) guest VMs on the VM host.
ping
(from command line) is slightly slower on this VM and sometimes hangs for several seconds (this doesn't happen on other VMs).
*EDIT: I thought it may be a network interface issue so changed it to use virtio
(in VM XML interface configuration) but even after that the problem persists.
It seems to be a network (config) issue on this particular VM.
PING INVESTIGATION:
- From this Ubuntu guest VM with network issue:
--- X.X.X.X ping statistics ---
100 packets transmitted, 63 received, 37% packet loss, time 101341ms
rtt min/avg/max/mdev = 0.352/0.491/0.637/0.056 ms
- From another (Debian) guest VM:
--- X.X.X.X ping statistics ---
100 packets transmitted, 100 received, 0% packet loss, time 101371ms
rtt min/avg/max/mdev = 0.278/0.386/0.505/0.056 ms
Ping from the problem guest VM to the other guest VM:
--- X.X.X.X ping statistics ---
100 packets transmitted, 100 received, 0% packet loss, time 101354ms
rtt min/avg/max/mdev = 0.345/0.531/0.798/0.092 ms
There is no apparent IP conflict either.