mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Eradicate is file checks for our rrds (leave them for nfsen and collectd)
This commit is contained in:
@@ -6,7 +6,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$apache_rrd = rrd_name($device['hostname'], array('app', 'apache', $app['app_id']));
|
||||
|
||||
if (is_file($apache_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($apache_rrd)) {
|
||||
$rrd_filename = $apache_rrd;
|
||||
}
|
||||
|
||||
|
@@ -6,7 +6,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$apache_rrd = rrd_name($device['hostname'], array('app', 'apache', $app['app_id']));
|
||||
|
||||
if (is_file($apache_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($apache_rrd)) {
|
||||
$rrd_filename = $apache_rrd;
|
||||
}
|
||||
|
||||
|
@@ -6,7 +6,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$apache_rrd = rrd_name($device['hostname'], array('app', 'apache', $app['app_id']));
|
||||
|
||||
if (is_file($apache_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($apache_rrd)) {
|
||||
$rrd_filename = $apache_rrd;
|
||||
}
|
||||
|
||||
|
@@ -50,7 +50,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -48,7 +48,7 @@ $rrd_list = array();
|
||||
|
||||
$config['graph_colours']['merged'] = array_merge($config['graph_colours']['greens'], $config['graph_colours']['blues']);
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = strtoupper($ds);
|
||||
|
@@ -8,7 +8,7 @@ $out_text = 'Commit';
|
||||
|
||||
$ceph_osd_rrd = ceph_rrd('osd');
|
||||
|
||||
if (is_file($ceph_osd_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($ceph_osd_rrd)) {
|
||||
$rrd_filename = $ceph_osd_rrd;
|
||||
}
|
||||
|
||||
|
@@ -4,7 +4,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$ceph_pool_rrd = ceph_rrd('df');
|
||||
|
||||
if (is_file($ceph_pool_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($ceph_pool_rrd)) {
|
||||
$rrd_filename = $ceph_pool_rrd;
|
||||
}
|
||||
|
||||
|
@@ -9,7 +9,7 @@ $format = 'bytes';
|
||||
|
||||
$ceph_pool_rrd = ceph_rrd('pool');
|
||||
|
||||
if (is_file($ceph_pool_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($ceph_pool_rrd)) {
|
||||
$rrd_filename = $ceph_pool_rrd;
|
||||
}
|
||||
|
||||
|
@@ -6,7 +6,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$ceph_pool_rrd = ceph_rrd('pool');
|
||||
|
||||
if (is_file($ceph_pool_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($ceph_pool_rrd)) {
|
||||
$rrd_filename = $ceph_pool_rrd;
|
||||
}
|
||||
|
||||
|
@@ -6,7 +6,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$ceph_pool_rrd = ceph_rrd('df');
|
||||
|
||||
if (is_file($ceph_pool_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($ceph_pool_rrd)) {
|
||||
$rrd_filename = $ceph_pool_rrd;
|
||||
}
|
||||
|
||||
|
@@ -6,7 +6,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$drbd_rrd = rrd_name($device['hostname'], array('app', 'drbd', $app['app_instance']));
|
||||
|
||||
if (is_file($drbd_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($drbd_rrd)) {
|
||||
$rrd_filename = $drbd_rrd;
|
||||
}
|
||||
|
||||
|
@@ -6,7 +6,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$drbd_rrd = rrd_name($device['hostname'], array('app', 'drbd', $app['app_instance']));
|
||||
|
||||
if (is_file($drbd_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($drbd_rrd)) {
|
||||
$rrd_filename = $drbd_rrd;
|
||||
}
|
||||
|
||||
|
@@ -12,7 +12,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -6,7 +6,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$drbd_rrd = rrd_name($device['hostname'], array('app', 'drbd', $app['app_instance']));
|
||||
|
||||
if (is_file($drbd_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($drbd_rrd)) {
|
||||
$rrd_filename = $drbd_rrd;
|
||||
}
|
||||
|
||||
|
@@ -16,7 +16,7 @@ $array = array(
|
||||
$i = 0;
|
||||
$x = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$max_colours = count($config['graph_colours'][$colours]);
|
||||
foreach ($array as $ds => $vars) {
|
||||
$x = (($x <= $max_colours) ? $x : 0);
|
||||
|
@@ -17,7 +17,7 @@ $colour_area_out_max = 'FFEFAA';
|
||||
|
||||
$mailscanner_rrd = rrd_name($device['hostname'], array('app', 'mailscannerV2', $app['app_id']));
|
||||
|
||||
if (is_file($mailscanner_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($mailscanner_rrd)) {
|
||||
$rrd_filename = $mailscanner_rrd;
|
||||
}
|
||||
|
||||
|
@@ -19,7 +19,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
$rrd = rrd_name($device['hostname'], array('app', 'memcached', $app['app_id']));
|
||||
if (is_file($rrd)) {
|
||||
if (rrdtool_check_rrd_exists($rrd)) {
|
||||
$rrd_filename = $rrd;
|
||||
}
|
||||
|
@@ -21,7 +21,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -20,7 +20,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -16,7 +16,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -44,7 +44,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -34,7 +34,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -12,7 +12,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -12,7 +12,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -11,7 +11,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -11,7 +11,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -4,7 +4,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$mysql_rrd = rrd_name($device['hostname'], array('app', 'mysql', $app['app_id']));
|
||||
|
||||
if (is_file($mysql_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($mysql_rrd)) {
|
||||
$rrd_filename = $mysql_rrd;
|
||||
}
|
||||
|
||||
|
@@ -15,7 +15,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -4,7 +4,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$mysql_rrd = rrd_name($device['hostname'], array('app', 'mysql', $app['app_id']));
|
||||
|
||||
if (is_file($mysql_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($mysql_rrd)) {
|
||||
$rrd_filename = $mysql_rrd;
|
||||
}
|
||||
|
||||
|
@@ -12,7 +12,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -11,7 +11,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -7,7 +7,7 @@ $rrd_filename = rrd_name($device['hostname'], array('app', 'mysql', $app['app_id
|
||||
$array = array('IBTNx' => 'Transactions created');
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -12,7 +12,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -4,7 +4,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$mysql_rrd = rrd_name($device['hostname'], array('app', 'mysql', $app['app_id']));
|
||||
|
||||
if (is_file($mysql_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($mysql_rrd)) {
|
||||
$rrd_filename = $mysql_rrd;
|
||||
}
|
||||
|
||||
|
@@ -4,45 +4,45 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$mysql_rrd = rrd_name($device['hostname'], array('app', mysql, $app['app_id']));
|
||||
|
||||
if (is_file($mysql_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($mysql_rrd)) {
|
||||
$rrd_filename = $mysql_rrd;
|
||||
}
|
||||
|
||||
$array = array(
|
||||
'QCQICe' => array(
|
||||
'descr' => 'Queries in cache',
|
||||
'colour' => '22FF22',
|
||||
),
|
||||
'QCHs' => array(
|
||||
'descr' => 'Cache hits',
|
||||
'colour' => '0022FF',
|
||||
),
|
||||
'QCIs' => array(
|
||||
'descr' => 'Inserts',
|
||||
'colour' => 'FF0000',
|
||||
),
|
||||
'QCNCd' => array(
|
||||
'descr' => 'Not cached',
|
||||
'colour' => '00AAAA',
|
||||
),
|
||||
'QCLMPs' => array(
|
||||
'descr' => 'Low-memory prunes',
|
||||
'colour' => 'FF00FF',
|
||||
),
|
||||
);
|
||||
$array = array(
|
||||
'QCQICe' => array(
|
||||
'descr' => 'Queries in cache',
|
||||
'colour' => '22FF22',
|
||||
),
|
||||
'QCHs' => array(
|
||||
'descr' => 'Cache hits',
|
||||
'colour' => '0022FF',
|
||||
),
|
||||
'QCIs' => array(
|
||||
'descr' => 'Inserts',
|
||||
'colour' => 'FF0000',
|
||||
),
|
||||
'QCNCd' => array(
|
||||
'descr' => 'Not cached',
|
||||
'colour' => '00AAAA',
|
||||
),
|
||||
'QCLMPs' => array(
|
||||
'descr' => 'Low-memory prunes',
|
||||
'colour' => 'FF00FF',
|
||||
),
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
|
||||
$rrd_list = array();
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
$rrd_list[$i]['ds'] = $ds;
|
||||
// $rrd_list[$i]['colour'] = $vars['colour'];
|
||||
$i++;
|
||||
$rrd_list[] = array(
|
||||
'filename' => $rrd_filename,
|
||||
'descr' => $vars['descr'],
|
||||
'ds' => $ds,
|
||||
// 'colour' => $vars['colour']
|
||||
);
|
||||
}
|
||||
}
|
||||
else {
|
||||
echo "file missing: $file";
|
||||
echo "data missing: $mysql_rrd";
|
||||
}
|
||||
|
||||
$colours = 'mixed';
|
||||
|
@@ -10,7 +10,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -13,7 +13,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -7,7 +7,7 @@ $rrd_filename = rrd_name($device['hostname'], array('app', 'mysql', $app['app_id
|
||||
$array = array('SQs' => 'Slow queries');
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -12,7 +12,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -24,7 +24,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $vars => $ds) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -10,7 +10,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -11,7 +11,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
|
@@ -26,7 +26,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -4,7 +4,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$rrd_filename = rrd_name($device['hostname'], array('app', 'nginx', $app['app_id']));
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$rrd_options .= ' -b 1000 ';
|
||||
$rrd_options .= ' -l 0 ';
|
||||
$rrd_options .= ' DEF:a='.$rrd_filename.':Requests:AVERAGE';
|
||||
|
@@ -11,7 +11,7 @@ $graph_max = 100;
|
||||
$unit_text = 'Frequency';
|
||||
$ntpclient_rrd = rrd_name($device['hostname'], array('app', 'ntpclient', $app['app_id']));
|
||||
|
||||
if (is_file($ntpclient_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($ntpclient_rrd)) {
|
||||
$rrd_filename = $ntpclient_rrd;
|
||||
}
|
||||
|
||||
|
@@ -15,7 +15,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -22,7 +22,7 @@ $colour_area_out_max = 'FFEFAA';
|
||||
|
||||
$ntpdserver_rrd = rrd_name($device['hostname'], array('app', 'ntpdserver', $app['app_id']));
|
||||
|
||||
if (is_file($ntpdserver_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($ntpdserver_rrd)) {
|
||||
$rrd_filename = $ntpdserver_rrd;
|
||||
}
|
||||
|
||||
|
@@ -15,7 +15,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -11,7 +11,7 @@ $graph_max = 100;
|
||||
$unit_text = 'Frequency';
|
||||
$ntpdserver_rrd = rrd_name($device['hostname'], array('app', 'ntpdserver', $app['app_id']));
|
||||
|
||||
if (is_file($ntpdserver_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($ntpdserver_rrd)) {
|
||||
$rrd_filename = $ntpdserver_rrd;
|
||||
}
|
||||
|
||||
|
@@ -19,7 +19,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -15,7 +15,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -11,7 +11,7 @@ $graph_max = 0;
|
||||
$unit_text = 'Stratum';
|
||||
$ntpdserver_rrd = rrd_name($device['hostname'], array('app', 'ntpdserver', $app['app_id']));
|
||||
|
||||
if (is_file($ntpdserver_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($ntpdserver_rrd)) {
|
||||
$rrd_filename = $ntpdserver_rrd;
|
||||
}
|
||||
|
||||
|
@@ -13,7 +13,7 @@ $graph_max = 0;
|
||||
$unit_text = 'Seconds';
|
||||
$ntpdserver_rrd = rrd_name($device['hostname'], array('app', 'ntpdserver', $app['app_id']));
|
||||
|
||||
if (is_file($ntpdserver_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($ntpdserver_rrd)) {
|
||||
$rrd_filename = $ntpdserver_rrd;
|
||||
}
|
||||
|
||||
|
@@ -24,7 +24,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -11,7 +11,7 @@ $graph_max = 100;
|
||||
$unit_text = 'Latency';
|
||||
$powerdns_rrd = rrd_name($device['hostname'], array('app', 'powerdns', $app['app_id']));
|
||||
|
||||
if (is_file($powerdns_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($powerdns_rrd)) {
|
||||
$rrd_filename = $powerdns_rrd;
|
||||
}
|
||||
|
||||
|
@@ -24,7 +24,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -28,7 +28,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -28,7 +28,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -20,7 +20,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -20,7 +20,7 @@ $array = array(
|
||||
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $vars) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
|
@@ -20,7 +20,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$proxmox_rrd = config['rrd_dir'].'/proxmox/'.$vars['cluster'].'/'.$vars['vmid'].'_netif_'.$vars['port'].'.rrd';
|
||||
|
||||
if (is_file($proxmox_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($proxmox_rrd)) {
|
||||
$rrd_filename = $proxmox_rrd;
|
||||
}
|
||||
|
||||
|
@@ -24,6 +24,6 @@
|
||||
*/
|
||||
|
||||
$rrd = rrd_name($device['hostname'], array('app', 'rrdcached', $app['app_id']));
|
||||
if (is_file($rrd)) {
|
||||
if (rrdtool_check_rrd_exists($rrd)) {
|
||||
$rrd_filename = $rrd;
|
||||
}
|
||||
|
@@ -39,7 +39,7 @@ $array = array(
|
||||
$colours = 'mixed';
|
||||
$rrd_list = array();
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = strtoupper($ds);
|
||||
|
@@ -40,7 +40,7 @@ $array = array(
|
||||
$colours = 'oranges';
|
||||
$rrd_list = array();
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = strtoupper($ds);
|
||||
|
@@ -40,7 +40,7 @@ $array = array(
|
||||
$colours = 'mixed';
|
||||
$rrd_list = array();
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = strtoupper($ds);
|
||||
|
@@ -48,7 +48,7 @@ $rrd_list = array();
|
||||
|
||||
$config['graph_colours']['merged'] = array_merge($config['graph_colours']['greens'], $config['graph_colours']['blues']);
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = strtoupper($ds);
|
||||
|
@@ -5,7 +5,7 @@ $i = 0;
|
||||
|
||||
foreach ($ports as $port) {
|
||||
$rrd_file = get_port_rrdfile_path ($port['hostname'], $port['port_id']);
|
||||
if (is_file($rrd_file)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_file)) {
|
||||
$rrd_list[$i]['filename'] = $rrd_file;
|
||||
$rrd_list[$i]['descr'] = $port['ifDescr'];
|
||||
$i++;
|
||||
|
@@ -8,7 +8,7 @@ $oids = array(
|
||||
);
|
||||
$i = 0;
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($oids as $oid) {
|
||||
$oid = str_replace('dot3Stats', '', $oid);
|
||||
$oid_ds = truncate($oid, 19, '');
|
||||
|
@@ -11,7 +11,7 @@ $descr_type = "'".implode("', '", $config['customers_descr'])."'";
|
||||
|
||||
foreach (dbFetchRows('SELECT * FROM `ports` AS I, `devices` AS D WHERE `port_descr_type` IN (?) AND `port_descr_descr` = ? AND D.device_id = I.device_id', array(array($descr_type), $vars['id'])) as $port) {
|
||||
$rrd_filename = get_port_rrdfile_path ($port['hostname'], $port['port_id']); // FIXME: Unification OK?
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $port['hostname'].'-'.$port['ifDescr'];
|
||||
$rrd_list[$i]['descr_in'] = shorthost($port['hostname']);
|
||||
|
@@ -6,7 +6,7 @@ require 'includes/graphs/common.inc.php';
|
||||
|
||||
$agent_rrd = rrd_name($device['hostname'], 'agent');
|
||||
|
||||
if (is_file($agent_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($agent_rrd)) {
|
||||
$rrd_filename = $agent_rrd;
|
||||
}
|
||||
|
||||
|
@@ -23,7 +23,7 @@ foreach (dbFetchRows('SELECT * FROM `ports` WHERE `device_id` = ?', array($devic
|
||||
}
|
||||
|
||||
$rrd_filename = get_port_rrdfile_path ($device['hostname'], $port['port_id']);
|
||||
if ($ignore != 1 && is_file($rrd_filename)) {
|
||||
if ($ignore != 1 && rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$port = ifLabel($port);
|
||||
// Fix Labels! ARGH. This needs to be in the bloody database!
|
||||
$rrd_filenames[] = $rrd_filename;
|
||||
|
@@ -4,7 +4,7 @@ $i = 1;
|
||||
|
||||
foreach (dbFetchRows('SELECT * FROM `ucd_diskio` AS U, `devices` AS D WHERE D.device_id = ? AND U.device_id = D.device_id', array($device['device_id'])) as $disk) {
|
||||
$rrd_filename = rrd_name($disk['hostname'], array('ucd_diskio', $disk['diskio_descr']));
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $disk['diskio_descr'];
|
||||
$rrd_list[$i]['ds_in'] = $ds_in;
|
||||
|
@@ -36,7 +36,7 @@ foreach (dbFetchRows('SELECT * FROM `mempools` where `device_id` = ?', array($de
|
||||
$descr = rrdtool_escape(short_hrDeviceDescr($mempool['mempool_descr']), 22);
|
||||
$rrd_filename = rrd_name($device['hostname'], array('mempool', $mempool['mempool_type'], $mempool['mempool_index']));
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$rrd_options .= " DEF:mempoolfree$i=$rrd_filename:free:AVERAGE ";
|
||||
$rrd_options .= " DEF:mempoolused$i=$rrd_filename:used:AVERAGE ";
|
||||
$rrd_options .= " CDEF:mempooltotal$i=mempoolused$i,mempoolused$i,mempoolfree$i,+,/,100,* ";
|
||||
|
@@ -22,7 +22,7 @@ $count = 0;
|
||||
foreach ($config['poller_modules'] as $module => $module_status) {
|
||||
$rrd_filename = rrd_name($device['hostname'], array('poller-perf', $module));
|
||||
if ($attribs['poll_'.$module] || ( $module_status && !isset($attribs['poll_'.$module]))) {
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$ds['ds'] = 'poller';
|
||||
$ds['descr'] = $module;
|
||||
$ds['filename'] = $rrd_filename;
|
||||
|
@@ -5,7 +5,7 @@ $i = 0;
|
||||
foreach ($procs as $proc) {
|
||||
$rrd_filename = rrd_name($device['hostname'], array('processor', $proc['processor_type'], $proc['processor_index']));
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$descr = short_hrDeviceDescr($proc['processor_descr']);
|
||||
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
|
@@ -5,7 +5,7 @@ $i = 0;
|
||||
foreach ($procs as $proc) {
|
||||
$rrd_filename = rrd_name($device['hostname'], array('processor', $proc['processor_type'], $proc['processor_index']));
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$descr = short_hrDeviceDescr($proc['processor_descr']);
|
||||
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
|
@@ -22,7 +22,7 @@ foreach (dbFetchRows('SELECT * FROM `ports` AS P, `devices` AS D WHERE D.device_
|
||||
}
|
||||
|
||||
$rrd_filename = get_port_rrdfile_path ($port['hostname'], $port['port_id']);
|
||||
if (!$ignore && $i < 1100 && is_file($rrd_filename)) {
|
||||
if (!$ignore && $i < 1100 && rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$rrd_filenames[] = $rrd_filename;
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
// $rrd_list[$i]['descr'] = $port['device_id'] . " " . $port['ifDescr'];
|
||||
|
@@ -5,7 +5,7 @@ $i = 0;
|
||||
foreach (dbFetchRows('SELECT * FROM `processors` AS P, devices AS D WHERE D.device_id = P.device_id') as $proc) {
|
||||
$rrd_filename = rrd_name($proc['hostname'], array('processor', $proc['processor_type'], $proc['processor_index']));
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$descr = short_hrDeviceDescr($proc['processor_descr']);
|
||||
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
|
@@ -5,7 +5,7 @@ $i = 0;
|
||||
foreach (dbFetchRows('SELECT * FROM `processors` AS P, devices AS D WHERE D.device_id = P.device_id') as $proc) {
|
||||
$rrd_filename = rrd_name($proc['hostname'], array('processor', $proc['processor_type'], $proc['processor_index']));
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$descr = short_hrDeviceDescr($proc['processor_descr']);
|
||||
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
|
@@ -25,7 +25,7 @@ foreach ($devices as $device) {
|
||||
}
|
||||
|
||||
$rrd_file = get_port_rrdfile_path ($device['hostname'], $int['port_id']);
|
||||
if (is_file($rrd_file) && $ignore != 1) {
|
||||
if (rrdtool_check_rrd_exists($rrd_file) && $ignore != 1) {
|
||||
$rrd_filename = $rrd_file; // FIXME: Can this be unified without side-effects?
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $port['label'];
|
||||
|
@@ -10,7 +10,7 @@ foreach (explode(',', $vars['id']) as $ifid) {
|
||||
|
||||
$int = dbFetchRow('SELECT `hostname` FROM `ports` AS I, devices as D WHERE I.port_id = ? AND I.device_id = D.device_id', array($ifid));
|
||||
$rrd_file = get_port_rrdfile_path ($int['hostname'], $ifid);
|
||||
if (is_file($rrd_file)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_file)) {
|
||||
$rrd_filenames[$i] = $rrd_file;
|
||||
$i++;
|
||||
}
|
||||
|
@@ -15,7 +15,7 @@ $i = 1;
|
||||
foreach (explode(',', $_GET['id']) as $ifid) {
|
||||
$int = dbFetchRow('SELECT `hostname` FROM `ports` AS I, devices as D WHERE I.port_id = ? AND I.device_id = D.device_id', array($ifid));
|
||||
$rrd_file = get_port_rrdfile_path ($int['hostname'], $ifid);
|
||||
if (is_file($rrd_file)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_file)) {
|
||||
$rrd_options .= ' DEF:inoctets'.$i.'='.$rrd_file.':INOCTETS:AVERAGE';
|
||||
$rrd_options .= ' DEF:outoctets'.$i.'='.$rrd_file.':OUTOCTETS:AVERAGE';
|
||||
$in_thing .= $seperator.'inoctets'.$i.',UN,0,'.'inoctets'.$i.',IF';
|
||||
@@ -33,7 +33,7 @@ unset($plus);
|
||||
foreach (explode(',', $_GET['idb']) as $ifid) {
|
||||
$int = dbFetchRow('SELECT `hostname` FROM `ports` AS I, devices as D WHERE I.port_id = ? AND I.device_id = D.device_id', array($ifid));
|
||||
$rrd_file = get_port_rrdfile_path ($int['hostname'], $ifid);
|
||||
if (is_file($rrd_file)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_file)) {
|
||||
$rrd_options .= ' DEF:inoctetsb'.$i.'='.$rrd_file.':INOCTETS:AVERAGE';
|
||||
$rrd_options .= ' DEF:outoctetsb'.$i.'='.$rrd_file.':OUTOCTETS:AVERAGE';
|
||||
$in_thingb .= $seperator.'inoctetsb'.$i.',UN,0,'.'inoctetsb'.$i.',IF';
|
||||
|
@@ -5,7 +5,7 @@ $i = 0;
|
||||
foreach (explode(',', $vars['id']) as $ifid) {
|
||||
$port = dbFetchRow('SELECT * FROM `ports` AS I, devices as D WHERE I.port_id = ? AND I.device_id = D.device_id', array($ifid));
|
||||
$rrd_file = get_port_rrdfile_path ($port['hostname'], $ifid);
|
||||
if (is_file($rrd_file)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_file)) {
|
||||
$port = ifLabel($port);
|
||||
$rrd_list[$i]['filename'] = $rrd_file;
|
||||
$rrd_list[$i]['descr'] = $port['hostname'].' '.$port['ifDescr'];
|
||||
|
@@ -16,7 +16,7 @@ $i = 1;
|
||||
foreach (explode(',', $_GET['id']) as $ifid) {
|
||||
$int = dbFetchRow('SELECT `hostname` FROM `ports` AS I, devices as D WHERE I.port_id = ? AND I.device_id = D.device_id', array($ifid));
|
||||
$rrd_file = get_port_rrdfile_path ($int['hostname'], $ifid);
|
||||
if (is_file($rrd_file)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_file)) {
|
||||
if (strstr($inverse, 'a')) {
|
||||
$in = 'OUT';
|
||||
$out = 'IN';
|
||||
@@ -43,7 +43,7 @@ unset($plus);
|
||||
foreach (explode(',', $_GET['idb']) as $ifid) {
|
||||
$int = dbFetchRow('SELECT `hostname` FROM `ports` AS I, devices as D WHERE I.port_id = ? AND I.device_id = D.device_id', array($ifid));
|
||||
$rrd_file = get_port_rrdfile_path ($int['hostname'], $ifid);
|
||||
if (is_file($rrd_file)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_file)) {
|
||||
if (strstr($inverse, 'b')) {
|
||||
$in = 'OUT';
|
||||
$out = 'IN';
|
||||
@@ -70,7 +70,7 @@ unset($plus);
|
||||
foreach (explode(',', $_GET['idc']) as $ifid) {
|
||||
$int = dbFetchRow('SELECT `hostname` FROM `ports` AS I, devices as D WHERE I.port_id = ? AND I.device_id = D.device_id', array($ifid));
|
||||
$rrd_file = get_port_rrdfile_path ($int['hostname'], $ifid);
|
||||
if (is_file($rrd_file)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_file)) {
|
||||
if (strstr($inverse, 'c')) {
|
||||
$in = 'OUT';
|
||||
$out = 'IN';
|
||||
|
@@ -20,7 +20,7 @@ $oids = array(
|
||||
$i = 0;
|
||||
$rrd_filename = get_port_rrdfile_path ($device['hostname'], $port['port_id'], 'dot3');
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($oids as $oid) {
|
||||
$oid = str_replace('dot3Stats', '', $oid);
|
||||
$oid_ds = truncate($oid, 19, '');
|
||||
|
@@ -65,7 +65,7 @@ $rrd_options .= " COMMENT:' In\: Current
|
||||
|
||||
foreach ($accs as $acc) {
|
||||
$this_rrd = rrd_name($acc['hostname'], array('cip', $acc['ifIndex'], $acc['mac']));
|
||||
if (is_file($this_rrd)) {
|
||||
if (rrdtool_check_rrd_exists($this_rrd)) {
|
||||
$mac = formatmac($acc['mac']);
|
||||
$name = $mac;
|
||||
$addy = dbFetchRow('SELECT * FROM ipv4_mac where mac_address = ? AND port_id = ?', array($acc['mac'], $acc['port_id']));
|
||||
|
@@ -38,7 +38,7 @@ if (1) {
|
||||
|
||||
include 'includes/graphs/generic_multi_seperated.inc.php';
|
||||
}
|
||||
else if (is_file($rrd_file)) {
|
||||
else if (rrdtool_check_rrd_exists($rrd_file)) {
|
||||
$rrd_filename = $rrd_file;
|
||||
|
||||
$ds_in = 'INNUCASTPKTS';
|
||||
|
@@ -4,7 +4,7 @@
|
||||
$i = 0;
|
||||
foreach (dbFetchRows('SELECT * FROM `ports` WHERE `device_id` = ? AND `pagpGroupIfIndex` = ?', array($port['device_id'], $port['ifIndex'])) as $int) {
|
||||
$rrd_file = get_port_rrdfile_path ($hostname, int['port_id']);
|
||||
if (is_file($rrd_file)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_file)) {
|
||||
$rrd_list[$i]['filename'] = $rrd_file;
|
||||
$rrd_list[$i]['descr'] = $int['ifDescr'];
|
||||
$i++;
|
||||
|
Reference in New Issue
Block a user