Added new health admin page for thresholds

This commit is contained in:
laf
2014-06-14 23:10:53 +01:00
parent 90e2305bcd
commit 911647d08c
14 changed files with 1039 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
/*
Copyright (C) 2013 LibreNMS Contributors librenms-project@googlegroups.com
*/
// FUA
for($x=0;$x<count($_POST['sensor_id']);$x++)
{
dbUpdate(array('sensor_limit' => $_POST['sensor_limit'][$x], 'sensor_limit_low' => $_POST['sensor_limit_low'][$x], 'sensor_alert' => $_POST['sensor_alert'][$x]), 'sensors', '`sensor_id` = ?', array($_POST['sensor_id'][$x]));
}