A bit off topic, but I keep looking for an answer to this question and coming up with nothing... so I thought I would go to the gurus. :-) Can anyone recommend a good package for pinging other devices and sending an email/alert when they go down? I'm aware of all kinds of more complex things with GUIs and a zillion other bells and whistles we aren't looking for, but we just want a simple tool (could be daemon or something run from cron) that runs every 1 - 5 minutes and alerts us when stuff disappears. Would need some basic logic like only sending one email/alert when something goes down (vs sending an email every 1-5 minutes until it comes back up). :-) We need to avoid a requirement for an X-windows GUI, but a web-GUI would probably be fine (a GUI-less command-line thing would probably be best). TIA, KC
Nagios?
Kennedy Clark wrote:
A bit off topic, but I keep looking for an answer to this question and coming up with nothing... so I thought I would go to the gurus. :-) Can anyone recommend a good package for pinging other devices and sending an email/alert when they go down? I'm aware of all kinds of more complex things with GUIs and a zillion other bells and whistles we aren't looking for, but we just want a simple tool (could be daemon or something run from cron) that runs every 1 - 5 minutes and alerts us when stuff disappears. Would need some basic logic like only sending one email/alert when something goes down (vs sending an email every 1-5 minutes until it comes back up). :-) We need to avoid a requirement for an X-windows GUI, but a web-GUI would probably be fine (a GUI-less command-line thing would probably be best). TIA, KC
I recommend monit (http://www.tildeslash.com/monit). It is very easy to set up and it works great. You can grab the RPM from Dag's repository.
Marko
On Thu, September 22, 2005 10:54 am, Kennedy Clark said:
A bit off topic, but I keep looking for an answer to this question and coming up with nothing... so I thought I would go to the gurus. :-) Can anyone recommend a good package for pinging other devices and sending an email/alert when they go down? I'm aware of all kinds of more complex things with GUIs and a zillion other bells and whistles we aren't looking for, but we just want a simple tool (could be daemon or something run from cron) that runs every 1 - 5 minutes and alerts us when stuff disappears. Would need some basic logic like only sending one email/alert when something goes down (vs sending an email every 1-5 minutes until it comes back up). :-) We need to avoid a requirement for an X-windows GUI, but a web-GUI would probably be fine (a GUI-less command-line thing would probably be best). TIA, KC _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Marko A. Jennings wrote:
I recommend monit (http://www.tildeslash.com/monit). It is very easy to set up and it works great. You can grab the RPM from Dag's repository.
Marko
zabbix looks interesting as well. Anyone using it? http://www.zabbix.com
On Thu, 2005-09-22 at 13:54 -0400, Kennedy Clark wrote:
A bit off topic, but I keep looking for an answer to this question and coming up with nothing... so I thought I would go to the gurus. :-)
Can anyone recommend a good package for pinging other devices and sending an email/alert when they go down? I'm aware of all kinds of more complex things with GUIs and a zillion other bells and whistles we aren't looking for, but we just want a simple tool (could be daemon or something run from cron) that runs every 1 - 5 minutes and alerts us when stuff disappears. Would need some basic logic like only sending one email/alert when something goes down (vs sending an email every 1-5 minutes until it comes back up). :-) We need to avoid a requirement for an X-windows GUI, but a web-GUI would probably be fine (a GUI-less command-line thing would probably be best).
---- the all purpose server tool - webmin
www.webmin.com
Craig
On Thu, 2005-09-22 at 12:54, Kennedy Clark wrote:
A bit off topic, but I keep looking for an answer to this question and coming up with nothing... so I thought I would go to the gurus. :-)
Can anyone recommend a good package for pinging other devices and sending an email/alert when they go down? I'm aware of all kinds of more complex things with GUIs and a zillion other bells and whistles we aren't looking for, but we just want a simple tool (could be daemon or something run from cron) that runs every 1 - 5 minutes and alerts us when stuff disappears. Would need some basic logic like only sending one email/alert when something goes down (vs sending an email every 1-5 minutes until it comes back up). :-) We need to avoid a requirement for an X-windows GUI, but a web-GUI would probably be fine (a GUI-less command-line thing would probably be best).
This probably isn't the best anymore, but I've had it running with no particular problems for 5 or 6 years - before any of the others like it were available. It is all-perl, has one server process to collate the responses and rate-limit the alarms, one network probe for all the remotely checks, and optional local clients for some things that can only be tested locally. It is fairly easy to add custom tests for local applications. http://spong.sourceforge.net/
Add the dag repository to your yum then "yum install nagios". Doing the initial config will take a couple of hours, but once it is running it is capable of whatever you need I would say.
Les Mikesell wrote:
On Thu, 2005-09-22 at 12:54, Kennedy Clark wrote:
A bit off topic, but I keep looking for an answer to this question and coming up with nothing... so I thought I would go to the gurus. :-)
Can anyone recommend a good package for pinging other devices and sending an email/alert when they go down? I'm aware of all kinds of more complex things with GUIs and a zillion other bells and whistles we aren't looking for, but we just want a simple tool (could be daemon or something run from cron) that runs every 1 - 5 minutes and alerts us when stuff disappears. Would need some basic logic like only sending one email/alert when something goes down (vs sending an email every 1-5 minutes until it comes back up). :-) We need to avoid a requirement for an X-windows GUI, but a web-GUI would probably be fine (a GUI-less command-line thing would probably be best).
This probably isn't the best anymore, but I've had it running with no particular problems for 5 or 6 years - before any of the others like it were available. It is all-perl, has one server process to collate the responses and rate-limit the alarms, one network probe for all the remotely checks, and optional local clients for some things that can only be tested locally. It is fairly easy to add custom tests for local applications. http://spong.sourceforge.net/
For depending on your needs, (how many hosts, what all you need monitored) Nagios (http://www.nagios.org/) Mon (http://www.kernel.org/pub/software/admin/mon/html/) or Zabbix (http://www.*zabbix*.com/) may do the trick. They are resonably different from each other, while having a converging set of features. Each handles considerably more than ping, so they may be overkill for you.
Jacob Leaver Senior Systems Administrator ReachONE Internet
Kennedy Clark wrote:
A bit off topic, but I keep looking for an answer to this question and coming up with nothing... so I thought I would go to the gurus. :-)
Can anyone recommend a good package for pinging other devices and sending an email/alert when they go down? I'm aware of all kinds of more complex things with GUIs and a zillion other bells and whistles we aren't looking for, but we just want a simple tool (could be daemon or something run from cron) that runs every 1 - 5 minutes and alerts us when stuff disappears. Would need some basic logic like only sending one email/alert when something goes down (vs sending an email every 1-5 minutes until it comes back up). :-) We need to avoid a requirement for an X-windows GUI, but a web-GUI would probably be fine (a GUI-less command-line thing would probably be best).
Bash. Here is what I use for monitoring my website
#!/bin/bash
URL="http://www.911networks.com" EMAIL="artsi@fartsi.com"
lynx -dump "$URL" > /dev/null if [ $? -ne 0 ]; then echo "`date "+%F %T"` - $URL is down" | mail -s "$URL is down" $EMAIL fi
Watch for the wraps and make it executable [chmod 7xx]
CentOS mailing list wrote:
Kennedy Clark wrote:
A bit off topic, but I keep looking for an answer to this question and coming up with nothing... so I thought I would go to the gurus. :-)
Can anyone recommend a good package for pinging other devices and sending an email/alert when they go down? I'm aware of all kinds of more complex things with GUIs and a zillion other bells and whistles we aren't looking for, but we just want a simple tool (could be daemon or something run from cron) that runs every 1 - 5 minutes and alerts us when stuff disappears. Would need some basic logic like only sending one email/alert when something goes down (vs sending an email every 1-5 minutes until it comes back up). :-) We need to avoid a requirement for an X-windows GUI, but a web-GUI would probably be fine (a GUI-less command-line thing would probably be best).
Bash. Here is what I use for monitoring my website
#!/bin/bash
URL="http://www.911networks.com" EMAIL="artsi@fartsi.com"
lynx -dump "$URL" > /dev/null if [ $? -ne 0 ]; then echo "`date "+%F %T"` - $URL is down" | mail -s "$URL is down" $EMAIL fi
Watch for the wraps and make it executable [chmod 7xx]
This is the sort of thing I was going to suggest. You could go 1 better & have it resubmit itself periodically w/ at(1). Maybe get it to do some argument parsing so you could pass in the URL, EMAIL, then invoke plural instances for however many things you want to monitor ....
--- "William A. Mahaffey III" wam@HiWAAY.net wrote:
CentOS mailing list wrote:
Kennedy Clark wrote:
A bit off topic, but I keep looking for an answer
to this question
and coming up with nothing... so I thought I
would go to the gurus. :-)
Can anyone recommend a good package for pinging
other devices and
sending an email/alert when they go down? I'm
aware of all kinds of
more complex things with GUIs and a zillion other
bells and whistles
we aren't looking for, but we just want a simple
tool (could be
daemon or something run from cron) that runs
every 1 - 5 minutes and
alerts us when stuff disappears. Would need some
basic logic like
only sending one email/alert when something goes
down (vs sending an
email every 1-5 minutes until it comes back up).
:-) We need to
avoid a requirement for an X-windows GUI, but a
web-GUI would
probably be fine (a GUI-less command-line thing
would probably be best).
Bash. Here is what I use for monitoring my website
#!/bin/bash
URL="http://www.911networks.com" EMAIL="artsi@fartsi.com"
lynx -dump "$URL" > /dev/null if [ $? -ne 0 ]; then echo "`date "+%F %T"` - $URL is down" | mail
-s "$URL is down" $EMAIL
fi
Watch for the wraps and make it executable [chmod
7xx]
This is the sort of thing I was going to suggest. You could go 1 better & have it resubmit itself periodically w/ at(1). Maybe get it to do some argument parsing so you could pass in the URL, EMAIL, then invoke plural instances for however many things you want to monitor ....
-- William A. Mahaffey III
---------------------------------------------------------------------
Remember, ignorance is bliss, but willful ignorance is LIBERALISM !!!!
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
My question is wouldnt this keep on sending emails all the time ping keeps on seeing it is down. I thought one of the requirements was once for each occurance? I probably am reading this wrong...
Steven
"On the side of the software box, in the 'System Requirements' section, it said 'Requires Windows or better'. So I installed Linux."
Steven Vishoot wrote:
--- "William A. Mahaffey III" wam@HiWAAY.net wrote:
CentOS mailing list wrote:
Kennedy Clark wrote:
A bit off topic, but I keep looking for an answer
to this question
and coming up with nothing... so I thought I
would go to the gurus. :-)
Can anyone recommend a good package for pinging
other devices and
sending an email/alert when they go down? I'm
aware of all kinds of
more complex things with GUIs and a zillion other
bells and whistles
we aren't looking for, but we just want a simple
tool (could be
daemon or something run from cron) that runs
every 1 - 5 minutes and
alerts us when stuff disappears. Would need some
basic logic like
only sending one email/alert when something goes
down (vs sending an
email every 1-5 minutes until it comes back up).
:-) We need to
avoid a requirement for an X-windows GUI, but a
web-GUI would
probably be fine (a GUI-less command-line thing
would probably be best).
Bash. Here is what I use for monitoring my website
#!/bin/bash
URL="http://www.911networks.com" EMAIL="artsi@fartsi.com"
lynx -dump "$URL" > /dev/null if [ $? -ne 0 ]; then echo "`date "+%F %T"` - $URL is down" | mail
-s "$URL is down" $EMAIL
fi
Watch for the wraps and make it executable [chmod
7xx]
This is the sort of thing I was going to suggest. You could go 1 better & have it resubmit itself periodically w/ at(1). Maybe get it to do some argument parsing so you could pass in the URL, EMAIL, then invoke plural instances for however many things you want to monitor ....
-- William A. Mahaffey III
Remember, ignorance is bliss, but willful ignorance is LIBERALISM !!!!
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
My question is wouldnt this keep on sending emails all the time ping keeps on seeing it is down. I thought one of the requirements was once for each occurance? I probably am reading this wrong...
Steven
"On the side of the software box, in the 'System Requirements' section, it said 'Requires Windows or better'. So I installed Linux." _______________________________________________
It wouldn't have to. You would probably structure the script to E-mail if the device was down & then exit. It would re-submit itself if the device were up :-).
On 9/22/05, Kennedy Clark hkclark@gmail.com wrote:
A bit off topic, but I keep looking for an answer to this question and coming up with nothing... so I thought I would go to the gurus. :-)
Can anyone recommend a good package for pinging other devices and sending an email/alert when they go down? I'm aware of all kinds of more complex things with GUIs and a zillion other bells and whistles we aren't looking for, but we just want a simple tool (could be daemon or something run from cron) that runs every 1 - 5 minutes and alerts us when stuff disappears. Would need some basic logic like only sending one email/alert when something goes down (vs sending an email every 1-5 minutes until it comes back up). :-) We need to avoid a requirement for an X-windows GUI, but a web-GUI would probably be fine (a GUI-less command-line thing would probably be best).
I don't know about best, but we're using Big Sister (http://www.bigsister.ch/) - web based.
-- Collins Richey Debugging is twice as hard as writing the code ... If you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -Brian Kernighan