Im totally new to LibreNMS
Kindly assist how to write an alert for port usage greater then 20%.
I have written like this but not getting any alert.
Max: 100
Delay: 60
Interval: 300
macros.port_in_usage_perc >= 20 AND ports.ifDescr = “ether3”
total B/W running current is 1.5G and for that particular interface we have kept package/ capping of 1800Mbps and port speed is 10G
So now when the usage crossed 500Mbps i need a alert. Kindly assist me.
My validate.php output.
| Component | Version |
|---|---|
| LibreNMS | 22.7.0-23-gd248e6561 |
| DB Schema | 2022_07_19_081224_plugins_unique_index (244) |
| PHP | 7.4.3 |
| Python | 3.8.10 |
| MySQL | 10.3.34-MariaDB-0ubuntu0.20.04.1 |
| RRDTool | 1.7.2 |
| SNMP | 5.8 |
| ==================================== |
[OK] Composer Version: 2.3.10
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK]
[OK] Database schema correct
[OK] MySQl and PHP time match
[OK] rrd_dir is writable
[OK] rrdtool version ok