mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
Monit - move logging to own log target. closes https://github.com/opnsense/core/issues/5422
This commit is contained in:
parent
c281f1e573
commit
834ef3b2e2
@ -70,3 +70,10 @@ function monit_xmlrpc_sync()
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
function monit_syslog()
|
||||
{
|
||||
$logfacilities = [];
|
||||
$logfacilities['monit'] = ['facility' => ['monit']];
|
||||
return $logfacilities;
|
||||
}
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
<Monit cssClass="fa fa-heartbeat fa-fw">
|
||||
<Settings url="/ui/monit"/>
|
||||
<Status url="/ui/monit/status"/>
|
||||
<Log order="100" VisibleName="Log File" url="/ui/diagnostics/log/core/monit" />
|
||||
</Monit>
|
||||
</Services>
|
||||
</menu>
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
###################################################################
|
||||
# Local syslog-ng configuration filter definition [monit].
|
||||
###################################################################
|
||||
filter f_local_monit {
|
||||
program("monit");
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user