Re: [CentOS] automated smtp server check

2014-11-07 Thread Iain Morris
For some fast and free monitoring along with DNS verification/blacklist/config checks of your MX records, MXToolbox lets you monitor one domain for free. Nice to have an external, independent source checking your public MTA. Nagios is still what I would choose for minute-by-minute checks but

Re: [CentOS] automated smtp server check

2014-11-07 Thread Keith Keller
On 2014-11-07, Iain Morris iain.t.mor...@gmail.com wrote: For some fast and free monitoring along with DNS verification/blacklist/config checks of your MX records, MXToolbox lets you monitor one domain for free. Nice to have an external, independent source checking your public MTA. Nagios is

Re: [CentOS] automated smtp server check

2014-11-07 Thread Les Mikesell
On Fri, Nov 7, 2014 at 1:59 PM, Keith Keller kkel...@wombat.san-francisco.ca.us wrote: On 2014-11-07, Iain Morris iain.t.mor...@gmail.com wrote: For some fast and free monitoring along with DNS verification/blacklist/config checks of your MX records, MXToolbox lets you monitor one domain for

Re: [CentOS] automated smtp server check

2014-11-05 Thread Eliezer Croitoru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It could be done using a crontab job and it's very efficient sometimes to use only a crontab job instead of nagios. You can use the precompiled nagios scripts for the task. Unless you have constrains on the OS allowed languages and packages, which

Re: [CentOS] automated smtp server check

2014-11-05 Thread zep
On 11/04/2014 02:44 PM, John R Pierce wrote: On 11/4/2014 11:36 AM, Frank Cox wrote: Or if someone knows of an integrated tool that will monitor this in a better way (whatever that may be), I'm more than interested. Nagios I'd second nagios, but I think to -really- test smtp, you'd need an

Re: [CentOS] automated smtp server check

2014-11-05 Thread Chris Beattie
On 11/4/2014 2:36 PM, Frank Cox wrote: I would like to set up a cron job to automatically check whether my mailserver and webserver are up, and tell me if they're not. This script tells me if my webserver is up: ... How can I do the something similar with my mailserver? How about a cron

Re: [CentOS] automated smtp server check

2014-11-05 Thread Bowie Bailey
On 11/4/2014 7:35 PM, Frank Cox wrote: On Tue, 4 Nov 2014 23:41:36 +0100 Leon Fauster wrote: mon - old lady but small: It looks really cool, but boy does it have a list of dependencies: fping is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Authen::PAM) is needed by

Re: [CentOS] automated smtp server check

2014-11-05 Thread Keith Keller
On 2014-11-05, zep zgreenfel...@gmail.com wrote: I'd second nagios, but I think to -really- test smtp, you'd need an external email source, a specialized target user and cron on both sides (at least that'd how I'd do it, just to be sure mail is really flowing through). For just testing

[CentOS] automated smtp server check

2014-11-04 Thread Frank Cox
I would like to set up a cron job to automatically check whether my mailserver and webserver are up, and tell me if they're not. This script tells me if my webserver is up: #!/bin/bash wget -q --tries=10 --timeout=20 --spider http://melvilletheatre.com if [[ $? -eq 0 ]]; then echo

Re: [CentOS] automated smtp server check

2014-11-04 Thread John R Pierce
On 11/4/2014 11:36 AM, Frank Cox wrote: Or if someone knows of an integrated tool that will monitor this in a better way (whatever that may be), I'm more than interested. Nagios. -- john r pierce 37N 122W somewhere on the middle of the left coast

Re: [CentOS] automated smtp server check

2014-11-04 Thread José María Terry Jiménez
El 04/11/14 a las 20:36, Frank Cox escribió: I would like to set up a cron job to automatically check whether my mailserver and webserver are up, and tell me if they're not. This script tells me if my webserver is up: #!/bin/bash wget -q --tries=10 --timeout=20 --spider

Re: [CentOS] automated smtp server check

2014-11-04 Thread Steve Clark
On 11/04/2014 02:49 PM, José María Terry Jiménez wrote: El 04/11/14 a las 20:36, Frank Cox escribió: I would like to set up a cron job to automatically check whether my mailserver and webserver are up, and tell me if they're not. This script tells me if my webserver is up: #!/bin/bash wget

Re: [CentOS] automated smtp server check

2014-11-04 Thread Les Mikesell
On Tue, Nov 4, 2014 at 1:36 PM, Frank Cox thea...@melvilletheatre.com wrote: Or if someone knows of an integrated tool that will monitor this in a better way (whatever that may be), I'm more than interested. Overkill for one or a few sites, but: http://www.opennms.org/ can monitor most

Re: [CentOS] automated smtp server check

2014-11-04 Thread Leon Fauster
Am 04.11.2014 um 20:36 schrieb Frank Cox thea...@melvilletheatre.com: I would like to set up a cron job to automatically check whether my mailserver and webserver are up, and tell me if they're not. This script tells me if my webserver is up: #!/bin/bash wget -q --tries=10 --timeout=20

Re: [CentOS] automated smtp server check

2014-11-04 Thread Frank Cox
On Tue, 4 Nov 2014 23:41:36 +0100 Leon Fauster wrote: mon - old lady but small: It looks really cool, but boy does it have a list of dependencies: fping is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Authen::PAM) is needed by mon-1.2.0-8.el7.centos.x86_64

Re: [CentOS] automated smtp server check

2014-11-04 Thread Laurent Dumont
Monit could do the job. It's probably slightly overkill but it doesn't do graph. It's purely a is this service answering on that host type of monitoring. http://mmonit.com/monit/ On 11/4/2014 7:35 PM, Frank Cox wrote: On Tue, 4 Nov 2014 23:41:36 +0100 Leon Fauster wrote: mon - old lady