Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contrib/filters/bcast-stats.rules.BCAST
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ IPv6_fragment,ipv6.nxt == 44
IPv4_fragment,ip.flags.mf == 1 || ip.frag_offset > 0
DHCP,bootp
DHCPv6,udp.dstport == 547
DDHCPD,ipv6.addr eq ff02::1234
XID,llc.control == 0x00af
BJNP,bjnp
ws-discovery,udp.dstport == 3702
Expand Down
11 changes: 11 additions & 0 deletions contrib/systemd/wirerrd-collect.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Unit]
Description=wirerrd collector

[Service]
Type=simple
User=wirerrd
WorkingDirectory=/path/to/wirerrd
ExecStart=/path/to/wirerrd/wirerrd collect -i interface -o /path/to/rrd -f contrib/filters/bcast-stats.rules

[Install]
WantedBy=multi-user.target
12 changes: 12 additions & 0 deletions contrib/systemd/wirerrd-export.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Description=wirerrd exporter

[Service]
Type=oneshot
User=wirerrd
Group=wirerrd
WorkingDirectory=/path/to/wirerrd
ExecStart=/path/to/wirerrd/wirerrd export -i /path/to/rrd -o /path/to/public_html_symlink

[Install]
WantedBy=multi-user.target
10 changes: 10 additions & 0 deletions contrib/systemd/wirerrd-export.timer
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Unit]
Description=wirerrd export timer

[Timer]
Unit=wirerrd-export
OnBootSec=5m
OnUnitActiveSec=5m

[Install]
WantedBy=timers.target