Ad Widget

Collapse

zabbix 2.0.0 netapp templates

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Guys, thanks so much for this template...

    I have a simple questions, how i configure the template to give me the values in GB and TB..

    I know I'll have to use the Use custom multiplier, but how to use?

    For exemple, the space in my aggr0 in the recent data , are 1355728356 , how i put this in 1,3 TB ,

    in vol 01, the data are 5728356 , how put in GB

    Sorry for my bad english.. if you need any other info, please, let me known
    Last edited by theocastelo; 21-03-2013, 22:38.

    Comment


      #17
      Have one way to not monitoring the '.snapshot' folders?

      Comment


        #18
        Zabbix + Netapp !!!!

        Hi Friends,

        Two things, first off, i am a huge fan of 1) Netapp 2) Zabbix in that order.

        Now i need some help with the configuration of Netapp monitoring via Zabbix;
        I have an 2.0.8 Zabbix engine all set and monitoring unix/ubuntu hosts. However
        when i try and setup my FAS 3220 HA cluster , for monitoring via Zabbix i have no such luck!!

        I have downloaded and imported template (lazy-sa.blogspot.com.au/2013/03/netapp-monitoring-in-zabbix-20.html and https://www.zabbix.org/wiki/Zabbix_Templates ) all with no issue.

        However , i cant seem to get any communication with my controllers when i try and create the host , ie link it with the template.

        I was hoping to find out how you guys get your controllers to present / serve data to the Zabbix server / Zabbix?

        I have tried the SNMP option with now luck , and i was hoping to hear how EXACTLY you guys get your controllers to talk to your zabbix server.

        Let me know, keen to find out!

        Regards

        Igor

        Comment


          #19
          Hi Igor,

          Did you check the SNMP community on both zabbix and netapp?

          I use a very simple bash script from my Linux system to quickly check it:

          ################################################## ############################

          COMMUNITY=YOUR_COMMUNITY
          VERSION=2c
          HOSTNAME=$1

          if [ ! $1 ]
          then
          echo "we need a hostname as argument"
          echo "use $0 hostname"
          exit 1
          fi

          if [ ! $2 ]
          then
          STRING=iso.3.6.1.2.1.1.1.0
          else
          STRING=$2
          fi

          snmpwalk -Os -c $COMMUNITY -v $VERSION $HOSTNAME $STRING

          ################################################## ############################

          All that you need is exactly that you have yet did:
          1. add template to zabbix
          2. add host in zabbix
          3. add template to this host
          4. add SNMP community on the both sides

          Hope this can help your,

          best regards,

          ilja

          Comment


            #20
            No. 4

            hi ilja!

            Thanks for reaching out , i know i am close to having this working.

            I am with you all the way bar;

            4. add SNMP community on the both sides

            I am afraid I do not know the concept or the required configuration. Its the netapp side that seems to be the enigma.

            Let me know if there is any where likely to have a guide or walkthrough.

            Thank you in advance!


            Igor

            Comment


              #21
              Hi Igor,

              I don't know which netapp gui tool you use for the netapp management, but on the command line there is a netapp snmp command, that you need:
              -------------------------------------------
              usage: snmp options
              Options are:
              (no option => display current settings)
              authtrap [ 0|1 ] (0 => disabled, 1 => enabled)
              community [ add ro <community> ]
              community [ delete { all | ro <community> } ]
              contact [ <contact> ]
              init [ 1 ] (0 => uninitialized, 1 => initialized)
              location [ <location> ]
              traphost [ add|delete <hostname|ipaddress> ]
              traps [ enable|disable|reset|delete ] [ <trapname> ]
              traps <trapname>.<parm> <value>
              traps walk <prefix>
              traps load <filename>
              ----------------------
              snmp community name must be equal by zabbix macro {$SNMP_COMMUNITY} and netapp snmp command.

              Ilja

              Comment


                #22
                Hi there,

                i tryed to import the template in Zabbix 2.2 and get an errormessage like "Cannot implode expression". I found a thread where the solution was to update to Zabbix 2.2.1 so I did that. Now I have following Errormessage: "Cannot find value map "NetAppcfInterconnectStatus" used for item "Cluster Interconnect status" on "Template NetApp"." so I can see it depends on the value maps, but I don´t thougt these are needed.

                With Version 2.0.0 it worked fine for me, but after the update I had to add 2 more Netapps and I couldn´t link the templates to the Hosts. So I deleted the Template and the Hosts to do it again and now nothing is working.

                Has annyone the same issue or a solution for this problem?

                Comment


                  #23
                  I have the same problem, can anyone share the Value Maps for the NetApp template?

                  Comment


                    #24
                    Has to downgrade to version 2.0?

                    Originally posted by athurdent View Post
                    I have the same problem, can anyone share the Value Maps for the NetApp template?

                    Comment


                      #25
                      Per advice from another thread I have removed all the value mappings from the NetApp template (obtained through Zabbix wiki) to make it importable. I also had to change some avg(0) to last(0) to import the template successfully.
                      I dug through the internet to create the missing value maps, these might be right:

                      Code:
                      NetApp AutosupportStatus	
                      1 ⇒ ok
                      2 ⇒ smtpFailure
                      3 ⇒ postFailure
                      4 ⇒ smtpPostFailure
                      5 ⇒ unknown
                      NetApp CifsIsEnabled	
                      1 ⇒ false
                      2 ⇒ true
                      NetApp ClusterInterconnectStatus	
                      1 ⇒ notPresent
                      2 ⇒ down
                      3 ⇒ partialFailure
                      4 ⇒ up
                      NetApp ClusterPartnerStatus	
                      1 ⇒ maybeDown
                      2 ⇒ ok
                      3 ⇒ dead
                      NetApp ClusterSetting	
                      1 ⇒ notConfigured
                      2 ⇒ enabled
                      3 ⇒ disabled
                      4 ⇒ takeoverByPartnerDisabled
                      5 ⇒ thisNodeDead
                      NetApp ClusterStatus	
                      1 ⇒ dead
                      2 ⇒ canTakeover
                      3 ⇒ cannotTakeover
                      4 ⇒ takeover
                      NetApp EnvOverTemperature	
                      1 ⇒ no
                      2 ⇒ yes
                      NetApp FcpTargetStatus	
                      1 ⇒ startup
                      2 ⇒ uninitialized
                      3 ⇒ initializingFW
                      4 ⇒ linkNotConnected
                      5 ⇒ waitingForLinkUp
                      6 ⇒ online
                      7 ⇒ linkDisconnected
                      8 ⇒ resetting
                      9 ⇒ offline
                      10 ⇒ offlinedByUserSystem
                      11 ⇒ unknown
                      NetApp FSOverallStatus	
                      1 ⇒ ok
                      2 ⇒ nearlyFull (>95%)
                      3 ⇒ full (>98%)
                      NetApp GlobalStatus	
                      1 ⇒ other
                      2 ⇒ unknown
                      3 ⇒ ok
                      4 ⇒ nonCritical
                      5 ⇒ critical
                      6 ⇒ nonRecoverable
                      NetApp LunOnline	
                      1 ⇒ false
                      2 ⇒ true
                      NetApp LunSnapStatus	
                      1 ⇒ false
                      2 ⇒ true
                      NetApp NvramBatteryStatus	
                      1 ⇒ ok
                      2 ⇒ partially discharged
                      3 ⇒ fully discharged
                      4 ⇒ not present
                      5 ⇒ near end of life
                      6 ⇒ at end of life
                      7 ⇒ unknown
                      8 ⇒ overCharged
                      9 ⇒ fullyCharged
                      NetApp RaidStatus	
                      1 ⇒ active
                      2 ⇒ reconstructionInProgress
                      3 ⇒ parityReconstructionInProgress
                      4 ⇒ parityVerificationInProgress
                      5 ⇒ scrubbingInProgress
                      6 ⇒ failed
                      7 ⇒ addingSpare
                      8 ⇒ spare
                      9 ⇒ prefailed
                      10 ⇒ offline
                      NetApp SpareStatus	
                      1 ⇒ spare
                      2 ⇒ addingspare
                      3 ⇒ bypassed
                      4 ⇒ unknown
                      10 ⇒ offline
                      NetApp VolStatus	
                      1 ⇒ unmounted
                      2 ⇒ mounted
                      3 ⇒ frozen
                      4 ⇒ destroying
                      5 ⇒ creating
                      6 ⇒ mounting
                      7 ⇒ unmounting
                      8 ⇒ nofsinfo
                      9 ⇒ replaying
                      10 ⇒ replayed

                      Comment


                        #26
                        Here you are the used value maps and last and (i Hope) fixed template


                        NetAppcfInterconnectStatus 1 ⇒ not present
                        2 ⇒ down
                        3 ⇒ partial failure
                        4 ⇒ up
                        NetAppcfPartnerStatus 1 ⇒ maybe down
                        2 ⇒ ok
                        3 ⇒ dead
                        NetAppCfSetting 1 ⇒ not configured
                        2 ⇒ enabled
                        3 ⇒ disabled
                        4 ⇒ takeover by partner disabled
                        5 ⇒ this node dead
                        NetAppCfState 1 ⇒ dead
                        2 ⇒ can takeover
                        3 ⇒ cannot takeover
                        4 ⇒ takeover
                        NetAppFcpTgtStatus 1 ⇒ startup
                        2 ⇒ uninitialized
                        3 ⇒ initializingFW
                        4 ⇒ linkNotConnected
                        5 ⇒ waitingForLinkUp
                        6 ⇒ online
                        7 ⇒ linkDisconnected
                        8 ⇒ resetting
                        9 ⇒ offline
                        10 ⇒ offlinedByUserSystem
                        11 ⇒ unknown
                        NetAppFsStatus 1 ⇒ ok
                        2 ⇒ nearlyFull
                        3 ⇒ full
                        NetAppGlobalStatus 1 ⇒ other
                        2 ⇒ unknown
                        3 ⇒ ok
                        4 ⇒ non critical
                        5 ⇒ critical
                        6 ⇒ non recoverable
                        NetAppLunOnline 1 ⇒ false
                        2 ⇒ true
                        NetAppNvramBatteryStatus 1 ⇒ ok
                        2 ⇒ partially discharged
                        3 ⇒ fully discharged
                        4 ⇒ not present
                        5 ⇒ near end of life
                        6 ⇒ at end of life
                        7 ⇒ unknown
                        8 ⇒ overcharged
                        NetAppOverTemp 1 ⇒ no
                        2 ⇒ yes
                        NetAppRaidStatus 1 ⇒ active
                        2 ⇒ reconstructionInProgress
                        3 ⇒ parityReconstructionInProgress
                        4 ⇒ parityVerificationInProgress
                        5 ⇒ scrubbingInProgress
                        6 ⇒ failed
                        7 ⇒ addingSpare
                        8 ⇒ spare
                        9 ⇒ prefailed
                        10 ⇒ offline
                        NetAppSpareStatus 1 ⇒ spare
                        2 ⇒ addingspare
                        3 ⇒ bypassed
                        4 ⇒ unknown
                        10 ⇒ offline
                        NetAppVolStatus 1 ⇒ unmounted
                        2 ⇒ mounted
                        3 ⇒ frozen
                        4 ⇒ destroying
                        5 ⇒ creating
                        6 ⇒ mounting
                        7 ⇒ unmounting
                        8 ⇒ nofsinfo
                        9 ⇒ replaying
                        Last edited by rocksteady; 12-03-2015, 15:22.

                        Comment


                          #27
                          Has this been tested on Zabbix 2.2.1? I'm trying to import this into a new Zabbix server to monitor our FAS3210 but I'm getting errors during the import.

                          Created: Application "CPU" on "Template NetApp".
                          Created: Application "File Serving" on "Template NetApp".
                          Created: Application "Lun" on "Template NetApp".
                          Created: Application "Quota" on "Template NetApp".
                          Created: Application "System" on "Template NetApp".
                          Created: Application "Volume" on "Template NetApp".
                          Cannot find value map "NetAppcfInterconnectStatus" used for item "Cluster Interconnect status" on "Template NetApp".

                          Comment


                            #28
                            Originally posted by dodgetimes2 View Post
                            Has this been tested on Zabbix 2.2.1? I'm trying to import this into a new Zabbix server to monitor our FAS3210 but I'm getting errors during the import.

                            Created: Application "CPU" on "Template NetApp".
                            Created: Application "File Serving" on "Template NetApp".
                            Created: Application "Lun" on "Template NetApp".
                            Created: Application "Quota" on "Template NetApp".
                            Created: Application "System" on "Template NetApp".
                            Created: Application "Volume" on "Template NetApp".
                            Cannot find value map "NetAppcfInterconnectStatus" used for item "Cluster Interconnect status" on "Template NetApp".
                            See Post #26 above. You need to manually add the value maps to your installation before importing the template. Navigate to "Administration -> General -> Value Mapping" for that.

                            Comment


                              #29
                              Just wondering where I could download the template as it seems to have disappeared from the forum.

                              Thanks in advance

                              Comment


                                #30
                                The template is further up in the thread. I downloaded it, added the value maps manually into Zabbix, and the template installed fine.

                                I do have a question. The non-discovery items are retrieving fine, but I do not have any discovered volumes, etc. I did an snmpwalk with the volume OID and it does return the volume names, but nothing shows up in Zabbix. BTW: We are running 2.2.2 on Linux with a master and 8 proxies.

                                WHat could I be doing wrong?

                                Comment

                                Announcement

                                Collapse
                                No announcement yet.
                                Working...
                                X