Ad Widget

Collapse

zabbix 2.0.0 netapp templates

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

  • rocksteady
    started a topic zabbix 2.0.0 netapp templates

    zabbix 2.0.0 netapp templates

    Hi Guys

    I post a template to use with zabbix 2.0.0
    It made autodiscover of netapp volumes and luns.

    Have Fun

    Marco
    Last edited by rocksteady; 30-01-2014, 09:46.

  • rocksteady
    replied
    Hi Pangarano,
    Search for something like that in the template

    This is discovery sessions.

    <discovery_rules>
    <discovery_rule>
    <name>Luns</name>
    <type>4</type>
    <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
    <snmp_oid>.1.3.6.1.4.1.789.1.17.15.2.1.2</snmp_oid>
    <key>LunId</key>
    <delay>360</delay>
    <status>1</status>
    <allowed_hosts/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authpassphrase/>
    <snmpv3_privpassphrase/>


    If you have that session in your template you should have it in the associated host inside zabbix ...... I suspect some problem during the import

    Cheers
    M.

    Leave a comment:


  • pangarano
    replied
    Originally posted by rocksteady View Post
    Three post up as attachment
    Marco, could you please give me a brief explaining about how autodiscovery works for this template? SAN volumes are not being showing, and no discovery rule is showed in the template. I created the 13 value maps that you suggest but I'm still without changes in the view, just iSCSI and NFS graphs are being showed.
    Definitely I'm doing something wrong but I don't know where is my error, please help



    Last edited by pangarano; 07-04-2016, 17:37.

    Leave a comment:


  • titioutiou
    replied
    SQl script to import Values Mappings

    Hello, here's an sql script to put values mappings for netapp_FAS.xml :


    BEGIN;
    SET @vid = (SELECT MAX(valuemapid) AS id FROM valuemaps);
    SET @mid = (SELECT MAX(mappingid) AS id FROM mappings);
    INSERT INTO `valuemaps`
    (valuemapid,name)
    VALUES
    (@vid+1,'NetAppcfPartnerStatus'),
    (@vid+2,'NetAppCfSetting'),
    (@vid+3,'NetAppCfState'),
    (@vid+4,'NetAppFcpTgtStatus'),
    (@vid+5,'NetAppFsStatus'),
    (@vid+6,'NetAppGlobalStatus'),
    (@vid+7,'NetAppLunOnline'),
    (@vid+8,'NetAppNvramBatteryStatus'),
    (@vid+9,'NetAppOverTemp'),
    (@vid+10,'NetAppRaidStatus'),
    (@vid+11,'NetAppSpareStatus'),
    (@vid+12,'NetAppVolStatus'),
    (@vid+13,'NetAppcfInterconnectStatus');
    INSERT INTO `mappings`
    (mappingid,valuemapid,value,newvalue)
    VALUES
    (@mid+1,@vid+1,'1','maybe down'),
    (@mid+2,@vid+1,'2','ok'),
    (@mid+3,@vid+1,'3','dead'),
    (@mid+4,@vid+2,'1','not configured'),
    (@mid+5,@vid+2,'2','enabled'),
    (@mid+6,@vid+2,'3','disabled'),
    (@mid+7,@vid+2,'4','takeover by partner disabled'),
    (@mid+8,@vid+2,'5','this node dead'),
    (@mid+9,@vid+3,'1','dead'),
    (@mid+10,@vid+3,'2','can takeover'),
    (@mid+11,@vid+3,'3','cannot takeover'),
    (@mid+12,@vid+3,'4','takeover'),
    (@mid+13,@vid+4,'1','startup'),
    (@mid+14,@vid+4,'2','uninitialized'),
    (@mid+15,@vid+4,'3','initializingFW'),
    (@mid+16,@vid+4,'4','linkNotConnected'),
    (@mid+17,@vid+4,'5','waitingForLinkUp'),
    (@mid+18,@vid+4,'6','online'),
    (@mid+19,@vid+4,'7','linkDisconnected'),
    (@mid+20,@vid+4,'8','resetting'),
    (@mid+21,@vid+4,'9','offline'),
    (@mid+22,@vid+4,'10','offliendByUserSystem'),
    (@mid+23,@vid+4,'11','unknown'),
    (@mid+24,@vid+5,'1','ok'),
    (@mid+25,@vid+5,'2','nearlyFull'),
    (@mid+26,@vid+5,'3','Full'),
    (@mid+27,@vid+6,'1','other'),
    (@mid+28,@vid+6,'2','unknown'),
    (@mid+29,@vid+6,'3','ok'),
    (@mid+30,@vid+6,'4','non critical'),
    (@mid+31,@vid+6,'5','critical'),
    (@mid+32,@vid+6,'6','non recoverable'),
    (@mid+33,@vid+7,'1','false'),
    (@mid+34,@vid+7,'2','true'),
    (@mid+35,@vid+8,'1','ok'),
    (@mid+36,@vid+8,'2','partially discharged'),
    (@mid+37,@vid+8,'3','fuuly discharged'),
    (@mid+38,@vid+8,'4','not present'),
    (@mid+39,@vid+8,'5','near end of life'),
    (@mid+40,@vid+8,'6','at end of life'),
    (@mid+41,@vid+8,'7','unknown'),
    (@mid+42,@vid+8,'8','overcharged'),
    (@mid+43,@vid+9,'1','no'),
    (@mid+44,@vid+9,'2','yes'),
    (@mid+45,@vid+10,'1','active'),
    (@mid+46,@vid+10,'2','reconstructionInProgress'),
    (@mid+47,@vid+10,'3','parityReconstructionInProgre ss'),
    (@mid+48,@vid+10,'4','parityVerificationInProgress '),
    (@mid+49,@vid+10,'5','scrubbingInProgress'),
    (@mid+50,@vid+10,'6','failed'),
    (@mid+51,@vid+10,'7','addinSpare'),
    (@mid+52,@vid+10,'8','spare'),
    (@mid+53,@vid+10,'9','prefailed'),
    (@mid+54,@vid+10,'10','offline'),
    (@mid+55,@vid+11,'1','spare'),
    (@mid+56,@vid+11,'2','addingspare'),
    (@mid+57,@vid+11,'3','bypassed'),
    (@mid+58,@vid+11,'4','unknown'),
    (@mid+59,@vid+11,'10','offline'),
    (@mid+60,@vid+12,'1','unmounted'),
    (@mid+61,@vid+12,'2','mounted'),
    (@mid+62,@vid+12,'3','frozen'),
    (@mid+63,@vid+12,'4','destroying'),
    (@mid+64,@vid+12,'5','creating'),
    (@mid+65,@vid+12,'6','mounting'),
    (@mid+66,@vid+12,'7','unmounting'),
    (@mid+67,@vid+12,'8','nofsinfo'),
    (@mid+68,@vid+12,'9','replaying'),
    (@mid+69,@vid+13,'1','not present'),
    (@mid+70,@vid+13,'2','down'),
    (@mid+71,@vid+13,'3','partial failure'),
    (@mid+72,@vid+13,'4','up');
    DELETE FROM ids WHERE table_name='valuemaps' AND field_name='valuemapid';
    DELETE FROM ids WHERE table_name='mappings' AND field_name='mappingid';
    COMMIT;

    Leave a comment:


  • miramira007
    replied
    Hellau together,

    when i create a host with the name "NetApp with Template" i got this error

    ERROR: Cannot add host
    Created: Application "CPU" on "NetApp with Template".
    Created: Application "File Serving" on "NetApp with Template".
    Created: Application "Lun" on "NetApp with Template".
    Created: Application "Quota" on "NetApp with Template".
    Created: Application "System" on "NetApp with Template".
    Created: Application "Volume" on "NetApp with Template".
    Cannot find host interface on "NetApp with Template" for item key "LunId".
    Have someone a idea, why i am getting this error message.

    cu,
    mira

    Leave a comment:


  • miramira007
    replied
    Why this template is not on the official site? Is there any security problems?

    Leave a comment:


  • mpjassal
    replied
    Originally posted by rocksteady View Post
    Here you are again..

    Pls Someone could save into zabbix template ??

    getting this error message..

    Cannot find value map "NetAppcfInterconnectStatus" used for item "Cluster Interconnect status" on "Template NetApp".

    Leave a comment:


  • denisko
    replied
    Thanks, true. I thought this attachment is something else.
    Great job! I tuned up template a little bit for my purpose, but in general it is very good.
    Recommend.

    Leave a comment:


  • rocksteady
    replied
    Originally posted by denisko View Post
    Where is exactly the link to the template specified here? So many good words, and I can't find the download link
    Three post up as attachment

    Leave a comment:


  • denisko
    replied
    Where is exactly the link to the template specified here? So many good words, and I can't find the download link

    Leave a comment:


  • pangarano
    replied
    Originally posted by rocksteady View Post
    Here you are again..

    Pls Someone could save into zabbix template ??
    Thank you!!!

    Leave a comment:


  • rocksteady
    replied
    Here you are again..

    Pls Someone could save into zabbix template ??
    Attached Files

    Leave a comment:


  • pangarano
    replied
    Templete not present

    Originally posted by rocksteady View Post
    Here you are the used value maps and last and (i Hope) fixed template

    NetAppcfInterconnectStatus
    (...)
    NetAppVolStatus
    Thank you for your help rocksteady. Unfortunately I couldn't found the tamplate you mention. Could you please upload it again?

    Leave a comment:


  • rocksteady
    replied
    Hi Bao

    Unfortunately I have no more access to netapp HW so I will not able to develop and test anymore ... anyway I hope open source community go and improve what I've done.

    Answer to your specific question is install all mib from netapp doing a manual walk on that value and discover what is it ;-)


    Cheers
    Marco

    Originally posted by baobamboo View Post
    Hi Marco

    Thank for your work !
    Now i have use this template with FAS 3020 .
    we have some error about the Quotas ,in the discovery rule :Quotas ,
    the quota graph has no data .the .1.3.6.1.4.1.789.1.4.6.1.0 is what mean i have find with the netapp mib ,but can't find the explain ,could you provide me the description for me ?

    thanks
    bao

    Leave a comment:


  • baobamboo
    replied
    about the auotaid and mib

    Originally posted by rocksteady View Post
    Hi Guys

    I post a template to use with zabbix 2.0.0
    It made autodiscover of netapp volumes and luns.

    Have Fun

    Marco
    Hi Marco

    Thank for your work !
    Now i have use this template with FAS 3020 .
    we have some error about the Quotas ,in the discovery rule :Quotas ,
    the quota graph has no data .the .1.3.6.1.4.1.789.1.4.6.1.0 is what mean i have find with the netapp mib ,but can't find the explain ,could you provide me the description for me ?

    thanks
    bao

    Leave a comment:

Announcement

Collapse
No announcement yet.
Working...
X