mirror of
https://github.com/opnsense/plugins.git
synced 2026-04-15 22:20:31 -04:00
sysutils/monit: xmlrpc sync via @fbrendel
This commit is contained in:
parent
a7ff0f82f6
commit
1ec32e34f8
1 changed files with 18 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
Copyright (C) 2017 EURO-LOG AG
|
||||
All rights reserved.
|
||||
|
|
@ -46,3 +47,20 @@ function monit_services()
|
|||
}
|
||||
return $services;
|
||||
}
|
||||
|
||||
/**
|
||||
* sync configuration via xmlrpc
|
||||
* @return array
|
||||
*/
|
||||
function monit_xmlrpc_sync()
|
||||
{
|
||||
$result = array();
|
||||
|
||||
$result[] = array(
|
||||
'description' => gettext('Monit System Monitoring'),
|
||||
'section' => 'OPNsense.monit',
|
||||
'id' => 'monit',
|
||||
);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue