1 | <?php |
||
2 | |||
3 | echo 'Scanning Avaya IP Office...'; |
||
4 | |||
5 | $physDevice = snmp_get($device, 'ENTITY-MIB::entPhysicalDescr.1', '-Oqvn'); |
||
6 | |||
7 | if (strstr($physDevice, 'Avaya IP Office')) { |
||
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
8 | $hardware = $physDevice; |
||
9 | } |
||
10 | |||
11 | $version = $device['sysDescr']; |
||
12 |