[CentOS] automated smtp server check

Wed Nov 5 09:05:55 UTC 2014
Eliezer Croitoru <eliezer at ngtech.co.il>

-----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 then should be evaluated more deeply to meet your needs which
might be missing.

So:
- - Nagios scripts as crontab job
- - Other tcp level scripts as a crontab job
- - fully fledged nagios
- - other relevant solutions in your scope

Eliezer

On 11/04/2014 09: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.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUWehzAAoJENxnfXtQ8ZQUaIEH/AtTmVDT7XN7uiFHSvPQRyEI
Azb2L+RSMbvRq+n8yBx52D04F6A0YvRGYzA2/4i6ZK8ai3PV9DN1Y8IRim8PvNbf
UvvQAVA4XvKT/nDSQJHP7GldcUS0WBPTm4BP/MAl1QYM5CPhc5FoP9+UhUgELxoj
ZMzE58T+3XtzpQ5jeGELv9Oratz/zCIi+ysCdoJmoBgBd5Zg3Rfq53UGCxlKK6QB
pfAYR0wfKn4O5Yo+EHTHlDHM+PIUzqdEKPtCWWigPhGAiLyrbMXHLL+PM3Tw2wZ8
82She07GAmyqyAkwBvi92z74fedMyjFEcgodEk0PbZpRN6JsWSmF0sxwcy4RZiA=
=yLLM
-----END PGP SIGNATURE-----