OVH Community, your new community space.

¿Cómo hacer funcionar el RTM en SyS?


Demiurgo
07/11/2014, 16:09
ey, gracias!, me sonaba que había que abrir puertos y añadir ips pero no recordaba cuales ... ya podrían poner el link dentro de la wiki del rtm ... porque no lo explica y la verdad es que te deja a ciegas

Siliconworld
05/11/2014, 22:42
Cita Publicado inicialmente por Demiurgo
¿Qué hace falta para que el RTM funcione? Puertos, ip a la que manda la información ... etc ...
http://help.ovh.co.uk/FireWall

If you want to block the ICMP protocol (Ping requests), you have to let at least ping.ovh.net, proxy.p19.ovh.net, proxy.rbx.ovh.net, proxy.ovh.net and proxy.rbx2.ovh.net to ping your server. It enables to OVH teams to check the status of your server.

In addition, you have to let the Ip address as the following example:

The Ip address of your server is aaa.bbb.ccc.ddd You have to pass: aaa.bbb.ccc.250 Example: 213.186.57.153 must pass 213.186.57.250 for the SLA server and 213.186.57.251 for the MRTG server so that it can use the RTM.

If you block all ping requests as well as Ovh's requests, we won't be able to check the state of your server and if a problem occurs, we won't be informed. To authorize ping from our servers, type the following rules:
Código:
/sbin/iptables -A INPUT -i eth0 -p icmp --source proxy.ovh.net -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -p icmp --source proxy.p19.ovh.net -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -p icmp --source proxy.rbx.ovh.net -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -p icmp --source proxy.sbg.ovh.net -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -p icmp --source proxy.bhs.ovh.net -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -p icmp --source ping.ovh.net -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -p icmp --source IP.250 -j ACCEPT # IP = aaa.bbb.ccc according to the previous rule
/sbin/iptables -A INPUT -i eth0 -p icmp --source IP.251 -j ACCEPT # IP = aaa.bbb.ccc according to the previous rule
O también en las guías en Español con más detalle:

http://guias.ovh.es/FireWall

Sección "IP a excluir y a autorizar"

Un Saludo y suerte.

EDIT: Por otro lado (ahora que me dio por mirar por si acaso) precisamente en una de las máquinas en GRA1 ayer (Miercoles 5) ha dejado de procesar los datos enviados por el cron del rtm, el resto en otros DC va perfectos y tanto el cron como los scripts funcionan correctamente, la IP.251 también responde a ping, lo mismo les ha petado algo, a ver que dicen, si dicen algo... veremos a lo largo del día de hoy si funciona de nuevo.

Demiurgo
04/11/2014, 20:08
Pues eso, comenzó funcionando pero al actualizarlo ha dejado de funcionar. El cron del programa funciona y al ejecutarlo muestra los datos también bien.

He probado desactivando el firewall y tal pero no hay manera. En la guía tampoco aclara nada ... http://help.ovh.co.uk/RealTimeMonitoring

¿Qué hace falta para que el RTM funcione? Puertos, ip a la que manda la información ... etc ...