Cisco ESA appliance - RAID status

Tags: #<Tag:0x00007fec77ec6f60>

Hello there,

I’m trying to integrate our Cisco ESA cluster in LibreNMS.

Both our devices are discovered, but I miss the RAID status. We currently experience a degraded RAID, but LibreNMS isn’t reporting it.

The devices are correctly recognized as Cisco ESA/AsyncOS.

Hardware
C390
Operating System
Cisco AsyncOS 12.1.0-071
Object
ID.1.3.6.1.4.1.15497.1.1

./validate.php

====================================

Component Version
LibreNMS 1.62-70-ge4b49f5
DB Schema 2020_01_10_075852_alter_mpls_lsp_paths_table (162)
PHP 7.2.24
MySQL 5.5.64-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

====================================

[OK] Composer Version: 1.10.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

Kind regards,
Thanks for all help

Hi,

I’ve moved your topic to feature request section.

Now, I suggest you to take a read to https://docs.librenms.org/Developing/Sensor-State-Support/

Then expand the yaml to also take care of that raid state sensor.

Remember to PR your changes to everyone can benefit of them

Hi TheGreatDoc,

Thanks a lot for your quick reply.
I conclude the RAID status isn’t already included, though the MIB defs where added by network-guy (#6545)
I’m very new to LibreNMS and will try to integrate RAID status, unless some already did…

Kind regards…

If snmp is properly implemented it shouldnt be hard.

Im going to move again this to Device Request section.

Thanks again.

The SNMP walk on the LibreNMS machine (linux cli) looks promising:

snmpwalk -m ALL -M “find /opt/librenms/mibs/ -type d | awk '{ printf ":%s",$0}' | cut -c2-” -r 1 -v 2c -c communitystring ip.ip.ip.ip 1.3.6.1.4.1.15497


ASYNCOS-MAIL-MIB::raidEvents.0 = Counter32: 1
ASYNCOS-MAIL-MIB::raidIndex.1 = INTEGER: 1
ASYNCOS-MAIL-MIB::raidIndex.2 = INTEGER: 2
ASYNCOS-MAIL-MIB::raidStatus.1 = INTEGER: driveHealthy(1)
ASYNCOS-MAIL-MIB::raidStatus.2 = INTEGER: driveFailure(2)
ASYNCOS-MAIL-MIB::raidID.1 = STRING: Drive 1
ASYNCOS-MAIL-MIB::raidID.2 = STRING: Drive 2
ASYNCOS-MAIL-MIB::raidLastError.1 = STRING: No Errors
ASYNCOS-MAIL-MIB::raidLastError.2 = STRING: State change