mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
brother printer detection
git-svn-id: http://www.observium.org/svn/observer/trunk@1386 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 740 B |
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
if (!$os) {
|
||||
|
||||
if (preg_match("/Brother NC-.*h,/", $sysDescr)) { $os = "brother"; }
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -224,6 +224,12 @@ $config['os']['ricoh']['overgraph'][] = "device_toner";
|
||||
$config['os']['ricoh']['overtext'] = "Toner";
|
||||
$config['os']['ricoh']['type'] = "printer";
|
||||
|
||||
$config['os']['brother']['group'] = "printer";
|
||||
$config['os']['brother']['text'] = "Brother Printer";
|
||||
$config['os']['brother']['overgraph'][] = "device_toner";
|
||||
$config['os']['brother']['overtext'] = "Toner";
|
||||
$config['os']['brother']['type'] = "printer";
|
||||
|
||||
$config['os']['konica']['group'] = "printer";
|
||||
$config['os']['konica']['text'] = "Konica-Minolta Printer";
|
||||
$config['os']['konica']['overgraph'][] = "device_toner";
|
||||
|
||||
Reference in New Issue
Block a user