Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-2661

Device support for Zebra label printers

    XMLWordPrintable

Details

    • Add New Device / OS
    • Resolution: Fixed
    • Minor
    • None
    • Community Edition, Professional Edition
    • Discovery, OS, Poller
    • None

    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.

       

      Attachments

        1. zebra.png
          3 kB
          Quentin Schoemaker

        Activity

          People

            landy Mike Stupalov
            Schoemaker Quentin Schoemaker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: