hobbit on Solaris 10 non-global Zone
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)