It sort of depends what you want to use to alert, how many alerts you will tollerate in the event of a problem, and how vital it is that you get the alert.
Having each server watch the other 4 will mean that it's very likely you will hear about it if one of them fails, but you will get 4 messages about one machine. If you have a network interruption, you might get 20 messages as each server tells you the other 4 are dead. This can get quite bad if you plan to scale this up.
Having just one server watch the other 4 means that if that one server fails, you won't know. Further more, if it fails then another goes, you won't hear about that either. On the up-side, if one server fails, you only get one message. If the network fails, you only get 4 messages.
You can pick something halfway between (eg have two server watch everything else, or have two servers watch each other and 1 or 2 other servers) to find the balance you need.
A quick framework of what you'd probably want to run:
Code:
#!/bin/sh
while true
do
for host in $HOSTLIST
do
if ping $host
then
echo "`date` $host ok" >> log
else
echo "`date` $host NOT OK" >> log
echo "Hi, `hostname` here to tell you that its all gone Pete Tong on $host" | mail_prog_of_your_choice
echo "`hostname` says: $host has left the building" | your_favourite_pager_or_sms_gateway
/cool/noises/play_alarming_sounds aaawuuuuga.au
fi
done
sleep $INTERVAL
done
I am running RH7.3 on a compaq presario box. The network card is a Linksys one. I am only able to communicate with the local network (only the local IPs are accessible). When I try to ping another box I get a "Connect: Network is unreachable" message. What could be the problem.
Thanks in... (2 Replies)
I have inherited a Sun Ultra-1, running sunOS 5.8
While on this machine, I cannot ping www.yahoo.com
I cannot ping this machine from withing our lan.
I do not have an static IP for this machine and used
Iconfig hme0 auto-dhcp start.
All is well,
It seems to me that the previous owner,... (1 Reply)
All,
I have to servers (NT and REL4).
We can access the application on NT from Linux but we cannot access the applications on Linux when accessed from NT.
The applicaiton is running on Linux with some IP:Port. When we try to access that application from NT, it says that the port is... (1 Reply)
Discussion started by: The One
1 Replies
4. Post Here to Contact Site Administrators and Moderators
Apparently (at least) 2 of the servers responsible for serving the static images and the JavaScript are down or otherwise unreachable. Affected are www.unix.com and www.unix.com, while www.unix.com is still up. A check on this website confirmed it. Checked as of 2010-06-16 08:11 UTC. (13 Replies)
Hello,
I'm using Ubuntu, and when I check "/"(root directory)'s properties. The window says "some contents unreachable". What is the "some contents"?
http://i.imgur.com/UWn8Q.png (2 Replies)
Hi, all:
How can I check what happen with my own NIC driver which response "successful" when local PC "ping" a remote linux PC but "unreachable" when it "ping" a remote windows XP PC? My writed driver runs in linux 3.0.4 kernel.
thanks!
li, kunlun (1 Reply)
I'm creating a ubuntu samba server that sends out email notifications when a file a new file is created in the monitored directory.
Currently im using inotifywait to monitor a directory and send out a email notification. Inotify wait works great but it gets triggered whenever any file including... (2 Replies)
I have two application server appserver1 and appserver 2. A script will run from appserver1 which main activity is
1. Connect with the apserver 2 and run a script which saved on appserver2
2. the saved script will in appserver 2 will complete its task and generate a log
Problem i need to... (0 Replies)
Hi there
I've bought a used System p 9115-505. When I attach the LAN cable to my router the HMC receives an IP address from my router, but the HMC is unreachable. There are no open ports.
Does anybody know that problem?
Any help greatly appreciated. Greetings from Italy! (2 Replies)
Seems to wanboot ok but then fails to connect to server. What do I need to check?
{0} ok boot net - install
Boot device: /pci@300/pci@1/pci@0/pci@1/network@0 File and args: - install
1G link up
<time unavailable> wanboot info: WAN boot messages->console
<time unavailable>... (2 Replies)
Discussion started by: psychocandy
2 Replies
LEARN ABOUT OSF1
dxjim
dxjim(1X)dxjim(1X)NAME
dxjim - An input server for Japanese
DESCRIPTION
In a Motif environment such as CDE, Asian language input methods are supported by independent processes called input servers. The Japanese
input server (dxjim) is an X client process that can run on a standard X server, provided that the server system has the required Japanese
fonts installed. This means that the Japanese input server can run on any system that can access your X display device, including the
device itself.
Starting the Input Server
If your CDE session language is set to Japanese, the Japanese input server is started automatically, and both the language setting and the
Japanese input method is available for applications that you start during that session. If your session language is not set to Japanese,
you can switch to Japanese from a terminal emulation window by setting the LANG environment variable to a Japanese locale. From the same
terminal emulation window, you must also use the command line to start the Japanese input method server and then other applications in
which you want to use Japanese.
You can start the input server on your local workstation by using the following command:
% /usr/bin/X11/dxjim &
If you want to start the input server on a remote system, log on the remote system, and enter the following commands. Substitute the name
of your local system for <display_name> in the first command.
% setenv DISPLAY <display_name>:0 % /usr/bin/X11/dxjim &
After the input server is started, any Motif applications that have been internationalized to support Japanese can communicate with the
server to obtain input method services. However, remember that these applications must be started after the server is started.
RESTRICTIONS
This input server uses X11R6. It can connect to input-method clients running X11R4, X11R5, or X11R6 under the same locale. However, support
for multiple monitors (multi-head systems) is available only to clients also running X11R6. Support for multiple monitors is not available
to input-method clients using X11R5 or X11R4.
SEE ALSO
Commands: dxhangulim(1X), dxhanziim(1X), dxhanyuim(1X), locale(1)
Others: Japanese(5), i18n_intro(5), l10n_intro(5)dxjim(1X)