Ad Widget

Collapse

Monitoring LSI raid by using storcli

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ggs_admin
    Member
    • Oct 2021
    • 44

    #1

    Monitoring LSI raid by using storcli

    Hello,

    Does anybody know if it's possible to monitor LSI raid via storcli via Zabbix 5.0

    I was tring to find some info on forum and found something similar (here is similar topic) but it doesn't work for Zabbix 5.0.






  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    The main idea of this article is to connect to esxi via ssh and execute the installed storcli program. How does the zabbix version affect this scenario?

    Last edited by Hamardaban; 17-10-2021, 18:41.

    Comment


    • ggs_admin
      ggs_admin commented
      Editing a comment
      thanks but I'm trying to find the way without SSH access to the monitored servers.
      I want to use "UserParameter=" for monitoring that
  • ggs_admin
    Member
    • Oct 2021
    • 44

    #3
    Actually, I'm trying to set something like follow:

    HTML Code:
    UserParameter=lsi.ctlsinfo,sudo /opt/MegaRAID/storcli/storcli64 /call show all j
    UserParameter=lsi.ldsinfo,sudo /opt/MegaRAID/storcli/storcli64 /call/vall show all j
    UserParameter=lsi.pdsinfo,sudo /opt/MegaRAID/storcli/storcli64 /call/eall/sall show all j
    UserParameter=lsi.cvsinfo,sudo /opt/MegaRAID/storcli/storcli64 /call/cv show all j
    UserParameter=lsi.bbusinfo,sudo /opt/MegaRAID/storcli/storcli64 /call/bbu show all j
    UserParameter=lsi.ctllld,sudo /opt/MegaRAID/storcli/storcli64 show all j
    UserParameter=lsi.ldlld,sudo /opt/MegaRAID/storcli/storcli64 /call/vall show all j
    UserParameter=lsi.pdlld,sudo /opt/MegaRAID/storcli/storcli64 /call/eall/sall show all j


    Comment

    • ggs_admin
      Member
      • Oct 2021
      • 44

      #4
      Sure, the agent is installed, but the main the problem that these commands print too many not needed parameters.
      Ideally, I want to check only the needed things and Zabbix should trigger when something isn't working (as usually) and it should show me what exact doesn't work.
      I see that there a lot of templates for other tools like Megacli or other but not for storcli, and since I don't have permissions to change the storcli to something else I should find solution for that.

      Comment

      • ggs_admin
        Member
        • Oct 2021
        • 44

        #5
        Hello,

        Let me show you an example of the print of the command /opt/MegaRAID/storcli/storcli64 /call show all j



        I'm not sure that it's easy to create item for that (at least for me)

        Comment


        • Hamardaban
          Hamardaban commented
          Editing a comment
          Listing big is bad… But this json is good! Of course, you will have to make an effort - but everything will work well.
      Working...