andreas.kotes | 3 Nov 18:01 2011
Picon

check_openvz_beans: Nagios Plugin for OpenVZ beancounters

Hello OpenVZ community,
Hello Nagios community!

Nokia has been using a lot of OpenSource software for a long time - and we're pleased to be able to give
something back!

While we've been very happy with the capabilities both OpenVZ and Nagios provide already, we've been
missing one relevant bit of functionality: flexibly configurable monitoring for the so-called
beancounters which safeguard the resource limits in OpenVZ.

The attached diff provides the corresponding implementation as well as unit-testing code and packaging
scripts for both Debian and RedHat based systems.

It is hereby released under GPL v2 or later, the same as both OpenVZ and Nagios.

Enjoy! :)

   Andreas, for Nokia's Automated Deployment &  Orchestration team

P.S: it has been filed in Nagios Plugin's tracker on SF as well, https://sourceforge.net/tracker/?func=detail&aid=3432892&group_id=29880&atid=397599

--

-- 
NOKIA

Andreas Kotes

Solution Architect
Automated Deployment & Orchestration

E-Mail: andreas.kotes@...
(Continue reading)

Ilya A. Otyutskiy | 3 Nov 19:14 2011
Picon

Re: check_openvz_beans: Nagios Plugin for OpenVZ beancounters

On Thu, Nov 3, 2011 at 9:01 PM,  <andreas.kotes@...> wrote:
> Hello OpenVZ community,
> Hello Nagios community!

Hello Andreas.

I'm writing this to you directly, skipping the mail lists, because it
will be offtopic there.

You can find a patch for your .spec-file attached which will fix some errors.

--

-- 
SY, Ilya A. Otyutskiy aka Sharp
_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
U.Mutlu | 4 Nov 10:48 2011

bug or feature?: ps -el on HN shows all processes, incl. those of VEs

"ps -el" (and also "ps aux" etc.) on the HN shows all processes,
incl. those of VEs.
Is there a way to show, on the HN, only the processes of the HN itself,
excluding the processes of the VEs?
lst_hoe02 | 7 Nov 10:35 2011
Picon

Re: bug or feature?: ps -el on HN shows all processes, incl. those of VEs

Zitat von "U.Mutlu" <for-gmane@...>:

> "ps -el" (and also "ps aux" etc.) on the HN shows all processes,
> incl. those of VEs.
> Is there a way to show, on the HN, only the processes of the HN itself,
> excluding the processes of the VEs?

This is as far as i know by design. The HN is the Hypervisor and must  
have a global view what is going on the machine. That's why it is  
advised to not use any other services beside openvz on the HN.

Regards

Andreas

Attachment (smime.p7s): application/pkcs7-signature, 8 KiB
_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Kirill Korotaev | 7 Nov 11:00 2011

Re: bug or feature?: ps -el on HN shows all processes, incl. those of VEs

http://wiki.openvz.org/Processes_scope_and_visibility
Plus, as far as I remember there was a patch somewhere on download.openvz.org or sysctl which allows to hide
non-root processes from root VE.

On Nov 7, 2011, at 13:35 , <lst_hoe02@...>
<lst_hoe02@...> wrote:

> Zitat von "U.Mutlu" <for-gmane@...>:
> 
>> "ps -el" (and also "ps aux" etc.) on the HN shows all processes,
>> incl. those of VEs.
>> Is there a way to show, on the HN, only the processes of the HN itself,
>> excluding the processes of the VEs?
> 
> This is as far as i know by design. The HN is the Hypervisor and must  
> have a global view what is going on the machine. That's why it is  
> advised to not use any other services beside openvz on the HN.
> 
> Regards
> 
> Andreas
> 
> 
> 
> <smime.p7s><ATT00001.c>
Anatoly Pugachev | 7 Nov 11:58 2011
Picon

Re: bug or feature?: ps -el on HN shows all processes, incl. those of VEs

On Mon, Nov 7, 2011 at 2:00 PM, Kirill Korotaev <dev@...> wrote:
> http://wiki.openvz.org/Processes_scope_and_visibility
> Plus, as far as I remember there was a patch somewhere on download.openvz.org or sysctl which allows to
hide non-root processes from root VE.
>
>
> On Nov 7, 2011, at 13:35 , <lst_hoe02@...>
<lst_hoe02@...> wrote:
>
>> Zitat von "U.Mutlu" <for-gmane@...>:
>>
>>> "ps -el" (and also "ps aux" etc.) on the HN shows all processes,
>>> incl. those of VEs.
>>> Is there a way to show, on the HN, only the processes of the HN itself,
>>> excluding the processes of the VEs?
>>
>> This is as far as i know by design. The HN is the Hypervisor and must
>> have a global view what is going on the machine. That's why it is
>> advised to not use any other services beside openvz on the HN.

I know I'm a bit offtopic here, but taking in example solaris 10 with
it's zones, it's possible to supply
ps with "-Z" command , which will say what zone/container process
belongs to. Would be nice,
to somehow label container processes with container ID in kernel and
have userland (ps for example, or any other tool)
to be able to show this label.

Thanks.
(Continue reading)

Kirill Korotaev | 7 Nov 12:17 2011

Re: bug or feature?: ps -el on HN shows all processes, incl. those of VEs


On Nov 7, 2011, at 14:58 , Anatoly Pugachev wrote:

> On Mon, Nov 7, 2011 at 2:00 PM, Kirill Korotaev <dev@...> wrote:
>> http://wiki.openvz.org/Processes_scope_and_visibility
>> Plus, as far as I remember there was a patch somewhere on download.openvz.org or sysctl which allows to
hide non-root processes from root VE.
>> 
>> 
>> On Nov 7, 2011, at 13:35 , <lst_hoe02@...>
<lst_hoe02@...> wrote:
>> 
>>> Zitat von "U.Mutlu" <for-gmane@...>:
>>> 
>>>> "ps -el" (and also "ps aux" etc.) on the HN shows all processes,
>>>> incl. those of VEs.
>>>> Is there a way to show, on the HN, only the processes of the HN itself,
>>>> excluding the processes of the VEs?
>>> 
>>> This is as far as i know by design. The HN is the Hypervisor and must
>>> have a global view what is going on the machine. That's why it is
>>> advised to not use any other services beside openvz on the HN.
> 
> I know I'm a bit offtopic here, but taking in example solaris 10 with
> it's zones, it's possible to supply
> ps with "-Z" command , which will say what zone/container process
> belongs to. Would be nice,
> to somehow label container processes with container ID in kernel and
> have userland (ps for example, or any other tool)
> to be able to show this label.
(Continue reading)

JR Richardson | 8 Nov 17:21 2011
Picon

Question About Debian Squeeze OVZ Kernel

Hi All,

I'm in the lab testing debian squeeze and OVZ.  The current debian
repository is listing this for the OVZ kernel:

root <at> ovz-test:~# aptitude show linux-image-2.6.32-5-openvz-686
Package: linux-image-2.6.32-5-openvz-686
State: installed
Automatically installed: yes
Version: 2.6.32-38
Priority: optional
Section: kernel
Maintainer: Debian Kernel Team <debian-kernel@...>
Uncompressed Size: 80.6 M

How does the debian kernel version  2.6.32-*[38]* coorespond to the
official OVZ release cycle kernels, the current stable release being
(vzkernel-2.6.32-042stab040.1.src.rpm )?

Does this indicate the debian kernel is 4 stable releases behind?  Is
anyone using the squeeze repository OVZ kernel?  Any feedback on
stability or use would be appriciated.

Thanks.

JR
--

-- 
JR Richardson
Engineering for the Masses
(Continue reading)

Scott Dowdle | 8 Nov 18:13 2011

Re: Question About Debian Squeeze OVZ Kernel

Greetings,

----- Original Message -----
> I'm in the lab testing debian squeeze and OVZ.  The current debian
> repository is listing this for the OVZ kernel:
> 
> root <at> ovz-test:~# aptitude show linux-image-2.6.32-5-openvz-686
> Package: linux-image-2.6.32-5-openvz-686
> State: installed
> Automatically installed: yes
> Version: 2.6.32-38
> Priority: optional
> Section: kernel
> Maintainer: Debian Kernel Team <debian-kernel@...>
> Uncompressed Size: 80.6 M
> 
> How does the debian kernel version  2.6.32-*[38]* coorespond to the
> official OVZ release cycle kernels, the current stable release being
> (vzkernel-2.6.32-042stab040.1.src.rpm )?
> 
> Does this indicate the debian kernel is 4 stable releases behind?  Is
> anyone using the squeeze repository OVZ kernel?  Any feedback on
> stability or use would be appriciated.

I think I'm going to dance around your questions some but hopefully answer them.

There are currently three stable OpenVZ kernel branches and they are all based on Red Hat Enterprise Linux
kernels:  RHEL4 2.6.9, RHEL5 2.6.18, and RHEL6 2.6.32.  Please note that Red Hat supports their kernels for
7 years and approximately every 6 months they have a new minor release for each major release that includes
an updated kernel with backported drivers, bug and security fixes, and some new features.  Although a RHEL
(Continue reading)

Martin Maurer | 8 Nov 18:45 2011

RE: Question About Debian Squeeze OVZ Kernel

Hi,

The OpenVZ squeeze kernel misses updates and some important features. If you run on Debian, you can just use
our Proxmox VE kernels, they are based on the stable RHEL6 branch from the OpenVZ team.
See http://download.proxmox.com/debian/dists/ 

And you can also switch completely to Proxmox VE :-)

Martin

> -----Original Message-----
> From: users-bounces@...
[mailto:users-bounces@...] On
> Behalf Of JR Richardson
> Sent: Dienstag, 08. November 2011 17:21
> To: users@...
> Subject: [Users] Question About Debian Squeeze OVZ Kernel
> 
> Hi All,
> 
> I'm in the lab testing debian squeeze and OVZ.  The current debian repository is
> listing this for the OVZ kernel:
> 
> root <at> ovz-test:~# aptitude show linux-image-2.6.32-5-openvz-686
> Package: linux-image-2.6.32-5-openvz-686
> State: installed
> Automatically installed: yes
> Version: 2.6.32-38
> Priority: optional
> Section: kernel
(Continue reading)


Gmane