[CentOS-es] Monit (Monitorer servicios de host remotos)

2013-05-09 Por tema Rodrigo Pichiñual Norin
Hola A todos,


Alguien conoce el programa *MONIT, *este sirve para monitorear servicios
directorios y host remotos en linux.

Yo lo acabo de instalar pero no me funciona para administrar servicios de
host remotos.


esta es mi configuracion.

el archivo ubicado en */etc/monitrc* contiene la configuración principal de
monit para que funcione

en el path */etc/monit/ *  se encuentran los que queremos monitorear


por ejemplo puedo monitorear apache en donde esta instalado monit

bajo el path /etc/monit creo el fichero *httpd.monitrc*

El contenido es:

check process httpd with pidfile /var/run/httpd/httpd.pid
   start program = /sbin/service httpd start
 stop program  = /sbin/service httpd stop
   if cpu  80% for 3 cycles then alert
  if totalmem  1500.0 MB for 5 cycles then alert
 if children  250 then alert
  if children  255 for 5 cycles then stop
 if cpu usage  95% for 3 cycles then restart
  if failed port 80 protocol http then restart

 check file httpd.conf with path /etc/httpd/conf/httpd.conf
if changed checksum then alert
  alert rodrigo.pichin...@gmail.com

esto funciona


pero para un servidor remoto por ejemplo server1.dominio.com creo el
archivo *server1.monitrc*
y en este la idea es monitorear *mysql*
*
*
el contenido es:

check host server1.dominio.com with address 192.168.1.208
if failed port 3306 proto mysql then alert


pero en lo segundo me dice concexion  fallida.



alguien sabe de este tema.


Gracias.
*
*
*
*
*
*
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] una de postfix con centos

2013-05-09 Por tema troxlinux
señores gusto en saludarles , tengo un problemita con postfix+mysql+sasl ,
he cambiado la version por defecto que trae centos 6.4 y he puesto la 2.9x
y algo y aun asi me sigue dando problemas

ostfix/smtpd[2926]: sql plugin could not connect to host 127.0.0.1
May  9 16:49:21 shark postfix/smtpd[2926]: sql plugin couldn't connect to
any host
May  9 16:49:21 shark postfix/smtpd[2926]: sql plugin could not connect to
host 127.0.0.1
May  9 16:49:21 shark postfix/smtpd[2926]: sql plugin couldn't connect to
any host
May  9 16:49:21 shark postfix/smtpd[2926]: sql plugin could not connect to
host 127.0.0.1
May  9 16:49:21 shark postfix/smtpd[2926]: sql plugin couldn't connect to
any host
May  9 16:49:21 shark postfix/smtpd[2926]: sql plugin could not connect to
host 127.0.0.1
May  9 16:49:21 shark postfix/smtpd[2926]: sql plugin couldn't connect to
any host

cuando me logeo con thunderbird no me deja enviar correos y no me acepta la
contraseña , por webmail sin problemas

unknown[190.2]: SASL PLAIN authentication failed: authentication failure
May  9 16:49:21 shark postfix/smtpd[2926]: warning: unknown[190.2: SASL
LOGIN authenticatio

alguna idea?

-- 
rickygm

http://gnuforever.homelinux.com
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es