Patch is in here: Pfsense openvpn traffic not populating graphs in librenms
I replace the line in include/polling/ports.inc.php to apply the patch. The graph are still not populated.
You’ve not enabled selected port polling for that device.
Ok, I just did. I keep you informed, thank you.
It’s good now. Thanks Laf
Hi, can the modifications in this patch be integrated into the master branch to not stop automatic updates ?
diff --git a/includes/polling/ports.inc.php b/includes/polling/ports.inc.php
index aa1e938..a7fffa0 100644
--- a/includes/polling/ports.inc.php
+++ b/includes/polling/ports.inc.php
@@ -190,7 +190,7 @@ if ($device['os'] === 'f5' && (version_compare($device['version'], '11.2.0', '>=
echo 'port is still down';
} else {
echo 'valid';
- if (is_numeric($data[$i]['ifHighSpeed'])) {
+ if (is_numeric($data[$i]['ifHighSpeed']) && $data[$i]['ifHighSpeed'] > 0) {
$full_oids = array_merge($hc_oids, $shared_oids);
} else {
$full_oids = array_merge($nonhc_oids, $shared_oids);
Warning: Your local git contains modified files, this could prevent automatic updates.
Do I need to publish that on GitHub ?
It already is.
So I have to enable the selected port polling on each device to have the overall traffic graphics. Is there any way to automate this without passing via the API ?
Or can I create a crontask to enable the selected port polling on every device with the specific OS ?
You can set it per OS: https://docs.librenms.org/#Support/Performance/#per-port-polling-experimental
This device support seems complete, please open new thread for new question (we’re in the Feature Request section).