From 303513ab472c2d6405f72c75130c61760935e0d8 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 28 Aug 2016 20:27:47 +0200 Subject: api/img_adt_svc_relais.php: add node coloring from monitoring info get_node_status.php is dummy for now, need SQL and ask the monitoring machine --- api/img_adt_svc_relais.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'api/img_adt_svc_relais.php') diff --git a/api/img_adt_svc_relais.php b/api/img_adt_svc_relais.php index ba1be49..d62145c 100644 --- a/api/img_adt_svc_relais.php +++ b/api/img_adt_svc_relais.php @@ -29,12 +29,39 @@ $mysqli->set_charset("utf8") or die($mysqli->error); $opt_show_source=array_key_exists('s', $_GET); $opt_embed=array_key_exists('e', $_GET); +$opt_ping=array_key_exists('p', $_GET); $arg_adt=(array_key_exists('a', $_GET) && is_numeric($_GET['a']))?(0+$_GET['a']):NULL; if (!$arg_adt) { die("Wrong args"); } +if ($opt_ping) { +?> + +