mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
sysutils/apcupsd: Add log view (#3176)
This commit is contained in:
parent
fe0392a9f3
commit
d996dcc134
5 changed files with 15 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
PLUGIN_NAME= apcupsd
|
||||
PLUGIN_VERSION= 1.0
|
||||
PLUGIN_VERSION= 1.1
|
||||
PLUGIN_DEPENDS= apcupsd
|
||||
PLUGIN_COMMENT= APCUPSD - APC UPS daemon
|
||||
PLUGIN_MAINTAINER= xbb@xbblabs.com
|
||||
|
|
|
|||
|
|
@ -12,6 +12,10 @@ WWW: http://www.apcupsd.org/
|
|||
Plugin Changelog
|
||||
================
|
||||
|
||||
1.1
|
||||
|
||||
* Add log view
|
||||
|
||||
1.0 (initial release)
|
||||
|
||||
* Apcupsd service control and configuration
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
<menu>
|
||||
<Services>
|
||||
<Apcupsd cssClass="fa fa-battery-full fa-fw">
|
||||
<Settings url="/ui/apcupsd" />
|
||||
<Status url="/ui/apcupsd/status" />
|
||||
<Settings order="10" url="/ui/apcupsd" />
|
||||
<Status order="20" url="/ui/apcupsd/status" />
|
||||
<LogFile VisibleName="Log File" order="30" url="/ui/diagnostics/log/core/apcupsd"/>
|
||||
</Apcupsd>
|
||||
</Services>
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
apcupsd:/etc/rc.conf.d/apcupsd
|
||||
apcupsd.conf:/usr/local/etc/apcupsd/apcupsd.conf
|
||||
syslog-filter.conf:/usr/local/opnsense/service/templates/OPNsense/Syslog/local/apcupsd.conf
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
###################################################################
|
||||
# Local syslog-ng configuration filter definition [apcupsd].
|
||||
###################################################################
|
||||
filter f_local_apcupsd {
|
||||
program("apcupsd");
|
||||
};
|
||||
Loading…
Reference in a new issue