mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Cambium graph changes
This commit is contained in:
@@ -16,6 +16,7 @@ if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= " COMMENT:'Mode Now Ave Max \\n'";
|
||||
$rrd_options .= ' DEF:rxModulation='.$rrdfilename.':rxModulation:AVERAGE ';
|
||||
$rrd_options .= ' DEF:txModulation='.$rrdfilename.':txModulation:AVERAGE ';
|
||||
$rrd_options .= " -l 0 ";
|
||||
$rrd_options .= " LINE2:rxModulation#0000FF:'Receive Modulation ' ";
|
||||
$rrd_options .= ' GPRINT:rxModulation:LAST:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:rxModulation:MIN:%0.2lf%s ';
|
||||
@@ -24,4 +25,4 @@ if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= ' GPRINT:txModulation:LAST:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:txModulation:MIN:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:txModulation:MAX:%0.2lf%s\\\l ';
|
||||
}
|
||||
}
|
@@ -16,7 +16,8 @@ if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= " COMMENT:'dBm Now Ave Max \\n'";
|
||||
$rrd_options .= ' DEF:transmitPower='.$rrdfilename.':transmitPower:AVERAGE ';
|
||||
$rrd_options .= " LINE2:transmitPower#FF0000:'Transmit Power ' ";
|
||||
$rrd_options .= " -l 0 ";
|
||||
$rrd_options .= ' GPRINT:transmitPower:LAST:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:transmitPower:MIN:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:transmitPower:MAX:%0.2lf%s\\\l ';
|
||||
}
|
||||
}
|
@@ -16,6 +16,7 @@ if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= " COMMENT:'Mode Now Ave Max \\n'";
|
||||
$rrd_options .= ' DEF:rxModulation='.$rrdfilename.':rxModulation:AVERAGE ';
|
||||
$rrd_options .= ' DEF:txModulation='.$rrdfilename.':txModulation:AVERAGE ';
|
||||
$rrd_options .= " -l 0 ";
|
||||
$rrd_options .= " LINE2:rxModulation#0000FF:'Receive Modulation ' ";
|
||||
$rrd_options .= ' GPRINT:rxModulation:LAST:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:rxModulation:MIN:%0.2lf%s ';
|
||||
@@ -24,4 +25,4 @@ if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= ' GPRINT:txModulation:LAST:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:txModulation:MIN:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:txModulation:MAX:%0.2lf%s\\\l ';
|
||||
}
|
||||
}
|
@@ -15,8 +15,9 @@ $rrdfilename = $config['rrd_dir'].'/'.$device['hostname'].'/cambium-650-transmit
|
||||
if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= " COMMENT:'dBm Now Ave Max \\n'";
|
||||
$rrd_options .= ' DEF:transmitPower='.$rrdfilename.':transmitPower:AVERAGE ';
|
||||
$rrd_options .= " -l 0 ";
|
||||
$rrd_options .= " LINE2:transmitPower#FF0000:'Transmit Power ' ";
|
||||
$rrd_options .= ' GPRINT:transmitPower:LAST:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:transmitPower:MIN:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:transmitPower:MAX:%0.2lf%s\\\l ';
|
||||
}
|
||||
}
|
@@ -14,7 +14,7 @@ if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= " COMMENT:'dBm Now Ave Max \\n'";
|
||||
$rrd_options .= ' DEF:numTracked='.$rrdfilename.':numTracked:AVERAGE ';
|
||||
$rrd_options .= ' DEF:numVisible='.$rrdfilename.':numVisible:AVERAGE ';
|
||||
$rrd_options .= " LINE2:numTracked#FF0000:'GPS Number Tracked ' ";
|
||||
$rrd_options .= " AREA:numTracked#00B200:'GPS Number Tracked ' ";
|
||||
$rrd_options .= ' GPRINT:numTracked:LAST:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:numTracked:MIN:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:numTracked:MAX:%0.2lf%s\\\l ';
|
||||
@@ -22,4 +22,4 @@ if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= ' GPRINT:numVisible:LAST:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:numVisible:MIN:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:numVisible:MAX:%0.2lf%s\\\l ';
|
||||
}
|
||||
}
|
@@ -13,7 +13,8 @@ $rrdfilename = $config['rrd_dir'].'/'.$device['hostname'].'/cambium-epmp-gpsSync
|
||||
if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= " COMMENT:'1 - GPS Sync Up 2 - GPS Sync Down 3 - CMM Sync \\n'";
|
||||
$rrd_options .= ' DEF:gpsSync='.$rrdfilename.':gpsSync:AVERAGE ';
|
||||
$rrd_options .= " -l 1 ";
|
||||
$rrd_options .= " -u 3 ";
|
||||
$rrd_options .= " LINE2:gpsSync#666699:'GPS Sync Status ' ";
|
||||
$rrd_options .= ' GPRINT:gpsSync:LAST:%0.2lf%s ';
|
||||
|
||||
}
|
@@ -15,7 +15,8 @@ if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= " COMMENT:'Value Now Ave Max \\n'";
|
||||
$rrd_options .= ' DEF:regSM='.$rrdfilename.':regSM:AVERAGE ';
|
||||
$rrd_options .= " LINE2:regSM#73b0c2:'Registered SM ' ";
|
||||
$rrd_options .= " -l 0 ";
|
||||
$rrd_options .= ' GPRINT:regSM:LAST:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:regSM:MIN:%0.2lf%s ';
|
||||
$rrd_options .= ' GPRINT:regSM:MAX:%0.2lf%s\\\l ';
|
||||
}
|
||||
}
|
@@ -13,6 +13,8 @@ $rrdfilename = $config['rrd_dir'].'/'.$device['hostname'].'/canopy-generic-whisp
|
||||
if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= " COMMENT:'Value 1 = Synched 2 = Lost Sync 3 = Generating \\n'";
|
||||
$rrd_options .= ' DEF:whispGPSStats='.$rrdfilename.':whispGPSStats:AVERAGE ';
|
||||
$rrd_options .= " -l 1 ";
|
||||
$rrd_options .= " -u 3 ";
|
||||
$rrd_options .= " LINE2:whispGPSStats#00B8E6:'GPS Status ' ";
|
||||
$rrd_options .= ' GPRINT:whispGPSStats:LAST:%0.2lf%s\\\l ';
|
||||
}
|
Reference in New Issue
Block a user