initial commit; version 22.5.12042
This commit is contained in:
19
includes/polling/os/powerware.inc.php
Normal file
19
includes/polling/os/powerware.inc.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Observium
|
||||
*
|
||||
* This file is part of Observium.
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage poller
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
|
||||
*
|
||||
*/
|
||||
|
||||
# XUPS-MIB::xupsIdentManufacturer.0 = STRING: "Powerware Corporation"
|
||||
# XUPS-MIB::xupsIdentModel.0 = STRING: "T1500 XR "
|
||||
$hardware = snmp_get($device, 'xupsIdentManufacturer.0', '-OQv', 'XUPS-MIB', '');
|
||||
$hardware .= ' ' . snmp_get($device, 'xupsIdentModel.0', '-OQv', 'XUPS-MIB', '');
|
||||
|
||||
// EOF
|
Reference in New Issue
Block a user