mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02: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:
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
@@ -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