[Users] Netstat on Deb ovz vs Deb Proxmox

Joseph Hauptmann joseph.hauptmann at digiconcept.net
Tue Jun 19 04:39:40 EDT 2012


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 at 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 at 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 at srv05 ~]# netstat -tulpen|grep 4949
tcp        0      0 0.0.0.0:4949               
0.0.0.0:*                   LISTEN      0          56159312  
652391/munin-node
[root at 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 ?
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users

-- 
Joseph Hauptmann

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

Tel. +43 1 218 0 212 - 24
Fax +43 1 218 0 212 - 10

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20120619/a9d017fa/attachment.html


More information about the Users mailing list