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.
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
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.
Hi all.
According to the docs, this file should be supplied with hobbit (for sending sms alerts), but I cannot find it on my system and google gives me suprisingly little. ( http://www.google.is/search?hl=is&client=firefox-a&rls=org.mozilla%3Aen-US%3... )
Can anybody point out to me where to get the file? Or is it obselute?
Regards, Benedikt
http://www.trantor.org/theshire/doku.php/alerts:smsplus
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
On Mon, Oct 6, 2008 at 4:48 PM, Benni <benni at tskoli.is> wrote:
Hi all.
According to the docs, this file should be supplied with hobbit (for sending sms alerts), but I cannot find it on my system and google gives me suprisingly little. ( http://www.google.is/search?hl=is&client=firefox-a&rls=org.mozilla%3Aen-US%3...)
Can anybody point out to me where to get the file? Or is it obselute?
Regards, Benedikt
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
In <852704A702E6A44C9DF8345C1F2025AA1B4EBA at 2tpostur.2t.local> "Benni" <benni at tskoli.is> writes:
According to the docs, this file should be supplied with hobbit (for = sending sms alerts), but I cannot find it on my system
I think the docs have confused you, "smsalert" is not supplied with Hobbit. It is merely used in the hobbit-alerts.cfg comments to show how you can run a custom script when an alert triggers.
You'll have to come up with an SMS script yourself. This depends a lot on how your system is setup and what kind of SMS capabilities you have, but look around for some tools for your OS - on Linux, there is smsclient, gnokii and several others that can communicate with a GSM phone or modem.
Regards, Henrik
Ah, figures. Thank you for explaining.
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: 7. október 2008 05:42 To: hobbit at hswn.dk Subject: Re: [hobbit] smsalert (smsalert.sh?)
In <852704A702E6A44C9DF8345C1F2025AA1B4EBA at 2tpostur.2t.local> "Benni" <benni at tskoli.is> writes:
According to the docs, this file should be supplied with hobbit (for = sending sms alerts), but I cannot find it on my system
I think the docs have confused you, "smsalert" is not supplied with Hobbit. It is merely used in the hobbit-alerts.cfg comments to show how you can run a custom script when an alert triggers.
You'll have to come up with an SMS script yourself. This depends a lot on how your system is setup and what kind of SMS capabilities you have, but look around for some tools for your OS - on Linux, there is smsclient, gnokii and several others that can communicate with a GSM phone or modem.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
My carrier, ATT enables me to email SMS alerts. I use npanxxxxxx at txt.att.com for this.
On 10/7/08, Benni <benni at tskoli.is> wrote:
Ah, figures. Thank you for explaining.
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: 7. október 2008 05:42 To: hobbit at hswn.dk Subject: Re: [hobbit] smsalert (smsalert.sh?)
In <852704A702E6A44C9DF8345C1F2025AA1B4EBA at 2tpostur.2t.local> "Benni" <benni at tskoli.is> writes:
According to the docs, this file should be supplied with hobbit (for = sending sms alerts), but I cannot find it on my system
I think the docs have confused you, "smsalert" is not supplied with Hobbit. It is merely used in the hobbit-alerts.cfg comments to show how you can run a custom script when an alert triggers.
You'll have to come up with an SMS script yourself. This depends a lot on how your system is setup and what kind of SMS capabilities you have, but look around for some tools for your OS - on Linux, there is smsclient, gnokii and several others that can communicate with a GSM phone or modem.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
I kinda thought the whole point of SMS alerts was in case your email infrastructure went down...
At least, that's why we use it.
Stewart
On Tue, Oct 7, 2008 at 8:39 AM, Josh Luthman <josh at imaginenetworksllc.com>wrote:
My carrier, ATT enables me to email SMS alerts. I use npanxxxxxx at txt.att.com for this.
On 10/7/08, Benni <benni at tskoli.is> wrote:
Ah, figures. Thank you for explaining.
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: 7. október 2008 05:42 To: hobbit at hswn.dk Subject: Re: [hobbit] smsalert (smsalert.sh?)
In <852704A702E6A44C9DF8345C1F2025AA1B4EBA at 2tpostur.2t.local> "Benni" <benni at tskoli.is> writes:
According to the docs, this file should be supplied with hobbit (for = sending sms alerts), but I cannot find it on my system
I think the docs have confused you, "smsalert" is not supplied with Hobbit. It is merely used in the hobbit-alerts.cfg comments to show how you can run a custom script when an alert triggers.
You'll have to come up with an SMS script yourself. This depends a lot on how your system is setup and what kind of SMS capabilities you have, but look around for some tools for your OS - on Linux, there is smsclient, gnokii and several others that can communicate with a GSM phone or modem.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Stewart
You only lose what you cling to.
In my case it is only dependent on the Hobbit server's mail and AT&T's. Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
On Tue, Oct 7, 2008 at 10:28 AM, Stewart L <stewartl42 at gmail.com> wrote:
I kinda thought the whole point of SMS alerts was in case your email infrastructure went down...
At least, that's why we use it.
Stewart
On Tue, Oct 7, 2008 at 8:39 AM, Josh Luthman <josh at imaginenetworksllc.com>wrote:
My carrier, ATT enables me to email SMS alerts. I use npanxxxxxx at txt.att.com for this.
On 10/7/08, Benni <benni at tskoli.is> wrote:
Ah, figures. Thank you for explaining.
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: 7. október 2008 05:42 To: hobbit at hswn.dk Subject: Re: [hobbit] smsalert (smsalert.sh?)
In <852704A702E6A44C9DF8345C1F2025AA1B4EBA at 2tpostur.2t.local> "Benni" <benni at tskoli.is> writes:
According to the docs, this file should be supplied with hobbit (for = sending sms alerts), but I cannot find it on my system
I think the docs have confused you, "smsalert" is not supplied with Hobbit. It is merely used in the hobbit-alerts.cfg comments to show how you can run a custom script when an alert triggers.
You'll have to come up with an SMS script yourself. This depends a lot on how your system is setup and what kind of SMS capabilities you have, but look around for some tools for your OS - on Linux, there is smsclient, gnokii and several others that can communicate with a GSM phone or modem.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Stewart
You only lose what you cling to.
Hi all,
Probably a bit of a newbie question here.
While I've been setting up tests using the external script mechanism (and working out how to drive it) I've generated a few random columns. (In case anyone doesn't know, using BBWin as a client, placing a file into BBWin's transmit folder causes a column to be created automatically in the Hobbit display with the name of that file.)
Now I've done my experimentation these random columns are redundant. I've deleted all the /rrd, /hist and /histlogs files that support the pages, but the columns won't go away. Anyone know how I purge these redundant columns (and where the data driving them are held)?
Graham Nayler
Normally you'd use "drop" to get rid of a service and/or host that's no longer being reported: server/bin/bb localhost "drop host.domain.com testname"
If you leave out the "testname", it drops everything for that particular host.
Ralph Mitchell
On Tue, Oct 7, 2008 at 4:54 PM, Graham Nayler <graham.nayler at hallmarq.net>wrote:
Hi all,
Probably a bit of a newbie question here.
While I've been setting up tests using the external script mechanism (and working out how to drive it) I've generated a few random columns. (In case anyone doesn't know, using BBWin as a client, placing a file into BBWin's transmit folder causes a column to be created automatically in the Hobbit display with the name of that file.)
Now I've done my experimentation these random columns are redundant. I've deleted all the /rrd, /hist and /histlogs files that support the pages, but the columns won't go away. Anyone know how I purge these redundant columns (and where the data driving them are held)?
Graham Nayler
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Thanks...just the job.
Graham Nayler
----- Original Message ----- From: Ralph Mitchell To: hobbit at hswn.dk Sent: Wednesday, October 08, 2008 2:38 AM Subject: Re: [hobbit] Removing externally generated columns
Normally you'd use "drop" to get rid of a service and/or host that's no longer being reported:
server/bin/bb localhost "drop host.domain.com testname"
If you leave out the "testname", it drops everything for that particular host.
Ralph Mitchell
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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.
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.
-----Original Message----- From: Anna Jonna Armannsdottir [mailto:annaj at hi.is] Sent: 07 October 2008 11:00 To: hobbit at hswn.dk 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.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This email has been scanned for all viruses by the MessageLabs service.
This email has been scanned for all viruses by the MessageLabs service.
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
-----Original Message----- From: Anna Jonna Armannsdottir [mailto:annaj at hi.is] Sent: Tuesday, 7 October 2008 1:27 AM To: hobbit at hswn.dk 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.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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.
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.
-- 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.
participants (10)
-
annaj@hi.is
-
benni@tskoli.is
-
graham.nayler@hallmarq.net
-
henrik@hswn.dk
-
josh@imaginenetworksllc.com
-
Mike.Rowell@Rightmove.co.uk
-
morphine@zwizard.com
-
ralphmitchell@gmail.com
-
stewartl42@gmail.com
-
Vernon.Everett@woodside.com.au