We would like to monitor few servers,like if the server goes down i should get a pop-up instantly without fail. I know it is possible, but i have no idea on how to setup it. It will be so kind if someone helps me to setup it. Thanks in advance..


You can use ping. Although ping failure doesn't necessarily mean that your system is down, it can also happen if the network is down but I believe for most intents and purposes these are same thing. You can use following script

HOSTS="cyberciti.biz theos.in router"


for myHost in $HOSTS
  count=$(ping -c $COUNT $myHost | grep 'received' | awk -F',' '{ print $2 }' | awk '{ print $1 }')
  if [ $count -eq 0 ]; then
    # 100% failed 
    echo "Host : $myHost is down (ping failed) at $(date)"

This is from here. You can also setup a cron job for this or any similar script to ping all your servers after a regular interval.


Nagstamon Install nagstamon might be useful.

From their website:

Nagstamon is a Nagios status monitor for the desktop. It connects to multiple Nagios, Icinga, Opsview, Centreon, Op5 Monitor/Ninja and Check_MK Multisite monitoring servers and resides in systray or as a floating statusbar at the desktop showing a brief summary of critical, warning, unknown, unreachable and down hosts and services and pops up a detailed status overview when moving the mouse pointer over it. Connecting to displayed hosts and services is easily established by context menu via SSH, RDP and VNC. Users can be notified by sound. Hosts and services can be filtered by category and regular expressions.


Not used it myself and I do not see the ability for mail notification (what I'd favor)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.