-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hola amigos, les cuento que ayer domingo el servidor de la empresa estuvo offline durante 8 horas por un fallo del suministro eléctrico, el nobreak estuvo desde las 12 de la noche a las 4 de la mañana y de repente todo abajo, lo peor fue que no se podia enviar ni recibir correo así como loguearse al open exchange por un error en ldap... la recuperación fue sencilla, pero ahora los altos mandos quieren algo nuevo: Que que haya un software monitoreando el ups y cuando se vaya la energía el software mande llamar a algun script que envíe un mensaje a los mobiles avisándonos para tomar medidas preventivas. Encontré un software llamado smssend y el script para la compañia mobil (unefon) y una interface php , entonces, ahora necesito el software de UPS que pueda en dado caso mandar una alerta o ejecutar un script que enlace todo este rollo para que podamos ser avisados los encargados. Jorge Alejandro Aleman Soporte Tecnico THALES e-Security HSM WebSentry PRODIC S.A. DE C.V. Matagalpa # 926 Col Lindavista. 57520756 - 55868806 - 55864330 This communication is for use by the intended recipient and contains information that may be privileged, confidential or copyrighted under applicable law. If you are not the intended recipient, you are hereby formally notified that any use, copying or distribution of this e-mail, in whole or in part, is strictly prohibited. Please notify the sender by return e-mail and delete this e-mail from your system. Unless explicitly and conspicuously designated as "E-Contract Intended", this e-mail does not constitute a contract offer, a contract amendment, or an acceptance of a contract offer. This e-mail does not constitute a consent to the use of sender's contact information for direct marketing purposes or for transfers of data to third parties. www.prodic.com.mx http://www.prodic.com.mx/ -----BEGIN PGP SIGNATURE----- Version: PGP 8.1 iQA/AwUBQfUvX3m+P3WdxF58EQLDMACfYIL7JgVgx+EKakvY0nNQR6yy6OcAoJ0d JlAJHrXhbH736bJ4vBjU5JSD =3Ad4 -----END PGP SIGNATURE-----
el daemon que supervisa al UPS manda una signal Lo siguiente es un trozo de initab que se encarga de esto Por ahi podrias empezar. # what to do when power fails/returns pf::powerwait:/etc/init.d/powerfail start pn::powerfailnow:/etc/init.d/powerfail now #pn::powerfail:/etc/init.d/powerfail now po::powerokwait:/etc/init.d/powerfail stop # for ARGO UPS sh:12345:powerfail:/sbin/shutdown -h now THE POWER IS FAILING El lun, 24-01-2005 a las 11:24 -0600, Alejandro Alemán escribió:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hola amigos, les cuento que ayer domingo el servidor de la empresa estuvo offline durante 8 horas por un fallo del suministro eléctrico, el nobreak estuvo desde las 12 de la noche a las 4 de la mañana y de repente todo abajo, lo peor fue que no se podia enviar ni recibir correo así como loguearse al open exchange por un error en ldap... la recuperación fue sencilla, pero ahora los altos mandos quieren algo nuevo:
Que que haya un software monitoreando el ups y cuando se vaya la energía el software mande llamar a algun script que envíe un mensaje a los mobiles avisándonos para tomar medidas preventivas.
Encontré un software llamado smssend y el script para la compañia mobil (unefon) y una interface php , entonces, ahora necesito el software de UPS que pueda en dado caso mandar una alerta o ejecutar un script que enlace todo este rollo para que podamos ser avisados los encargados.
Jorge Alejandro Aleman Soporte Tecnico THALES e-Security HSM WebSentry PRODIC S.A. DE C.V. Matagalpa # 926 Col Lindavista. 57520756 - 55868806 - 55864330
This communication is for use by the intended recipient and contains information that may be privileged, confidential or copyrighted under applicable law. If you are not the intended recipient, you are hereby formally notified that any use, copying or distribution of this e-mail, in whole or in part, is strictly prohibited. Please notify the sender by return e-mail and delete this e-mail from your system. Unless explicitly and conspicuously designated as "E-Contract Intended", this e-mail does not constitute a contract offer, a contract amendment, or an acceptance of a contract offer. This e-mail does not constitute a consent to the use of sender's contact information for direct marketing purposes or for transfers of data to third parties.
www.prodic.com.mx http://www.prodic.com.mx/
-----BEGIN PGP SIGNATURE----- Version: PGP 8.1
iQA/AwUBQfUvX3m+P3WdxF58EQLDMACfYIL7JgVgx+EKakvY0nNQR6yy6OcAoJ0d JlAJHrXhbH736bJ4vBjU5JSD =3Ad4 -----END PGP SIGNATURE-----
participants (2)
-
Alejandro Alemán
-
lmartinez