mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
committed by
Neil Lathwood
parent
5bc2444499
commit
282e4b77a5
1
html/images/os/savin.svg
Normal file
1
html/images/os/savin.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 167.19499 38.31506"><path d="M155.394 9.835v28.48h11.8V3.59s0-3.592-3.59-3.592H132.9v38.314h12.4V9.834zM127.514 0h-12.4v38.314h12.4zM97.58 38.314s1.71 0 2.395-1.453L113.83 0h-12.485L91.17 28.822V.685A.677.677 0 0 0 90.482 0H79.877c-.428 0-.684.342-.684 1.368v36.946zM61.49 28.822H51.484v-5.475h9.92zM74.062 5.046a4.964 4.964 0 0 0-4.96-4.96L39.255 0v8.895h22.15v5.9l-17.532-.17a4.965 4.965 0 0 0-4.96 4.96v13.77a4.964 4.964 0 0 0 4.96 4.96h30.19zM.512 28.736H21.81v-5.39H4.96A4.963 4.963 0 0 1 0 18.387V4.962A4.963 4.963 0 0 1 4.96 0h28.137v8.896H12.144v5.73h16.59a4.964 4.964 0 0 1 4.96 4.96v13.768a4.963 4.963 0 0 1-4.96 4.96H.515z" clip-rule="evenodd" fill="#255398" fill-rule="evenodd"/></svg>
|
After Width: | Height: | Size: 751 B |
15
includes/definitions/savin.yaml
Normal file
15
includes/definitions/savin.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
os: savin
|
||||
group: printer
|
||||
text: 'Savin Printer'
|
||||
type: printer
|
||||
icon: savin
|
||||
over:
|
||||
- { graph: device_toner, text: Toner }
|
||||
discovery:
|
||||
- sysDescr:
|
||||
- SAVIN
|
||||
discovery_modules:
|
||||
toner: 1
|
||||
poller_modules:
|
||||
toner: 1
|
||||
|
28
includes/polling/os/savin.inc.php
Normal file
28
includes/polling/os/savin.inc.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* savin.inc.php
|
||||
*
|
||||
* -Description-
|
||||
*
|
||||
* 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/>.
|
||||
*
|
||||
* @package LibreNMS
|
||||
* @link http://librenms.org
|
||||
* @copyright 2017 Tony Murray
|
||||
* @author Tony Murray <murraytony@gmail.com>
|
||||
*/
|
||||
|
||||
$hardware = trim(snmp_get($device, '1.3.6.1.4.1.367.3.2.1.1.1.1.0', '-OQv', '', ''), '" ');
|
||||
$version = trim(snmp_get($device, '1.3.6.1.4.1.367.3.2.1.1.1.2.0', '-OQv', '', ''), '" ');
|
||||
$serial = trim(snmp_get($device, '1.3.6.1.4.1.367.3.2.1.2.1.4.0', '-OQv', '', ''), '" ');
|
2
tests/snmpsim/savin_c4503.snmprec
Normal file
2
tests/snmpsim/savin_c4503.snmprec
Normal file
@@ -0,0 +1,2 @@
|
||||
1.3.6.1.2.1.1.1.0|4|SAVIN MP C4503 1.18 / SAVIN Network Printer C model / SAVIN Network Scanner C model
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.367.1.1
|
Reference in New Issue
Block a user