hobbit on Solaris 10 non-global Zone
list Nicolas Dorfsman
Hi, I have to monitor a Sol10 non-global Zone. Any hint ? TIA Nicolas
list Bill Fischer
Install the client on the non-global zone. I haven't tried it with resource management on the zones (aka containers), but with a simple non-global zone, you get duplicate monitoring of cpu and memory usage. Disk usage is also a duplicate unless you have given the non-global zone control of any devices. ... and prtdiag doesn't report anything in the non-global zone, so it's a good idea to watch the global zone even if you don't have any apps running there. Everything else (ports, procs, files, etc) works just fine. You could try to watch everything from the client in the global zone, but I suspect there would be issues with that. In particular, if you want to watch sshd, for instance. The client on the global zone would see sshd for each of the zones just as "sshd". If one zone wasn't running any sshd's, but the others had extra sshd's running, hobbit would be none the wiser. -Bill.
▸
-----Original Message-----
From: Nicolas Dorfsman [mailto:user-ef21b83534bb@xymon.invalid]
Sent: Tuesday, January 09, 2007 9:00 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit on Solaris 10 non-global Zone
Hi,
I have to monitor a Sol10 non-global Zone.
Any hint ?
TIA
Nicolas
list Martin Flemming
Hi ! Please check this http://www.trantor.org/theshire/doku.php/monitors:zonestat But I have didn't test it yet for myself .... cheers, Martin Martin Flemming DESY / IT office : Building 2b / 008a Notkestr. 85 phone : XXX - XXXX - XXXX 22603 Hamburg mail : user-f286aaa49a76@xymon.invalid
▸
On Tue, 9 Jan 2007, Nicolas Dorfsman wrote:
Hi, I have to monitor a Sol10 non-global Zone. Any hint ? TIA Nicolas
list Eric Meddaugh
I wrote this to monitor non-global zone statistics from the global zone. We have over 150+ non-global zones to monitor on about 15 global zones. We did not want to have to support the hobbit client in each non-global zone. The zonestat script only sends information to the "data" part of hobbit. I've attached a modified hobbitclient-sunos.sh script that can run inside a non-global zone. Certain things it does not send to the hobbit server. You'll then want to add a "NOCOLUMNS:disk,cpu,memory,files,ports,procs,msgs" to the host tag. (Modify it to suit your own environment). We monitor all the disk, cpu, memory from the global zone and report on that. We then use the GROUP to alert to different people. I give hobbit sudo rights to run "df" without a password so it can see the zone's file systems to monitor correctly. Hope that helps. I have a generic rrd_data.pl that will read the data input coming from other clients. It takes data in a certain format that we can use here for other data statistics that we need have hobbit graph. ---Eric
▸
-----Original Message----- From: Martin Flemming [mailto:user-f286aaa49a76@xymon.invalid] Sent: Tuesday, January 09, 2007 11:57 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] hobbit on Solaris 10 non-global Zone Hi ! Please check this http://www.trantor.org/theshire/doku.php/monitors:zonestat But I have didn't test it yet for myself .... cheers, Martin Martin Flemming DESY / IT office : Building 2b / 008a Notkestr. 85 phone : XXX - XXXX - XXXX 22603 Hamburg mail : user-f286aaa49a76@xymon.invalid On Tue, 9 Jan 2007, Nicolas Dorfsman wrote:
Hi, I have to monitor a Sol10 non-global Zone. Any hint ? TIA Nicolas
Attachments (1)
list Nicolas Dorfsman
2007/1/10, Eric Meddaugh <user-4e1e735fdc96@xymon.invalid>:
▸
I wrote this to monitor non-global zone statistics from the global zone. We have over 150+ non-global zones to monitor on about 15 global zones. We did not want to have to support the hobbit client in each non-global zone. The zonestat script only sends information to the "data" part of hobbit. I've attached a modified hobbitclient-sunos.sh script that can run inside a non-global zone.
Well...thanks ! I've tuned your hobbitclient-sunos.sh to have "zoned" informations on ps/prstat and let vmstat infos on each non-global zones. I think it could be interesting for non-global zones admins where their zones are on different pools. My tuned script is attached. Now, I'll try zonestat !
Attachments (1)
list Peter Welter
Hi Eric, Today I installed the (your) solaris 10 zonestat plugin from TheShire and the rrd-files are made on the hobbit server. But I'm missing the last part (modify hobbitgraph with rrd-definitions, TRENDS-modification in bb-hosts). Could you please supply these on the mailing list or update TheShire documentation? Thanks! Peter
▸
2007/1/10, Eric Meddaugh <user-4e1e735fdc96@xymon.invalid>:I wrote this to monitor non-global zone statistics from the global zone. We have over 150+ non-global zones to monitor on about 15 global zones. We did not want to have to support the hobbit client in each non-global zone. The zonestat script only sends information to the "data" part of hobbit. I've attached a modified hobbitclient-sunos.sh script that can run inside a non-global zone. Certain things it does not send to the hobbit server. You'll then want to add a "NOCOLUMNS:disk,cpu,memory,files,ports,procs,msgs" to the host tag. (Modify it to suit your own environment). We monitor all the disk, cpu, memory from the global zone and report on that. We then use the GROUP to alert to different people. I give hobbit sudo rights to run "df" without a password so it can see the zone's file systems to monitor correctly. Hope that helps. I have a generic rrd_data.pl that will read the data input coming from other clients. It takes data in a certain format that we can use here for other data statistics that we need have hobbit graph. ---Eric -----Original Message----- From: Martin Flemming [mailto:user-f286aaa49a76@xymon.invalid] Sent: Tuesday, January 09, 2007 11:57 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] hobbit on Solaris 10 non-global Zone Hi ! Please check this http://www.trantor.org/theshire/doku.php/monitors:zonestat But I have didn't test it yet for myself .... cheers, Martin Martin Flemming DESY / IT office : Building 2b / 008a Notkestr. 85 phone : XXX - XXXX - XXXX 22603 Hamburg mail : user-f286aaa49a76@xymon.invalid On Tue, 9 Jan 2007, Nicolas Dorfsman wrote:Hi, I have to monitor a Sol10 non-global Zone. Any hint ? TIA Nicolas
--
Groet/Regards,
Peter