Ad Widget

Collapse

monitoring windows RAID with Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tremo
    Junior Member
    • Mar 2016
    • 11

    #1

    monitoring windows RAID with Zabbix

    Hi everyone,
    I want to monitor windows RAID status with Zabbix.
    I have installed zabbix agents on windows machine and configure zabbix_agent.conf to allow active and passive checking.
    For now, i can get basic information from windows machine but i can't get any RAID status information because i do not know how.
    I already tried this

    and this
    Join the friendly and open Zabbix community on our forums and social media platforms.

    Guys, i need your help. Time is flying and my boss want to kill me soon.
  • Bopa
    Junior Member
    • Dec 2013
    • 4

    #2
    Hi,

    What kind of Server do you have? HP,....
    Just do an SNMP walk on your Server and get the OID's that represents your logical disks and disk states.
    SNMP must be installed on your Server.

    If you have the OID's you can even create a Discovery Rule to detect your logical disks and disk states

    Comment

    • Brain2000
      Junior Member
      • Aug 2024
      • 16

      #3
      Originally posted by tremo
      Hi everyone,
      I want to monitor windows RAID status with Zabbix.
      I have installed zabbix agents on windows machine and configure zabbix_agent.conf to allow active and passive checking.
      For now, i can get basic information from windows machine but i can't get any RAID status information because i do not know how.
      I already tried this

      and this
      Join the friendly and open Zabbix community on our forums and social media platforms.

      Guys, i need your help. Time is flying and my boss want to kill me soon.
      It's been 8 years, so you're boss has probably killed you by now. But for anyone still alive:

      Download the nagios check_windows_swraid.vbs and copy it to the Zabbix agent on windows. Then add the following line into the zabbix_agent2.conf file:

      UserParameter=custom.softwareraid,%SYSTEMROOT%\Sys tem32\cscript.exe /nologo .\check_windows_swraid.vbs

      I also include the UserParameterDir line to make paths easier, though I think this should be the default:
      UserParameterDir=C:\Program Files\Zabbix Agent 2\

      (don't forget to restart the Zabbix Agent windows service to make this active)

      Now create a new Zabbix item to access the UserParameter that you just created:
      Click image for larger version  Name:	image.png Views:	0 Size:	38.5 KB ID:	489460

      The preprocessing tab is VERY important here, where it will set up a numeric return, 0=OK, 1=WARNING, 2=CRITICAL, and 3=UNKNOWN
      Click image for larger version  Name:	image.png Views:	0 Size:	29.2 KB ID:	489461

      Finally, create two triggers, such as this:
      Click image for larger version  Name:	image.png Views:	0 Size:	20.2 KB ID:	489462

      Season to your liking.

      Comment

      • Logswatch
        Junior Member
        • Jan 2025
        • 2

        #4
        Hi Brain2000,

        Can you please provide the download URL of check_windows_swraid.vbs or its content, so that others may benifit from your assistance?

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5
          Originally posted by Logswatch
          Hi Brain2000,

          Can you please provide the download URL of check_windows_swraid.vbs or its content, so that others may benifit from your assistance?
          Has google been shut down? "nagios check_windows_swraid.vbs" gives you the script as second link, first being link to this topic...

          Comment

          • Logswatch
            Junior Member
            • Jan 2025
            • 2

            #6
            Originally posted by cyber

            Has google been shut down? "nagios check_windows_swraid.vbs" gives you the script as second link, first being link to this topic...
            I don't think so that Google has been shutdown, but Google is giving the different results to everyone, check the screenshot.
            I did my research and have posted the query only after that, but haven't been able to find the link where it gives the file check_windows_swraid.vbs as the name of the file.

            Hence, the question. It would be better to put up a URL or attach the file so that everyone can benefit from it, this is community after all, where we all ask questions and help each other.
            Attached Files

            Comment

            • cyber
              Senior Member
              Zabbix Certified SpecialistZabbix Certified Professional
              • Dec 2006
              • 4807

              #7
              Sorry, must have been bad day..:P Seeing things what I wanted to see, instead of whats actually there... Verified now, that search returned something, but not exactly, what was needed..:P
              But I found this one https://exchange.nagios.org/director...-2Ewsf/details
              Old one, might need adjustments... There seems to be some issues and some fixes.. https://support.nagios.com/forum/viewtopic.php?t=5255 also kind of old topic...

              Comment

              • Brain2000
                Junior Member
                • Aug 2024
                • 16

                #8
                Originally posted by Logswatch
                Hi Brain2000,

                Can you please provide the download URL of check_windows_swraid.vbs or its content, so that others may benifit from your assistance?
                Attached is the file. I renamed it to txt or it wouldn't upload, so don't forget to rename it.
                Attached Files
                Last edited by Brain2000; 20-03-2025, 05:51.

                Comment

                Working...