mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
discovery for xerox printers
git-svn-id: http://www.observium.org/svn/observer/trunk@1389 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
BIN
html/images/os/xerox.png
Normal file
BIN
html/images/os/xerox.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
9
includes/osdiscovery/discover-xerox.php
Normal file
9
includes/osdiscovery/discover-xerox.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
if(!$os) {
|
||||
|
||||
if(strstr($sysDescr, "Xerox Phaser")) { $os = "xerox"; }
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -220,6 +220,13 @@ $config['os']['dell-laser']['overtext'] = "Toner";
|
||||
$config['os']['dell-laser']['ifname'] = 1;
|
||||
$config['os']['dell-laser']['type'] = "printer";
|
||||
|
||||
$config['os']['xerox']['group'] = "printer";
|
||||
$config['os']['xerox']['text'] = "Xerox Printer";
|
||||
$config['os']['xerox']['overgraph'][] = "device_toner";
|
||||
$config['os']['xerox']['overtext'] = "Toner";
|
||||
$config['os']['xerox']['ifname'] = 1;
|
||||
$config['os']['xerox']['type'] = "printer";
|
||||
|
||||
$config['os']['jetdirect']['group'] = "printer";
|
||||
$config['os']['jetdirect']['text'] = "HP Printer";
|
||||
$config['os']['jetdirect']['overgraph'][] = "device_toner";
|
||||
|
||||
Reference in New Issue
Block a user