Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
1.2 KiB
PHP
Raw Permalink Normal View History

2016-02-22 23:07:37 -06:00
<?php
2016-09-26 10:34:49 -05:00
/**
2018-02-05 07:39:13 -06:00
* ProcessorPolling.php
2016-09-26 10:34:49 -05:00
*
2018-02-05 07:39:13 -06:00
* -Description-
2016-09-26 10:34:49 -05:00
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
2021-02-09 00:29:04 +01:00
* along with this program. If not, see <https://www.gnu.org/licenses/>.
2016-09-26 10:34:49 -05:00
*
2021-02-09 00:29:04 +01:00
* @link https://www.librenms.org
2021-09-10 20:09:53 +02:00
*
2018-02-05 07:39:13 -06:00
* @copyright 2017 Tony Murray
2016-09-26 10:34:49 -05:00
* @author Tony Murray <murraytony@gmail.com>
*/
2018-02-05 07:39:13 -06:00
namespace LibreNMS\Interfaces\Polling;
2016-02-22 23:07:37 -06:00
2018-02-05 07:39:13 -06:00
interface ProcessorPolling
{
/**
* Poll processor data. This can be implemented if custom polling is needed.
*
2021-09-08 23:35:56 +02:00
* @param array $processors Array of processor entries from the database that need to be polled
2018-02-05 07:39:13 -06:00
* @return array of polled data
*/
public function pollProcessors(array $processors);
2016-02-22 23:07:37 -06:00
}