Details
Description
I made a small contribution to support the vendor recognition of Zebra label printers.
includes/definitions/os.inc.php:
// Zebra printers
|
$os = "zebra"; |
$config['os'][$os]['text'] = "Zebra Printer"; |
$config['os'][$os]['type'] = "printer"; |
$config['os'][$os]['icon'] = "zebra"; |
includes/discovery/os/zebra.inc.php:
<?php
|
|
|
/**
|
* Observium
|
*
|
* This file is part of Observium.
|
*
|
* @package observium
|
* @subpackage discovery
|
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2017 Observium Limited
|
*
|
*/
|
|
|
if (!$os) |
{
|
if (str_starts($sysDescr, 'Zebra')) |
{
|
$os = 'zebra'; |
}
|
}
|
|
|
// EOF |
In the attachment is de vendor logo.