mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
kill a whole bunch of trailing spaces
git-svn-id: http://www.observium.org/svn/observer/trunk@2516 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -17,7 +17,7 @@ $stats = array('icmpInMsgs' => '00cc00',
|
||||
|
||||
$i=0;
|
||||
|
||||
foreach($stats as $stat => $colour)
|
||||
foreach($stats as $stat => $colour)
|
||||
{
|
||||
$i++;
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
|
||||
@@ -5,7 +5,7 @@ $device = device_by_id_cache($id);
|
||||
if (!is_array($config['nfsen_rrds'])) { $config['nfsen_rrds'] = array($config['nfsen_rrds']); }
|
||||
|
||||
foreach ( $config['nfsen_rrds'] as $nfsenrrds )
|
||||
{
|
||||
{
|
||||
if ($configs[strlen($nfsenrrds)-1] != '/') { $nfsenrrds .= '/'; }
|
||||
|
||||
# convert dots in filename to underscores
|
||||
@@ -16,7 +16,7 @@ foreach ( $config['nfsen_rrds'] as $nfsenrrds )
|
||||
|
||||
if (is_file($nfsenrrds . $nfsen_filename . ".rrd"))
|
||||
{
|
||||
$rrd_filename = $nfsenrrds . $nfsen_filename . ".rrd";
|
||||
$rrd_filename = $nfsenrrds . $nfsen_filename . ".rrd";
|
||||
|
||||
$flowtypes = array('tcp', 'udp', 'icmp', 'other');
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ $rrd_list[2]['filename'] = $file;
|
||||
$rrd_list[2]['descr'] = "Failed";
|
||||
$rrd_list[2]['rra'] = "failed";
|
||||
|
||||
if ($_GET['debug']) { print_r($rrd_list); }
|
||||
if ($_GET['debug']) { print_r($rrd_list); }
|
||||
|
||||
$colours = "mixed";
|
||||
$nototal = 1;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
$rrd_filename_in = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_ssIORawReceived.rrd";
|
||||
$rrd_filename_out = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_ssIORawSent.rrd";
|
||||
$rrd_filename_out = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_ssIORawSent.rrd";
|
||||
$rra_in = "value";
|
||||
$rra_out = "value";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
$rrd_filename_in = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_ssRawSwapIn.rrd";
|
||||
$rrd_filename_out = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_ssRawSwapOut.rrd";
|
||||
$rrd_filename_out = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_ssRawSwapOut.rrd";
|
||||
$rra_in = "value";
|
||||
$rra_out = "value";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user