[CentOS] Monitoring services
What's available to remotely monitor services? What I'd like is something that can run scripts for each service to connect to a port and verify that it's up, and then send me an SMS message (phone text) to let me know which, if any, are down. Also, does a script exist that checks all the services listed by chkconfig and reports those that should be up but are down? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Monitoring services
On 11/27/2011 4:01 PM, Kenneth Porter wrote: > What's available to remotely monitor services? What I'd like is something > that can run scripts for each service to connect to a port and verify that > it's up, and then send me an SMS message (phone text) to let me know which, > if any, are down. > Nagios ( http://www.nagios.org/ ) is one of the many pieces of software that can do this. > Also, does a script exist that checks all the services listed by chkconfig > and reports those that should be up but are down? None that I'm aware of. If you're going to write one, keep in mind that some init scripts list as "on" in chkconfig and run on boot but don't actually launch a process. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Monitoring services
--On Sunday, November 27, 2011 4:22 PM -0700 Corey Henderson wrote: > None that I'm aware of. If you're going to write one, keep in mind that > some init scripts list as "on" in chkconfig and run on boot but don't > actually launch a process. True. I was thinking that a script could run "chkconfig --list" to first find the processes that should be running, then run "service $servicename status" on each to look for ones that were down. Alas, I don't think there's a standard for the output, but the oddballs that don't match RHEL's conventions should be few. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Monitoring services
On Sun, Nov 27, 2011 at 18:01, Kenneth Porter wrote: > What's available to remotely monitor services? What I'd like is something > that can run scripts for each service to connect to a port and verify that > it's up, and then send me an SMS message (phone text) to let me know which, > if any, are down. > > Also, does a script exist that checks all the services listed by chkconfig > and reports those that should be up but are down? > > Not sure about the second one, but we used siteuptime.com at my last job for external checks, and I'm using the free version of pingdom to keep an eye on my VPS. Both can be configured to check a port every X amount of time and report back. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Monitoring services
Nagios is probably the most popular, and is pretty powerful and relatively easy to write your own plugins for. I have to look at this in my new job in the next month or so. I'm going to have a look at Zenoss and if that does not pan out and nothing else turns up I'll fall back to Nagios. Really there is not anything bad you can say about Nagios for this specific purpose other than that the web monitoring GUI is kind of ugly (or was in the last version I used about 2 years ago). But Zenoss advertises that it does this plus a number of other things I need so I could kill a few birds with one stone there. -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Monitoring services
On Sun, 2011-11-27 at 20:56 -0500, Alan McKay wrote: > Nagios is probably the most popular, and is pretty powerful and > relatively easy to write your own plugins for. > > I have to look at this in my new job in the next month or so. I'm > going to have a look at Zenoss and if that does not pan out and > nothing else turns up I'll fall back to Nagios. > > Really there is not anything bad you can say about Nagios for this > specific purpose other than that the web monitoring GUI is kind of > ugly (or was in the last version I used about 2 years ago). But > Zenoss advertises that it does this plus a number of other things I > need so I could kill a few birds with one stone there. I like Zenoss Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Monitoring services
>Nagios is probably the most popular, and is pretty powerful and >relatively easy to write your own plugins for. > >I have to look at this in my new job in the next month or so. I'm >going to have a look at Zenoss and if that does not pan out and >nothing else turns up I'll fall back to Nagios. > >Really there is not anything bad you can say about Nagios for this >specific purpose other than that the web monitoring GUI is kind of >ugly (or was in the last version I used about 2 years ago). But >Zenoss advertises that it does this plus a number of other things I >need so I could kill a few birds with one stone there. We use nagios. I like the basic priciple of this software. Very simple theory. But you would need a software that can manage the configuration data. Thanks, Yu > > > >-- >泥on't eat anything you've ever seen advertised on TV・ >\xA0 \xA0 \xA0 \xA0\xA0 - Michael Pollan, author of "In Defense of Food" >___ >CentOS mailing list >CentOS@centos.org >http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos