mykolq / zabbix_lsi_template

Template is for discovering and monitoring LSI (Avago, Broadcom) storage controllers
13 stars 12 forks source link

BBU failure false positive #4

Closed reedacus25 closed 11 months ago

reedacus25 commented 4 years ago

I have some servers that I am using with this template, and noticed that a couple of servers triggers were showing the BBU/Cachevault module needed to be replaced with a value of 'OK'.

After digging further, it looks like the newer version of storcli adds a newer field to the response.

Here is a working result:

Storage Command Line Tool  Ver 1.21.06 Nov 18, 2016
{
"Controllers":[
{
        "Command Status" : {
                "Controller" : 0,
                "Status" : "Success",
                "Description" : "None"
        },
        "Response Data" : {
                "Cachevault_Info" : [
                        {
                                "Property" : "Type",
                                "Value" : "CVPM02"
                        },
                        {
                                "Property" : "Temperature",
                                "Value" : "48 C"
                        },
                        {
                                "Property" : "State",
                                "Value" : "Optimal"
                        }
                ],
                "Firmware_Status" : [
                        {
                                "Property" : "Replacement required",
                                "Value" : "No"
                        },
                        {
                                "Property" : "No space to cache offload",
                                "Value" : "No"
                        },
                        {
                                "Property" : "Module microcode update required",
                                "Value" : "No"
                        }
                ],

And here is the result that is causing the false positive.

{
"Controllers":[
{
        "Command Status" : {
                "CLI Version" : "007.0709.0000.0000 Aug 14, 2018",
                "Operating system" : "Linux 4.15.0-54-generic",
                "Controller" : 0,
                "Status" : "Success",
                "Description" : "None"
        },
        "Response Data" : {
                "Cachevault_Info" : [
                        {
                                "Property" : "Type",
                                "Value" : "CVPM02"
                        },
                        {
                                "Property" : "Temperature",
                                "Value" : "42 C"
                        },
                        {
                                "Property" : "State",
                                "Value" : "Optimal"
                        }
                ],
                "Firmware_Status" : [
                        {
                                "Property" : "NVCache State",
                                "Value" : "OK"
                        },
                        {
                                "Property" : "Replacement required",
                                "Value" : "No"
                        },
                        {
                                "Property" : "No space to cache offload",
                                "Value" : "No"
                        },
                        {
                                "Property" : "Module microcode update required",
                                "Value" : "No"
                        }
                ],
baskinsy commented 4 years ago

I can confirm the same issue, I'm using the provided storcli storcli_007.0916.0000.0000_all.deb.

mykolq commented 4 years ago

wait please for new template. it will support two controllers an other modifications. i think i will put it here for test next week

mykolq commented 2 years ago

Can you try new version?