OpenVZ Forum


Home » Mailing lists » Users » Netstat on Deb ovz vs Deb Proxmox
Netstat on Deb ovz vs Deb Proxmox [message #46855] Mon, 18 June 2012 16:18 Go to next message
Christian Blaich is currently offline  Christian Blaich
Messages: 6
Registered: June 2012
Junior Member
From: *parallels.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi guys,

i'm working on a monitoring solution for my hardwarenodes.
Hosts A with Debian Squeeze and linux-image-2.6.32-5-openvz-amd64 from
the Debian Repository and Hosts B Debian Squeeze with Proxmox
2.6.32-12-pve from the Proxmoxrepo.
Both working with ovz Containers. When i'm trying to check netstat on
Hosts A i see the Connections from the Hardwarenode, such as ntp. Hosts
B (Proxmox) tells me the whole Connectiontree including every VM connection.
That result is bad for my checks and i don't wanna write seperate checks
for A & B.
Any ideas ?





-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJP31S5AAoJENzPm0AOTN5bJzgIAJPEnA0oUaBIDWwlpkT1 OrCv
HKlAKDFiqgkKZ7rVvDyxm7hgqRJNvgnq76c/RbF9dOXt71XiP10EtHGamJWs j1XN
72Sqru6AhLCUakk1hqaNXITTs963VGXx9ZqwtghXct5yEFte1nYEgzCvUbMb q8r3
vpkCb1rViomKtykCZGPMDiHd08K91dcWEEtqGDr1is3WDw2rLX7VxThpM0DD Un6M
o2UZCcDQxW2EI3FbhRwEAFywjgWaMeh+u4tWIcP3mOhvtt2ANcKjlso2c7Kb Vhxv
us2Y5YXuawj1BGJ0qfW1s8KdqxfopSYJ4yVyKlFyTB+KADibsEo6NT7BBs4l nOA=
=g/TT
-----END PGP SIGNATURE-----
Re: Netstat on Deb ovz vs Deb Proxmox [message #46861 is a reply to message #46855] Tue, 19 June 2012 08:39 Go to previous message
Joseph Hauptmann is currently offline  Joseph Hauptmann
Messages: 4
Registered: June 2012
Junior Member
From: *parallels.com
Hi OpenVZ-Community, Hi Christian,

I noticed the same "problem" with the 2.6.32 kernels. Interestingly it
only seems to happen on my rpm-based Kernels from the OpenVZ-Repo. The
kernels I patched and compiled myself don't seem to behave that way.
Also, not all processes that open ports seem to be visible via netstat
on the hw-node. Here the difference in behaviour between munin and apache2:

[root@srv05 ~]# vzctl exec 512 "netstat -tulpen | grep 4949"
tcp 0 0 0.0.0.0:4949 0.0.0.0:*
LISTEN 0 23963289 14168/munin-node
[root@srv05 ~]# vzctl exec 510 "netstat -tulpen | grep 4949"
tcp 0 0 0.0.0.0:4949 0.0.0.0:*
LISTEN 0 154512328 31520/munin-node
[root@srv05 ~]# netstat -tulpen|grep 4949
tcp 0 0 0.0.0.0:4949
0.0.0.0:* LISTEN 0 56159312
652391/munin-node
[root@srv05 ~]# netstat -tulpen|grep :80
tcp 0 0 0.0.0.0:80
0.0.0.0:* LISTEN 0 547379989
191426/apache2
tcp 0 0 :::80
:::* LISTEN 0 28979
10656/httpd

I only use venet-based networking on all my nodes.



Am 2012-06-18 18:18, schrieb Christian Blaich:
>
> Hi guys,
>
> i'm working on a monitoring solution for my hardwarenodes.
> Hosts A with Debian Squeeze and linux-image-2.6.32-5-openvz-amd64 from
> the Debian Repository and Hosts B Debian Squeeze with Proxmox
> 2.6.32-12-pve from the Proxmoxrepo.
> Both working with ovz Containers. When i'm trying to check netstat on
> Hosts A i see the Connections from the Hardwarenode, such as ntp. Hosts
> B (Proxmox) tells me the whole Connectiontree including every VM
connection.
> That result is bad for my checks and i don't wanna write seperate checks
> for A & B.
> Any ideas ?
>
>
>
>
>
>
--
Joseph Hauptmann

/digiconcept/ - GmbH.
1080 Wien
Blindengasse 52/1

Tel. +43 1 218 0 212 - 24
Fax +43 1 218 0 212 - 10
Previous Topic: a newbie question
Next Topic: vswap question - physpages/oomguarpages
Goto Forum:
  


Current Time: Wed Oct 17 09:12:10 GMT 2018