Indeed, it works .
Thanks
Indeed, it works .
Thanks
It recognize the OS but I have some issues. All the overall traffic of TG670 are empty.
With a snmpwalk (ifInOctets) the counter display traffic but none in my port graphs. I launch a discovery and poller script with no success.
. /poller.php -h Hostname -d -m ports
Pastebin output
Not sure how you managed to capture that but it’s missing a lot of the actual snmpwalk commands that should be run.
You can do: ./poller.php -h HOSTNAME -d -r -f -m ports|./pbin.sh
Looks like all HC data is 0.
You could turn on selected port polling and try this patch:
wget https://p.libren.ms/view/raw/cf3d7eb42 && git apply cf3d7eb42
I had a 404 error code on your page.
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).