Add model for Christie Digital projectors (#15088)

This commit is contained in:
Cyril LAVIER 2023-09-25 19:39:20 -04:00 committed by GitHub
parent 584768549a
commit f9ef5fe3fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 60 additions and 0 deletions

BIN
html/images/os/christie.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -0,0 +1,8 @@
os: christie-projector
text: 'Christie Projector'
type: collaboration
icon: christie
group: christie
discovery:
- sysObjectID:
- '.1.3.6.1.4.1.25766.'

View File

@ -0,0 +1,5 @@
modules:
os:
hardware: .1.3.6.1.4.1.25766.1.12.1.1.2.1.0
version: .1.3.6.1.4.1.25766.1.12.1.1.2.7.0
serial: .1.3.6.1.4.1.25766.1.12.1.1.2.4.0

View File

@ -0,0 +1,37 @@
<?php
/*
* LibreNMS
*
* 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. Please see LICENSE.txt at the top level of
* the source code distribution for details.
*
* @package LibreNMS
* @subpackage webui
* @link http://librenms.org
* @copyright 2023 LibreNMS
* @author LibreNMS Contributors
*/
use Illuminate\Support\Str;
if (Str::startsWith($device['sysObjectID'], '.1.3.6.1.4.1.25766')) {
discover_sensor(
$valid['sensor'],
'count',
$device,
'.1.3.6.1.4.1.25766.1.12.1.1.3.5.1.6.1',
0,
'christie-projector',
'Lamp Hours',
1,
1,
null,
null,
null,
null,
snmp_get($device, '.1.3.6.1.4.1.25766.1.12.1.1.3.5.1.6.1', '-Ovq')
);
}

View File

@ -0,0 +1,10 @@
1.3.6.1.2.1.1.1.0|4|Solaria
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.25766.1.12.1.4
1.3.6.1.2.1.1.3.0|67|40880396
1.3.6.1.2.1.1.4.0|4|<private>
1.3.6.1.2.1.1.5.0|4|<private>
1.3.6.1.2.1.1.6.0|4|<private>
1.3.6.1.4.1.25766.1.12.1.1.2.1.0|4|<private>
1.3.6.1.4.1.25766.1.12.1.1.2.4.0|4|<private>
1.3.6.1.4.1.25766.1.12.1.1.2.7.0|4|4.8.1.3
1.3.6.1.4.1.25766.1.12.1.1.3.5.1.6.1|2|3475