Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Basic Support for Allworx VoIP Systems #9057

Merged
merged 11 commits into from
Aug 24, 2018
3 changes: 3 additions & 0 deletions html/images/os/allworx.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions includes/definitions/allworx_voip.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
os: allworx_voip
text: 'Allworx VoIP'
type: appliance
icon: allworx
over:
- { graph: device_bits, text: 'Device Traffic' }
- { graph: device_mempool, text: 'Memory Usage' }
discovery:
- sysObjectID:
- .1.3.6.1.4.1.38516.2.
23 changes: 23 additions & 0 deletions includes/polling/os/allworx_voip.inc.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* allworx.inc.php
*
* 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
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

$data = snmp_get_multi_oid($device, '.1.3.6.1.2.1.1.1.0 .1.3.6.1.2.1.27.1.1.4.1 .1.3.6.1.2.1.1.5.0');

$hardware = $data['.1.3.6.1.2.1.1.1.0'];
$version = $data['.1.3.6.1.2.1.27.1.1.4.1'];
$serial = $data['.1.3.6.1.2.1.1.5.0'];
Loading