Alert erupts abnormally for port traffic

====================================

Component Version
LibreNMS 1.38-59-g052b9d1
DB Schema 247
PHP 7.0.19
MySQL 5.5.52-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

hi all
I tried to pass
(%ports.ifOutOctets_rate8/1000000) When you want traffic above 20MB, send an alert.
But actually the test error is very great. Less than 1MB will also jump out
I added a check of %value.ifInOctets_rate
8/1000000 to the issued warning letter.
I also get a lot of values below 20MB or even less than 1M
Please help

reference:
https://groups.google.com/forum/#!topic/librenms-project/tNa3m6DXEs0
https://github.com/librenms/librenms/issues/2102
Switch to HTML Alerts stops alert notification
Port Utilization Alerts

We have examples in the alert rules collection.

Post a screen shot of the alert rule you are working on.

also i think you mean mb not MB.

I found that this setting is correct for vlan but it does not respond to port

Up to 200MB
ports.ifOutOctets_rate >= 200000000 AND ports.ifInOctets_rate >= 200000000
critical Max: -1
Delay: 60
Interval: 60

If I set the following, it will jump out to 200MB or less to 1MB.

Up to 200MB(200000000)
ports.ifOutOctets >= 200000000 AND ports.ifInOctets >= 200000000
critical Max: -1
Delay: 60
Interval: 60

Are trying to to alert on bandwidth usage or how much traffic has been submitted.

For bandwidth use this alert rule and change the percent to fit your needs.

If your are trying to alert on how much data is passed through set up billing

The use of the port I test is also a bit abnormal later reference

Will work properly

Because traffic is monitored for persistent abnormal (small) traffic, traffic per port is required instead of percentage
Please help again Thanks

What’s more surprising is that the percentage calculation is correct. The percentage calculation was abnormal.