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
35 changes: 35 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.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
os: allworx
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

allworx is the vendor name, do they not have an OS name these products run or a group name for the product line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The have both the X (legacy) series and the Connect (current) series of telephone switches but they don't have an OS name and the software is unified between the models. I am happy to change it but I don't know what we'd change it to.

Any suggestions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since Allworx makes a line of Layer 3 smart switches I forgot about, I'll rename this OS to 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
4 changes: 4 additions & 0 deletions includes/polling/os/allworx.inc.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
$hardware = $device['sysDescr'];
$version = snmp_get($device, '1.3.6.1.2.1.27.1.1.4.1', '-OQv', '', '');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add a license header to the files you add.

Can you please convert these two snmp_gets into multi gets - check other files for examples.

$serial = snmp_get($device, '1.3.6.1.2.1.1.5.0', '-OQv', '', '');
184 changes: 184 additions & 0 deletions tests/snmpsim/allworx.snmprec
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
1.3.6.1.2.1.1.1.0|4|Allworx Connect 731
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.38516.2.5.1.0
1.3.6.1.2.1.1.3.0|67|198230560
1.3.6.1.2.1.1.4.0|4|<private>
1.3.6.1.2.1.1.5.0|4|<private>
1.3.6.1.2.1.1.6.0|4|<private>
1.3.6.1.2.1.2.2.1.1.1|2|1
1.3.6.1.2.1.2.2.1.1.2|2|2
1.3.6.1.2.1.2.2.1.1.3|2|3
1.3.6.1.2.1.2.2.1.2.1|4|LAN port (eth0)
1.3.6.1.2.1.2.2.1.2.2|4|WAN port (eth1)
1.3.6.1.2.1.2.2.1.2.3|4|eth2
1.3.6.1.2.1.2.2.1.3.1|2|6
1.3.6.1.2.1.2.2.1.3.2|2|6
1.3.6.1.2.1.2.2.1.3.3|2|6
1.3.6.1.2.1.2.2.1.4.1|2|1500
1.3.6.1.2.1.2.2.1.4.2|2|1500
1.3.6.1.2.1.2.2.1.4.3|2|1500
1.3.6.1.2.1.2.2.1.5.1|66|1000000000
1.3.6.1.2.1.2.2.1.5.2|66|100000000
1.3.6.1.2.1.2.2.1.5.3|66|0
1.3.6.1.2.1.2.2.1.6.1|4x|000ADD05416E
1.3.6.1.2.1.2.2.1.6.2|4x|000ADD05616E
1.3.6.1.2.1.2.2.1.6.3|4x|000ADD05816E
1.3.6.1.2.1.2.2.1.7.1|2|1
1.3.6.1.2.1.2.2.1.7.2|2|1
1.3.6.1.2.1.2.2.1.7.3|2|2
1.3.6.1.2.1.2.2.1.8.1|2|1
1.3.6.1.2.1.2.2.1.8.2|2|1
1.3.6.1.2.1.2.2.1.8.3|2|7
1.3.6.1.2.1.2.2.1.9.1|67|2972287583
1.3.6.1.2.1.2.2.1.9.2|67|2972287583
1.3.6.1.2.1.2.2.1.9.3|67|0
1.3.6.1.2.1.2.2.1.10.1|65|1982395842
1.3.6.1.2.1.2.2.1.10.2|65|1579464808
1.3.6.1.2.1.2.2.1.10.3|65|0
1.3.6.1.2.1.2.2.1.11.1|65|143620991
1.3.6.1.2.1.2.2.1.11.2|65|184808256
1.3.6.1.2.1.2.2.1.11.3|65|0
1.3.6.1.2.1.2.2.1.12.1|65|7513922
1.3.6.1.2.1.2.2.1.12.2|65|11
1.3.6.1.2.1.2.2.1.12.3|65|0
1.3.6.1.2.1.2.2.1.13.1|65|0
1.3.6.1.2.1.2.2.1.13.2|65|0
1.3.6.1.2.1.2.2.1.13.3|65|0
1.3.6.1.2.1.2.2.1.14.1|65|0
1.3.6.1.2.1.2.2.1.14.2|65|0
1.3.6.1.2.1.2.2.1.14.3|65|0
1.3.6.1.2.1.2.2.1.15.1|65|0
1.3.6.1.2.1.2.2.1.15.2|65|0
1.3.6.1.2.1.2.2.1.15.3|65|0
1.3.6.1.2.1.2.2.1.16.1|65|2947076188
1.3.6.1.2.1.2.2.1.16.2|65|845943705
1.3.6.1.2.1.2.2.1.16.3|65|0
1.3.6.1.2.1.2.2.1.17.1|65|174178889
1.3.6.1.2.1.2.2.1.17.2|65|184568663
1.3.6.1.2.1.2.2.1.17.3|65|0
1.3.6.1.2.1.2.2.1.18.1|65|2798481
1.3.6.1.2.1.2.2.1.18.2|65|0
1.3.6.1.2.1.2.2.1.18.3|65|0
1.3.6.1.2.1.2.2.1.19.1|65|0
1.3.6.1.2.1.2.2.1.19.2|65|0
1.3.6.1.2.1.2.2.1.19.3|65|0
1.3.6.1.2.1.2.2.1.20.1|65|0
1.3.6.1.2.1.2.2.1.20.2|65|0
1.3.6.1.2.1.2.2.1.20.3|65|0
1.3.6.1.2.1.2.2.1.21.1|66|0
1.3.6.1.2.1.2.2.1.21.2|66|0
1.3.6.1.2.1.2.2.1.21.3|66|0
1.3.6.1.2.1.2.2.1.22.1|6|0.0
1.3.6.1.2.1.2.2.1.22.2|6|0.0
1.3.6.1.2.1.2.2.1.22.3|6|0.0
1.3.6.1.2.1.4.3.0|65|332700905
1.3.6.1.2.1.4.4.0|65|0
1.3.6.1.2.1.4.5.0|65|0
1.3.6.1.2.1.4.6.0|65|255858943
1.3.6.1.2.1.4.7.0|65|0
1.3.6.1.2.1.4.8.0|65|0
1.3.6.1.2.1.4.9.0|65|77865290
1.3.6.1.2.1.4.10.0|65|106214393
1.3.6.1.2.1.4.11.0|65|0
1.3.6.1.2.1.4.12.0|65|0
1.3.6.1.2.1.4.14.0|65|0
1.3.6.1.2.1.4.15.0|65|0
1.3.6.1.2.1.4.16.0|65|0
1.3.6.1.2.1.4.17.0|65|0
1.3.6.1.2.1.4.18.0|65|0
1.3.6.1.2.1.4.19.0|65|0
1.3.6.1.2.1.5.1.0|65|636214
1.3.6.1.2.1.5.2.0|65|0
1.3.6.1.2.1.5.3.0|65|89549
1.3.6.1.2.1.5.4.0|65|0
1.3.6.1.2.1.5.5.0|65|0
1.3.6.1.2.1.5.6.0|65|0
1.3.6.1.2.1.5.7.0|65|508136
1.3.6.1.2.1.5.8.0|65|38529
1.3.6.1.2.1.5.9.0|65|0
1.3.6.1.2.1.5.10.0|65|0
1.3.6.1.2.1.5.11.0|65|0
1.3.6.1.2.1.5.12.0|65|0
1.3.6.1.2.1.5.13.0|65|0
1.3.6.1.2.1.5.14.0|65|548558
1.3.6.1.2.1.5.15.0|65|0
1.3.6.1.2.1.5.16.0|65|1893
1.3.6.1.2.1.5.17.0|65|0
1.3.6.1.2.1.5.18.0|65|0
1.3.6.1.2.1.5.19.0|65|0
1.3.6.1.2.1.5.20.0|65|508136
1.3.6.1.2.1.5.21.0|65|0
1.3.6.1.2.1.5.22.0|65|38529
1.3.6.1.2.1.5.23.0|65|0
1.3.6.1.2.1.5.24.0|65|0
1.3.6.1.2.1.5.25.0|65|0
1.3.6.1.2.1.5.26.0|65|0
1.3.6.1.2.1.6.5.0|65|173117
1.3.6.1.2.1.6.6.0|65|108777
1.3.6.1.2.1.6.7.0|65|4631
1.3.6.1.2.1.6.8.0|65|773
1.3.6.1.2.1.6.9.0|66|3
1.3.6.1.2.1.6.10.0|65|2825974
1.3.6.1.2.1.6.11.0|65|4946406
1.3.6.1.2.1.6.12.0|65|1309
1.3.6.1.2.1.6.14.0|65|11
1.3.6.1.2.1.6.15.0|65|807
1.3.6.1.2.1.7.1.0|65|74403102
1.3.6.1.2.1.7.2.0|65|1255603
1.3.6.1.2.1.7.3.0|65|2
1.3.6.1.2.1.7.4.0|65|100377368
1.3.6.1.2.1.11.1.0|65|444046
1.3.6.1.2.1.11.2.0|65|444045
1.3.6.1.2.1.11.3.0|65|0
1.3.6.1.2.1.11.4.0|65|0
1.3.6.1.2.1.11.5.0|65|0
1.3.6.1.2.1.11.6.0|65|0
1.3.6.1.2.1.11.8.0|65|0
1.3.6.1.2.1.11.9.0|65|0
1.3.6.1.2.1.11.10.0|65|0
1.3.6.1.2.1.11.11.0|65|0
1.3.6.1.2.1.11.12.0|65|0
1.3.6.1.2.1.11.13.0|65|3115629
1.3.6.1.2.1.11.14.0|65|0
1.3.6.1.2.1.11.15.0|65|0
1.3.6.1.2.1.11.16.0|65|0
1.3.6.1.2.1.11.17.0|65|0
1.3.6.1.2.1.11.18.0|65|0
1.3.6.1.2.1.11.19.0|65|0
1.3.6.1.2.1.11.20.0|65|0
1.3.6.1.2.1.11.21.0|65|0
1.3.6.1.2.1.11.22.0|65|0
1.3.6.1.2.1.11.24.0|65|0
1.3.6.1.2.1.11.25.0|65|0
1.3.6.1.2.1.11.26.0|65|0
1.3.6.1.2.1.11.27.0|65|0
1.3.6.1.2.1.11.28.0|65|0
1.3.6.1.2.1.11.29.0|65|0
1.3.6.1.2.1.11.30.0|2|2
1.3.6.1.2.1.25.1.1|67|198230515
1.3.6.1.2.1.25.2.3.1.1.1|2|1
1.3.6.1.2.1.25.2.3.1.1.2|2|2
1.3.6.1.2.1.25.2.3.1.2.1|6|1.3.6.1.2.1.25.2.1.2
1.3.6.1.2.1.25.2.3.1.2.2|6|1.3.6.1.2.1.25.2.1.4
1.3.6.1.2.1.25.2.3.1.3.1|4|Physical Memory
1.3.6.1.2.1.25.2.3.1.3.2|4|Hard Disk Drive
1.3.6.1.2.1.25.2.3.1.4.1|2|1
1.3.6.1.2.1.25.2.3.1.4.2|2|32768
1.3.6.1.2.1.25.2.3.1.5.1|2|386260328
1.3.6.1.2.1.25.2.3.1.5.2|2|238590
1.3.6.1.2.1.25.2.3.1.6.1|2|184533416
1.3.6.1.2.1.25.2.3.1.6.2|2|28395
1.3.6.1.2.1.25.2.3.1.7.1|65|0
1.3.6.1.2.1.25.2.3.1.7.2|65|0
1.3.6.1.2.1.25.3.2.1.1.1|2|1
1.3.6.1.2.1.25.3.2.1.1.2|2|2
1.3.6.1.2.1.25.3.2.1.2.1|6|1.3.6.1.2.1.25.3.1.20
1.3.6.1.2.1.25.3.2.1.2.2|6|1.3.6.1.2.1.25.3.1.6
1.3.6.1.2.1.25.3.2.1.3.1|4|Physical Memory
1.3.6.1.2.1.25.3.2.1.3.2|4|Hard Disk Drive
1.3.6.1.2.1.25.3.2.1.4.1|6|1.3.6.1.4.1.38516.2.5.1.0
1.3.6.1.2.1.25.3.2.1.4.2|6|1.3.6.1.4.1.38516.2.5.1.0
1.3.6.1.2.1.25.3.2.1.5.1|2|2
1.3.6.1.2.1.25.3.2.1.5.2|2|2
1.3.6.1.2.1.25.3.2.1.6.1|65|0
1.3.6.1.2.1.25.3.2.1.6.2|65|0
1.3.6.1.2.1.27.1.1.4.1|4|8.3.5.4