net-mgmt/nrpe - add xmlrpxc section which can also be used for partial restores (#4021)

This commit is contained in:
Ad Schellevis
2024-06-03 17:15:21 +02:00
committed by GitHub
parent c14389baf2
commit cd16ed335a
@@ -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();