More updates

This commit is contained in:
laf
2015-08-17 14:31:21 +00:00
parent dc05958a12
commit 62f88a4ec4
3 changed files with 37 additions and 11 deletions
+6
View File
@@ -1238,3 +1238,9 @@ function fping($host,$params) {
function function_check($function) {
return function_exists($function);
}
function force_influx_data($type,$data) {
if ($type == 'f' || $type == 'float') {
return(sprintf("%.1f",$data));
}
}// end force_influx_data