From e71c2a92269d123228f4803a4777a5452045d6b8 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Thu, 14 Aug 2014 21:03:13 +0200 Subject: inc/html: add deprecation message about collectd 4 --- inc/html.inc.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'inc/html.inc.php') diff --git a/inc/html.inc.php b/inc/html.inc.php index 117d61d..161af73 100644 --- a/inc/html.inc.php +++ b/inc/html.inc.php @@ -58,7 +58,7 @@ EOT; if(!function_exists('json_decode')) { echo << +
Your php version doesn't support JSON. Your graphs would have looked more beautiful if it did.
@@ -66,6 +66,17 @@ EOT; } + if($CONFIG['version'] == 4) { + echo << + You are using Collectd 4, which is deprecated by CGP. Graphs like + df and interfaces may be incomplete. + + +EOT; + + } + echo << -- cgit v1.1