mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Save MIB graphs in database, tag devices for graphing
This commit is contained in:
@@ -358,7 +358,6 @@ function rrd_create_update($device, $name, $def, $val, $step = 300)
|
||||
{
|
||||
global $config;
|
||||
$rrd = implode("/", array($config['rrd_dir'], $device['hostname'], safename(implode("-", $name)).".rrd"));
|
||||
d_echo("RRD file: $rrd");
|
||||
|
||||
if (!is_file($rrd)) {
|
||||
// add the --step and the rra definitions to the array
|
||||
|
||||
@@ -43,6 +43,6 @@ if (isset($ruckuscountry) && $ruckuscountry != "") {
|
||||
$ruckus_mibs = array(
|
||||
"ruckusZDSystemStats" => "RUCKUS-ZD-SYSTEM-MIB",
|
||||
);
|
||||
poll_mibs($ruckus_mibs, $device);
|
||||
poll_mibs($ruckus_mibs, $device, $graphs);
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user