Best way to monitor health of Solaris zones ?


 
Thread Tools Search this Thread
Operating Systems Solaris Best way to monitor health of Solaris zones ?
# 1  
Old 11-05-2014
Best way to monitor health of Solaris zones ?

What is the best way to monitor the health of solaris zones? Through the global zone or through the individual zones itself ?
# 2  
Old 11-05-2014
I would say create a shell script which monitors the health of your server and generate mails when the server is down

Chandra
This User Gave Thanks to chandraprakash For This Post:
# 3  
Old 11-05-2014
Quote:
Originally Posted by chandraprakash
I would say create a shell script which monitors the health of your server and generate mails when the server is down

Chandra
SmilieLike your humorSmilie
Code:
ping localhost >/dev/null || echo "This server is down" | mail your.address@your.location

Smilie

---------- Post updated at 01:05 PM ---------- Previous update was at 09:51 AM ----------

Honestly, you must run the ping test from outside!
E.g. the physical system (global zone) can ping the zones. But better you ping from an external monitoring server.
What do you mean by "health"? Just ping-able?
This User Gave Thanks to MadeInGermany For This Post:
# 4  
Old 11-05-2014
Can you elaborate what do you mean by monitor of solaris health zone ?

If it's only a health check of solaris servers then you can have a script which will monitor the cpu usage, load, monitor IO, memory utilization and check of syslog files for any error and send the mail if any error found or any of the resource reached to its threshold limit and generate a mail to DL/mail id as per requirement and support time.

You can schedule the script after a particular interval with the help of scheduler(Autosys, Tivoli, Control-M, etc.) as per the criticality of the server in the environment.

If case of server down or not pinging job schedule on scheduler for monitoring will get fail and failure alarm/notification will get generated.
# 5  
Old 11-06-2014
Thanks for all the responses.
By health, I did mean that the zone is alive/ping-able/running.
# 6  
Old 11-06-2014
"zoneadm -z zonename list -v" from the global zone will tell you if the zone is alive/running (column STATUS).

You can do ping tests from the global zone but better to do them remotely to rule out cabling or other networking issues.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Migration of Solaris 10 on physical host to Solaris Zones

Hi All Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies

2. Solaris

Solaris zones

Hi guys and gals, Does anyone know how to import solaris zones from the xml files that sit in /etc/zones? I want the zones from one machine to another, all I have is the XML files for the zones, so I can't export them first. Thanks in advance Martin (1 Reply)
Discussion started by: callmebob
1 Replies

3. Shell Programming and Scripting

System Health - Cpu, Load, IO Monitor

hello there, can someone please tell me the commands that makes sense, from a production point of view, to be used to make sure CPU, LOAD or IO usages on a Linux or Solaris server isn't too high? I'm aware of vmstat, iostat, sar. But i seriously need real world advice as to what fields in... (1 Reply)
Discussion started by: SkySmart
1 Replies

4. Shell Programming and Scripting

Script to monitor Machine Health (Project Doctortux) Input needed.

I have written little script to check the CPU performance of the machine. Request you to contribute your comments on the same. Feel free to add your own scriptlet to make it better. I have decided to call it as doctortux I have decided to run the script in two mode 1)Interactive.(Not... (4 Replies)
Discussion started by: pinga123
4 Replies

5. Solaris

Monitor server's health

Dear all, There wasn't any monitoring on our server except on the filesystem. Therefore, I was wondering anything i should do on a daily basis to check on the server's status, health, hardware, or any other thing as a disaster prevention? Also, what command i should use to do that? ... (2 Replies)
Discussion started by: beginningDBA
2 Replies

6. Solaris

Solaris zones

Hi, I created a zone with separate /usr for the zone. when I do ping to newly created zone it showing alive, I am able to login through zone console zlogin -C -E <zone name> I created a test account on zone which is already existing under global zone and try to ssh, it is working fine but... (1 Reply)
Discussion started by: alberto
1 Replies

7. Solaris

Regarding Solaris Zones

Hello All, I have a list of Local Zones in my list. I want to find out their Global Zone names exactly....I know the command "arp ..."But I dont know how to filter it correctly and find it out. Thanks in advance, Jacky (9 Replies)
Discussion started by: jegaraman
9 Replies

8. UNIX for Advanced & Expert Users

Solaris Zones

okay people i need some help: i was able to configure zones on my solaris 10 server, the problem is I can't ssh into the zones!!! I can zlogin -C zone2 successfully for both zones. Am I missing something? I can ping the zones, but can't ssh. From the zones, I can ping my global server. (7 Replies)
Discussion started by: Sarccastik Dude
7 Replies
Login or Register to Ask a Question