mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net-mgmt/nrpe - add xmlrpxc section which can also be used for partial restores (#4021)
This commit is contained in:
@@ -32,6 +32,18 @@ function nrpe_enabled()
|
||||
return (string)$model->enabled == '1';
|
||||
}
|
||||
|
||||
function nrpe_xmlrpc_sync()
|
||||
{
|
||||
return [
|
||||
[
|
||||
'description' => gettext('NRPE'),
|
||||
'section' => 'OPNsense.nrpe',
|
||||
'services' => ['nrpe'],
|
||||
'id' => 'nrpe',
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
function nrpe_services()
|
||||
{
|
||||
$services = array();
|
||||
|
||||
Reference in New Issue
Block a user