Ad Widget

Collapse

DELL servers without SNMP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PiotrIr
    Member
    • Jun 2013
    • 45

    #1

    DELL servers without SNMP

    Is any way to monitor DELL hardware servers with active agent without SNMP similar way as on HP? I have some sites where can't use VPN connection so cannot use SNMP (unless somebody will tell me I'm worng).

    Thank you.
  • Jason
    Senior Member
    • Nov 2007
    • 430

    #2
    You can do it with a proxy on site.... That could be a virtual if it's on a virtualisation environment or a hardware based proxy such as a Raspberry PI.

    If the server isn't being virtualised then you can do it via SNMP calls from the host. We've done that by creating a vbscript to do the snmp and then return just the data and then add that into bottom of the agent config file as UserParameter and call it with the OID you want to look up.

    Jason

    Comment

    • PiotrIr
      Member
      • Jun 2013
      • 45

      #3
      Jason,

      Many thanks for your reply.

      Second options sounds great (if I understood correctly Zabbix Agent talk to SNMP service using vbscript and then sends data to zabbix server). My only problem is - I don't feel strong enough to write such script and template :-( Is any ready solution which I could possibly use?

      Comment

      • Jason
        Senior Member
        • Nov 2007
        • 430

        #4
        The attached vbs is how we do it... I can't remember how much of the original code is left in that as I think I re-wrote most of it. The coding in this isn't great and still has a lot of debugging code left in it.

        It relies on net-snmp for windows being installed. You just need the base components and not the services and installed in c:\zabbix\snmp

        It's not too hard to also add discovery into this if you want to do that.
        Attached Files

        Comment

        • PiotrIr
          Member
          • Jun 2013
          • 45

          #5
          Jason, thank you for the script! This is great!

          Probably this is stupid question but could you only advise how I will use Openmanage SNMP template with this script? Or maybe I do have create new script for this?

          Comment

          • Jason
            Senior Member
            • Nov 2007
            • 430

            #6
            Attached is the template we use that used that script. You will need to create the value mappings of the standard dell error codes to use that. The mappings are below... We now use a version of that script that does discovery of disks/temperatures etc...

            It's just a matter of swapping the snmpget for snmpwalk and returning the properly formatted json

            DELL Controller Type 1 ⇒ SCSI
            2 ⇒ PowerVault 660F
            3 ⇒ PowerVault 662F
            4 ⇒ IDE
            5 ⇒ SATA
            6 ⇒ SAS
            Dell Disk State 0 ⇒ Unknown
            1 ⇒ Ready
            2 ⇒ Failed
            3 ⇒ Online
            4 ⇒ Offline
            6 ⇒ Degraded
            15 ⇒ Resynching
            16 ⇒ Regenerating
            24 ⇒ Rebuilding
            26 ⇒ Formatting
            35 ⇒ Initialising
            36 ⇒ Background Initialisation
            DellDracDiskState 1 ⇒ Unknown
            2 ⇒ Ready
            3 ⇒ Online
            4 ⇒ Foreign
            5 ⇒ Offline
            6 ⇒ Blocked
            7 ⇒ Failed
            8 ⇒ Non-RAID
            9 ⇒ Removed
            DellNetworkConnectionStatus 0 ⇒ Unknown
            1 ⇒ Connected
            2 ⇒ Disconnected
            3 ⇒ Driver Bad
            4 ⇒ Driver Disabled
            10 ⇒ Hardware Initialising
            11 ⇒ Hardware Resetting
            12 ⇒ Hardware Closing
            13 ⇒ Hardware Not Ready
            DELL OM Battery State 0 ⇒ Unknown
            1 ⇒ OK
            2 ⇒ Failed
            6 ⇒ Degraded
            7 ⇒ Reconditioning
            9 ⇒ High
            10 ⇒ Low
            12 ⇒ Charging
            21 ⇒ Missing
            36 ⇒ Learning
            Dell Open Manage System Status 1 ⇒ Other
            2 ⇒ Unknown
            3 ⇒ OK
            4 ⇒ NonCritical
            5 ⇒ Critical
            6 ⇒ NonRecoverable
            DellPowerState 1 ⇒ Other
            2 ⇒ Unknown
            3 ⇒ Off
            4 ⇒ On
            Dell PSU State Settings 1 ⇒ Unknown
            2 ⇒ Online (state disabled)
            4 ⇒ not Ready
            8 ⇒ Fan Failure
            10 ⇒ Online and Fan Failure
            16 ⇒ On
            242 ⇒ Online and OK
            DellRaidLevel 1 ⇒ Not known
            2 ⇒ RAID-0
            3 ⇒ RAID-1
            4 ⇒ RAID-5
            5 ⇒ RAID-6
            6 ⇒ RAID-10
            7 ⇒ RAID-50
            8 ⇒ RAID-60
            9 ⇒ Concatenated RAID 1
            10 ⇒ Concatenated RAID 5
            DellRaidVolumeState 1 ⇒ Unknown
            2 ⇒ Online
            3 ⇒ Failed
            4 ⇒ Degraded
            Dell_PSU_SensorState 1 ⇒ Presence Detected
            2 ⇒ PS Failure
            4 ⇒ Predictuve Failure
            8 ⇒ PS AC lost
            16 ⇒ AC lost or out of range
            32 ⇒ AC out of range but still present
            Attached Files

            Comment

            • PiotrIr
              Member
              • Jun 2013
              • 45

              #7
              Jason,

              Once again, thank you very much!

              Comment

              • Jason
                Senior Member
                • Nov 2007
                • 430

                #8
                You'll need this line in your config file...

                UserParameter=SNMPread[*],cscript.exe /nologo c:\zabbix\SNMPread.vbs $1 $2 $3 $4 $5

                Comment

                • Raged23
                  Junior Member
                  • Mar 2015
                  • 4

                  #9
                  Monitoring with Active agent.

                  Thanks Jason for this information.
                  If I'm reading this correctly this only works if the machine is not virtualized?
                  I've been trying to use powershell scripts with omreport to return the needed information, but I am having trouble parsing the information.
                  Your SNMP solutions seems better, but the majority of are servers are VM's in many different locations. Proxies are not a good solution for us.

                  Comment

                  • Jason
                    Senior Member
                    • Nov 2007
                    • 430

                    #10
                    What are the hosts? If they have iDrac 7 then you'll be able to directly monitor the hosts from SNMP, including the storage. You can do that from the virtuals with a little bit of tweaking of the above scripts and can even do discovery of temperatures, memory, fans and storage to make life easier.

                    If you've a virtual environment then a tiny linux virtual running a proxy makes a great addition. It will use up 2-4GB (depending how generous you are on creating disks) disk space on your storage and 512MB of RAM (possibly even less).

                    If space on your storage platform is at a premium then a zabbix proxy will run nicely off a Raspberry Pi and it can be powered off one of the servers USB ports and just needs a network connection.

                    Comment

                    • guest55
                      Junior Member
                      • Feb 2015
                      • 10

                      #11
                      Hi all! I try use this template for monitoring DELL thru SNMP. I setup SNMP service, set community and other settings, install latest version Open Manage Administrator. But monitroing thru SNMP not work - any ideas of what it can be?

                      My server model is PowerEdge R210 II
                      OS Windows Server 2008 R2

                      Comment

                      • Jason
                        Senior Member
                        • Nov 2007
                        • 430

                        #12
                        You need to have enabled the windows SNMP service and added public community to it.

                        Comment

                        Working...