Modify

Opened 5 years ago

Closed 3 years ago

Last modified 2 years ago

#12242 closed defect (moved_to_github)

collectd-mod-openvpn integration in luci_statistics

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

The script /usr/bin/stat-genconfig which is executing by /etc/init.d/luci_statistics does not recognize the following configuration in /etc/config/luci_statistics

config statistics 'collectd_openvpn'
	option enable '1'
	option StatusFile '/var/log/openvpn-status.log'
	option CollectIndividualUsers 'false'
	option CollectUserCount 'false'
	option CollectCompression 'true'
	option ImprovedNamingSchema 'true'

If this configuration is manually specified in /etc/collectd.conf:

LoadPlugin

<Plugin openvpn>
	StatusFile "/var/log/openvpn-status.log"
	CollectIndividualUsers false
	CollectUserCount false
	CollectCompression true
	ImprovedNamingSchema true
</Plugin>

it is being created the RRD database /tmp/rrd/<hostname>/openvpn-openvpn-status.log/ :

-rw-r--r--    1 root     root         10384 Sep 24 23:25 compression-data_in.rrd
-rw-r--r--    1 root     root             0 Sep 24 23:05 compression-data_out.rrd
-rw-r--r--    1 root     root         10384 Sep 24 23:25 if_octets-overhead.rrd
-rw-r--r--    1 root     root         10384 Sep 24 23:25 if_octets-traffic.rrd

But after rebooting the router LuCI script deleted configuration anyway.

There are no access to images as they are not created also.

Thanks.

Attachments (0)

Change History (11)

comment:1 Changed 5 years ago by anonymous

Hi Devels,

Do you need the additional info regarding this issue?

Thanks.

comment:2 Changed 5 years ago by anonymous

I've run into this as well myself, looks like the luci-app-statistics package is missing some definition files in /usr/lib/lua/luci/statistics/rrdtool/definitions/

comment:3 Changed 5 years ago by anonymous

Hi,
Could you please comment it.
Thanks!

comment:4 Changed 5 years ago by anonymous

?

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:6 Changed 3 years ago by thomasstather@…

Any Update on this?

comment:7 Changed 3 years ago by anonymous

I am also interested on this!

comment:8 follow-up: Changed 3 years ago by thomas@…

Me also

comment:9 Changed 3 years ago by nbd

  • Resolution set to moved_to_github
  • Status changed from new to closed

collectd is maintained here: https://github.com/openwrt/packages

comment:10 in reply to: ↑ 8 Changed 2 years ago by anonymous

Replying to thomas@…:

Me also

Same here!

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.