Description
My colleague Fabian asked for support for these devices a while ago: https://jira.observium.org/browse/OBS-2598
I have (hopefully) figured out how to add it by myself. As mentioned by Fabian the 8310 devices were already supported. I have oriented myself exactly to the implementation of these devices.
Please note that I have also used a kinda new sensor type called "energy" to display the Watt hours. This was added by me previously, see https://jira.observium.org/browse/OBS-1945
Mike removed the support for it afterwards and wanted to add it later, but that never happened. So i just added it again for my install and it works fine for our setup since 2016...
Attachments
Activity
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Reopened [ 4 ] | New: Resolved [ 5 ] |
Labels | New: counters |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Closed [ 6 ] | New: Reopened [ 4 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Attachment | Original: GUDEADS-PDU8311-MIB [ 15325 ] |
Description |
Original:
My colleague Fabian asked for support for these devices a while ago: https://jira.observium.org/browse/OBS-2598
I have (hopefully) figured out how to add it by myself. As mentioned by Fabian the 8310 devices were already supported. I have oriented myself exactly to the implementation of these devices. Changes to os.inc.php file: $os = "gude-pdu"; $config['os'][$os]['text'] = "Gude Expert PDU"; $config['os'][$os]['group'] = "pdu"; $config['os'][$os]['graphs'][] = "device_power"; $config['os'][$os]['graphs'][] = "device_energy"; $config['os'][$os]['icon'] = "gude"; $config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.28507.23"; $config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.28507.27"; $config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.28507.35"; $config['os'][$os]['sysObjectID'][] = ".1.3.6.1.4.1.28507.62"; //Expert PDU Basic 8111 //Expert PDU energy 8182 //Expert PDU 8310 $config['os'][$os]['sysDescr_regex'][] = '/^(?<hardware>.+)$/'; $config['os'][$os]['mibs'][] = "GUDEADS-PDU8110-MIB"; $config['os'][$os]['mibs'][] = "GUDEADS-PDU8310-MIB"; $config['os'][$os]['mibs'][] = "GUDEADS-PDU8311-MIB"; $config['os'][$os]['mibs'][] = "GUDEADS-PDU818X-MIB"; The following new or edited files are attached: /includes/definitions/mibs/gude.inc.php /includes/discovery/sensors/gudeads-pdu8311-mib.inc.php /mibs/gude/GUDEADS-PDU8311-MIB Please note that I have also used a kinda new sensor type called "energy" to display the Watt hours. This was added by me previously, see https://jira.observium.org/browse/OBS-1945 Mike removed the support for it afterwards and wanted to add it later, but that never happened. So i just added it again for my install and it works fine for our setup since 2016... |
New:
My colleague Fabian asked for support for these devices a while ago: https://jira.observium.org/browse/OBS-2598
I have (hopefully) figured out how to add it by myself. As mentioned by Fabian the 8310 devices were already supported. I have oriented myself exactly to the implementation of these devices. Please note that I have also used a kinda new sensor type called "energy" to display the Watt hours. This was added by me previously, see https://jira.observium.org/browse/OBS-1945 Mike removed the support for it afterwards and wanted to add it later, but that never happened. So i just added it again for my install and it works fine for our setup since 2016... |
Attachment | Original: gude.inc.php [ 15326 ] |
Attachment | Original: gudeads-pdu8311-mib.inc.php [ 15324 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |