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?
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.
On Sun, Nov 27, 2011 at 18:01, Kenneth Porter <shiva at sewingwitch.com> 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.
You can try zabbix www.zabbix.com On 11/27/2011 08: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. > > 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 at centos.org > http://lists.centos.org/mailman/listinfo/centos >
On Sun, Nov 27, 2011 at 5:01 PM, Kenneth Porter <shiva at sewingwitch.com> 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.It might be overkill but OpenNMS does that along with monitoring via SNMP. http://www.opennms.org> Also, does a script exist that checks all the services listed by chkconfig > and reports those that should be up but are down?OpenNMS normally probes to auto-discover running services, then alarms if they go away, but there is also a provisioning mode where you provide the nodes and services to monitor. -- Les Mikesell lesmikesell at gmail.com
On Sun, 27 Nov 2011, 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.We use Nagios at work, as many others have suggested. I've never configured Nagios to do SMS directly. We have text-message escalations by e-mail, since several cellular carriers allow e-mails to be sent directly to your phone: * AT&T: <phone number>@txt.att.net * T-Mobile: <phone number>@tmomail.net * Verizon: <phone number>@vtext.com Where <phone number> is your 10-digit number. -- Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/