I would say create a shell script which monitors the health of your server and generate mails when the server is down
Chandra
Like your humor
Code:
ping localhost >/dev/null || echo "This server is down" | mail your.address@your.location
---------- 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:
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT OSX
zprint
ZPRINT(1) General Commands Manual ZPRINT(1)NAME
zprint - show information about kernel zones
SYNOPSIS
zprint [-w] [-s] [-c] [-h] [-t] [-d] [-p <pid>][name]
DESCRIPTION zprint(1) displays data about Mach zones. By default, zprint will print out information about all Mach zones. If the optional name is
specified, zprint will print information about each zone for which name is a substring of the zone's name.
zprint interprets the following options:
-c (Default) zprint prints zone info in columns. Long zone names are truncated with '$', and spaces are replaced with '.', to allow
for sorting by column. Pageable and collectible zones are shown with 'P' and 'C' on the far right. Zones with preposterously large
maximum sizes are shown with '----' in the max size and max num elts fields.
-h (Default) Shows headings for the columns printed with the -c option. It may be useful to override this option when sorting by col-
umn.
-s zprint sorts the zones, showing the zone wasting the most memory first.
-w For each zone, zprint calculates how much space is allocated but not currently in use, the space wasted by the zone.
-t For each zone, zprint calculates the total size of allocations from the zone over the life of the zone.
-d Display deltas over time, showing any zones that have achieved a new maximum current allocation size during the interval. If the
total allocation sizes are being displayed for the zones in question, it will also display the deltas if the total allocations have
doubled. -p <pid> Display zone usage related to the specified process id. Each zone will display standard columns and the amount
of memory from that zone associated with a given process. The letter "A" in the flags column indicates that this total is being
accounted to the process. Otherwise, the total is an indication of the influence the process has on the kernel, but the memory is
being accounted to the kernel proper.
Any option (including default options) can be overridden by specifying the option in upper-case; for example, -C overrides the (default)
option -c.
02/12/09 ZPRINT(1)