Commit 4791311e authored by Ad Schellevis's avatar Ad Schellevis

(netflow) add configd collect/aggregate actions

parent fc160e8e
......@@ -27,3 +27,43 @@ command:/usr/local/opnsense/scripts/netflow/flowctl_stats.py
parameters:%s
type:script_output
message:retrieve flow cache statistics
[collect.stop]
command:/usr/local/etc/rc.d/flowd onestop
type:script
message:stop netflow collector
[collect.start]
command:/usr/local/etc/rc.d/flowd start
type:script
message:start netflow collector
[collect.restart]
command:/usr/local/etc/rc.d/flowd restart
type:script
message:restart netflow collector
[collect.status]
command:/usr/local/etc/rc.d/flowd status || exit 0
type:script_output
message:request status of netflow collector
[aggregate.stop]
command:/usr/local/etc/rc.d/flowd_aggregate onestop
type:script
message:stop netflow data aggregator
[aggregate.start]
command:/usr/local/etc/rc.d/flowd_aggregate start
type:script
message:start netflow data aggregator
[aggregate.restart]
command:/usr/local/etc/rc.d/flowd_aggregate restart
type:script
message:restart netflow data aggregator
[aggregate.status]
command:/usr/local/etc/rc.d/flowd_aggregate status || exit 0
type:script_output
message:request netflow data aggregator status
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment