mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net-mgmt/net-snmp - add xmlrpxc section (#4022)
some people seem to like xmlrpc syncs which can also be used for partial restores
This commit is contained in:
@@ -32,6 +32,18 @@ function netsnmp_enabled()
|
||||
return (string)$model->enabled == '1';
|
||||
}
|
||||
|
||||
function netsnmp_xmlrpc_sync()
|
||||
{
|
||||
return [
|
||||
[
|
||||
'description' => gettext('Netsnmp'),
|
||||
'section' => 'OPNsense.netsnmp',
|
||||
'services' => ['snmpd'],
|
||||
'id' => 'netsnmp'
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
function netsnmp_services()
|
||||
{
|
||||
$services = array();
|
||||
|
||||
Reference in New Issue
Block a user