librenms/tests/snmpsim/openbsd_pf.snmprec
Kevin Wallace 1b1859051f
Add additional OpenBSD PF graphs (#13963)
* Add additional OpenBSD PF graphs

Some of these were already present for PFSense (matches, badoffset,
fragmented, short, normalized, memdropped) and reuse existing graph
types; the others are are added as new types.

* collect-snmp-data.php: support IPv6 hosts

* Add SNMP data for new OpenBSD OIDs

* Stack all OpenBSD PF drops into a single graph/rrdfile

* Pull additional drops in to pf_drops

The MIB descriptions don't say "drop", but reading the OpenBSD source:

c471a73b65/sys/net/pfvar.h (L1196)

it's clear that badoff, frag, short, and norm are all drop reasons.
Pull them in into the stacked drop graph, too.

* ./scripts/save-test-data.php -o openbsd -v pf

* Include device_graphs in saved os module test data

* Revert "Include device_graphs in saved os module test data"

This reverts commit a85c902fe9.

* Update to use SnmpQuery

Co-authored-by: Kevin Wallace <kevinwallace@users.noreply.github.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-06-06 23:49:42 -05:00

27 lines
887 B
Plaintext

1.3.6.1.2.1.1.1.0|4|OpenBSD hostname.example.com 7.1 GENERIC.MP#465 amd64
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.30155.23.1
1.3.6.1.2.1.1.4.0|4|<private>
1.3.6.1.2.1.1.5.0|4|<private>
1.3.6.1.2.1.1.6.0|4|<private>
1.3.6.1.4.1.30155.1.2.1.0|70|11209
1.3.6.1.4.1.30155.1.2.2.0|70|0
1.3.6.1.4.1.30155.1.2.3.0|70|0
1.3.6.1.4.1.30155.1.2.4.0|70|0
1.3.6.1.4.1.30155.1.2.5.0|70|1
1.3.6.1.4.1.30155.1.2.6.0|70|0
1.3.6.1.4.1.30155.1.2.7.0|70|0
1.3.6.1.4.1.30155.1.2.8.0|70|0
1.3.6.1.4.1.30155.1.2.9.0|70|2
1.3.6.1.4.1.30155.1.2.10.0|70|3
1.3.6.1.4.1.30155.1.2.11.0|70|165
1.3.6.1.4.1.30155.1.2.12.0|70|0
1.3.6.1.4.1.30155.1.2.13.0|70|0
1.3.6.1.4.1.30155.1.2.14.0|70|0
1.3.6.1.4.1.30155.1.2.15.0|70|0
1.3.6.1.4.1.30155.1.2.16.0|70|0
1.3.6.1.4.1.30155.1.2.17.0|70|0
1.3.6.1.4.1.30155.1.3.1.0|66|100
1.3.6.1.4.1.30155.1.3.2.0|70|117796
1.3.6.1.4.1.30155.1.3.3.0|70|10654
1.3.6.1.4.1.30155.1.3.4.0|70|10552