monitoring-plugins icon indicating copy to clipboard operation
monitoring-plugins copied to clipboard

Check SNMP - improve Performance Data Handling

Open NavidSassan opened this issue 4 years ago • 2 comments

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

NavidSassan avatar Nov 29 '21 11:11 NavidSassan

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

NavidSassan avatar Nov 29 '21 13:11 NavidSassan

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.

NavidSassan avatar Nov 29 '21 13:11 NavidSassan