monitoring-plugins
monitoring-plugins copied to clipboard
Check SNMP - improve Performance Data Handling
In GitLab by @dominik.riva on Nov 29, 2021, 12:15
Proposal to add flags to CSV:
- suppress reporting of values as performance data
- add warning and critical thresholds to performance data
| OID | Name | Re-Calc | Unit Label | WARN | CRIT | Show in 1st Line | Report Change as | ignore in Performance Data | Thresholds in Performance Data |
|---|---|---|---|---|---|---|---|---|---|
| UCD-SNMP-MIB::memTotalReal.0 | memTotalReal | int(value) * 1024 | b | True | |||||
| UCD-SNMP-MIB::memAvailReal.0 | memAvailReal | int(value) * 1024 | b | True | |||||
| memWarnPercent | 94 | % | True | ||||||
| memCritPercent | 98 | % | True | ||||||
| memUsed | values['memTotalReal'] - values['memAvailReal'] | b | value > values['memTotalReal'] / 100 * values['memWarnPercent'] | value > values['memTotalReal'] / 100 * values['memCritPercent'] | |||||
| memUsedPercent | "round(values['memUsed'] * 100.0 / values['memTotalReal'],1)" | % | value > values['memWarnPercent'] | value > values['memCritPercent'] | True |
In GitLab by @markuslf on Nov 29, 2021, 14:19
OT: What do you think of LibreNMS, including the corresponding LibrNMS checks?
- https://git.linuxfabrik.ch/linuxfabrik/monitoring-plugins/-/tree/master/check-plugins/librenms-alerts
- https://git.linuxfabrik.ch/linuxfabrik/monitoring-plugins/-/tree/master/check-plugins/librenms-health
- https://git.linuxfabrik.ch/linuxfabrik/monitoring-plugins/-/tree/master/check-plugins/librenms-version
In GitLab by @dominik.riva on Nov 29, 2021, 14:35
It's a great candidate to replace Spectrum (SNMP-Traps) in our stack but this is something for next year. I see a problem with the aggregate nature of the linked checks as it isn't compatible with my idea of the CIO-View via the Business Process module.