mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
small cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@1235 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -53,12 +53,4 @@ while ($test_cpm = mysql_fetch_array($query)) {
|
||||
unset($valid_cpm);
|
||||
echo("\n");
|
||||
|
||||
|
||||
##### ************FIX ME*****************
|
||||
##### WRITE CODE TO REMOVE OLD PROCESSORS
|
||||
##### SOMETIMES CPUS FALL OUT, DONT THEY?
|
||||
##### ***********************************
|
||||
|
||||
echo("\n");
|
||||
|
||||
?>
|
||||
|
||||
@@ -56,12 +56,6 @@ function only_alphanumeric( $string )
|
||||
return preg_replace('/[^a-zA-Z0-9]/', '', $string);
|
||||
}
|
||||
|
||||
|
||||
function validate_hostip($host)
|
||||
{
|
||||
// FIXME
|
||||
}
|
||||
|
||||
function write_dev_attrib($device_id, $attrib_type, $attrib_value)
|
||||
{
|
||||
$count_sql = "SELECT COUNT(*) FROM devices_attribs WHERE `device_id` = '" . $device_id . "' AND `attrib_type` = '$attrib_type'";
|
||||
|
||||
@@ -32,7 +32,7 @@ while($storage = mysql_fetch_array($storage_data)) {
|
||||
if(is_file($file)) {
|
||||
include($file);
|
||||
} else {
|
||||
### FIXME GENERIC
|
||||
### Generic poller goes here if we ever have a discovery module which uses it.
|
||||
}
|
||||
|
||||
if($debug) {print_r($storage);}
|
||||
|
||||
Reference in New Issue
Block a user