Xymon Mailing List Archive search

mpstat and zonestat monitors

6 messages in this thread

list Anna Jonna Armannsdottir · Mon, 06 Oct 2008 17:27:08 +0000 ·
Hi all. Solaris 10 has a virtualization capability which is the ability to create so called zones, that effectively act like independent machines. 
In The Shire are mpstat and zonestat monitors for monitoring zones on Solaris 10. I would like to know if it is possible to monitor all zones on a server so that a client on each virtual machine is not necessary. I do not like the alternative, which is to install a hobbit client on each virtual machine. 
PS. Henrik: It is good to know You are in good health. 
-- 
Kindest Regards, Anna Jonna Ármannsdóttir,       %&   A: Because people read from top to bottom.
Unix System Aministration, Computing Services,   %&   Q: Why is top posting bad?
University of Iceland.
list Tim McCloskey · Mon, 06 Oct 2008 10:56:32 -0700 ·
You could probably write something simple to do this.  Our zones are on a zfs slice so disk space monitoring can look odd.  Also, hobbit uses top and other commands that do not always report correct info from within a zone.  For example, if you have capped-memory rctl's set top will incorrectly report the data inside a zone.

I guess it depends on what you want to monitor.  A quick hack up based on prstat may help.  Example;
  foo at global_zone:~  prstat -mvaL -z childzone1

Know this does not help much, but it really is a topic worth discussing.   Solaris 10 with ZFS, Zones, FSS and other cool tools is nice platform.

Regards,

Tim
quoted from Anna Jonna Armannsdottir


Anna Jonna Armannsdottir wrote:
Hi all. Solaris 10 has a virtualization capability which is the ability to create so called zones, that effectively act like independent machines. 
In The Shire are mpstat and zonestat monitors for monitoring zones on Solaris 10. I would like to know if it is possible to monitor all zones on a server so that a client on each virtual machine is not necessary. I do not like the alternative, which is to install a hobbit client on each virtual machine. 
PS. Henrik: It is good to know You are in good health. 
list Vernon Everett · Tue, 7 Oct 2008 06:21:13 +0800 ·
Hi Anna

I am looking at the exact same thing myself.
Maybe we (and anybody else interested) can work on a collaborative monitoring script for monitoring Sol10 Zones.
Interested?

Regards
     Vernon
quoted from Anna Jonna Armannsdottir

-----Original Message-----
From: Anna Jonna Armannsdottir [mailto:user-a8cde33204f6@xymon.invalid]
Sent: Tuesday, 7 October 2008 1:27 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] mpstat and zonestat monitors

Hi all.
Solaris 10 has a virtualization capability which is the ability to create so called zones, that effectively act like independent machines.

In The Shire are mpstat and zonestat monitors for monitoring zones on Solaris 10. I would like to know if it is possible to monitor all zones on a server so that a client on each virtual machine is not necessary.
I do not like the alternative, which is to install a hobbit client on each virtual machine.

PS. Henrik: It is good to know You are in good health.

--
Kindest Regards, Anna Jonna Ármannsdóttir,       %&   A: Because people read from top to bottom.
Unix System Aministration, Computing Services,   %&   Q: Why is top posting bad?
University of Iceland.


NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
list Anna Jonna Armannsdottir · Tue, 07 Oct 2008 10:00:17 +0000 ·
quoted from Tim McCloskey
On mán, 2008-10-06 at 10:56 -0700, Tim McCloskey wrote:
You could probably write something simple to do this.  Our zones are
on a zfs slice so disk space monitoring can look odd.  Also, hobbit uses top and other commands that do not always report correct info from within a zone.  For example, if you have capped-memory rctl's set top will incorrectly report the data inside a zone.
I probably need to rephrase my questions? :)
quoted from Vernon Everett

-- 
Kindest Regards, Anna Jonna Ármannsdóttir,       %&   A: Because people read from top to bottom.
Unix System Aministration, Computing Services,   %&   Q: Why is top posting bad?
University of Iceland.
list Mike Rowell · Tue, 7 Oct 2008 11:06:53 +0100 ·
I wrote a zone monitoring script that did just this, it runs on the global zone and uses pfexec to login and gather data on the zone if the -z option for the global zone commands do not exist.  There has been an issue with it where commands seem to hang for no reason, havn't had a chance to look at it as yet though.
quoted from Anna Jonna Armannsdottir

-----Original Message-----
From: Anna Jonna Armannsdottir [mailto:user-a8cde33204f6@xymon.invalid] Sent: 07 October 2008 11:00
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] mpstat and zonestat monitors

On mán, 2008-10-06 at 10:56 -0700, Tim McCloskey wrote:
You could probably write something simple to do this.  Our zones are
on a zfs slice so disk space monitoring can look odd.  Also, hobbit uses top and other commands that do not always report correct info from within a zone.  For example, if you have capped-memory rctl's set top will incorrectly report the data inside a zone.
I probably need to rephrase my questions? :)

-- 
Kindest Regards, Anna Jonna Ármannsdóttir,       %&   A: Because people read from top to bottom.
Unix System Aministration, Computing Services,   %&   Q: Why is top posting bad?
University of Iceland.


This email has been scanned for all viruses by the MessageLabs service.

This email has been scanned for all viruses by the MessageLabs service. ________________________________________________________________________
list Anna Jonna Armannsdottir · Tue, 07 Oct 2008 10:44:39 +0000 ·
quoted from Vernon Everett
On þri, 2008-10-07 at 06:21 +0800, Everett, Vernon wrote:
Hi Anna

I am looking at the exact same thing myself.
Maybe we (and anybody else interested) can work on a collaborative
monitoring script for monitoring Sol10 Zones.
Interested?

Regards
     Vernon
Hi Vernon, sorry that I overlooked your reply. I am absolutely interested. 
quoted from Mike Rowell
-- 
Kindest Regards, Anna Jonna Ármannsdóttir,       %&   A: Because people read from top to bottom.
Unix System Aministration, Computing Services,   %&   Q: Why is top posting bad?
University of Iceland.