Ad Widget

Collapse

HP P2000 G3 monitoring (Zabbix 2.0)

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • nexta
    replied
    Hi,
    1) Hostname checked
    2) LLD works

    in var/temp file exist and data in file present
    But in latest data I see Sensor and 0
    what should be checked in this case?

    Leave a comment:


  • Inoyat.Kayumov
    replied
    Originally posted by dima_dm
    1) Chek Hostname (case sensitive) MSA P2000 in zabbix server and in file zabbixSenderHPP2000_HOSTNAME_15863. Add MSA P2000 in /etc/hosts with correct name.
    2) Check that the LLD works, and this items (from file zabbixSenderHPP2000_HOSTNAME_15863) exists in zabbix.
    1) Hostname checked
    2) LLD works

    zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -i /var/tmp/zabbixSenderHPP2000_p2000.ilo.domino_7046 -vv
    zabbix_sender [7222]: DEBUG: answer [{"response":"success","info":"processed: 0; failed: 59; total: 59; seconds spent: 0.000823"}]
    info from server: "processed: 0; failed: 59; total: 59; seconds spent: 0.000823"

    what else need to check?

    Leave a comment:


  • arul_prasad82
    replied
    Emir Imamagic,

    I am getting output when I run the command in CLI.
    ./hp-msa.pl <IP ADDRESS> lld vdisk

    {
    "data" : [
    {
    "{#HP_P2000_TYPE}" : "Controller",
    "{#HP_P2000_ID}" : "controller_a"
    },
    {
    "{#HP_P2000_TYPE}" : "Controller",
    "{#HP_P2000_ID}" : "controller_b"
    },
    {
    "{#HP_P2000_TYPE}" : "Vdisk",
    "{#HP_P2000_ID}" : "vd07"
    },
    {
    "{#HP_P2000_TYPE}" : "Vdisk",
    "{#HP_P2000_ID}" : "vddldr"
    },
    {
    "{#HP_P2000_TYPE}" : "Vdisk",
    "{#HP_P2000_ID}" : "vd04"
    },
    {
    "{#HP_P2000_TYPE}" : "Vdisk",
    "{#HP_P2000_ID}" : "vd08"
    },
    ]
    }


    Not geeting output in Zabbix, found below error in log file, please guide me on this.

    End of lld_rows_get():FAIL

    Thanks

    Leave a comment:


  • cardinal83
    replied
    Hi, Drevonovic.

    I use Zabbix3.0.1 and i have same error. I check username/password and its correct (i copy hp-msa.pl from other instance zabbix (v2.4.7), where this scripts is work). From command line this script also work. Not work only from zabbix.
    Something I'm doing wrong / missing ?

    UPD: problem solved by change {HOST.DNS1} to {HOST.DNS}.
    Last edited by cardinal83; 14-04-2016, 16:42.

    Leave a comment:


  • Drevonovic
    replied
    Originally posted by Drevonovic
    I don't like to bump or spam forum posts, but this is getting rather urgent and I'm not making any progress at all.
    Made progress. Username and password were wrong in the script (shame :$ )

    Leave a comment:


  • Drevonovic
    replied
    I don't like to bump or spam forum posts, but this is getting rather urgent and I'm not making any progress at all.

    Leave a comment:


  • Drevonovic
    replied
    Originally posted by Drevonovic
    Hi everybody

    I'm really new with this Zabbix thing and not the biggest hero with Debian either, but can someone like explain me how to configure all of this?

    I'm trying to get this monitoring thing going on our P2000 G3, but I'm stuck. Is this template for SNMP Traps or SNMPv2 Agent? How do I install and use this template properly to monitor disk status? Do I have to change something in my .conf files to get this going or is just importing the template with the script enough?

    Again my apologies for asking such a trivial question, but I'd really appreciate the help since I'm looking for some proper guidance for days now.

    Appreciated!
    Ignore this post. I managed to get the script going. Only I'm getting the same error over and over again which makes the item go unsupported

    Code:
    [File does not exist: Can't connect to {HOST.DNS1}:80 (Bad hostname)LWP::Protocol::http::Socket: Bad hostname '{HOST.DNS1}' at /usr/share/perl5/LWP/Protocol/http.pm line 51. at /usr/lib/zabbix/externalscripts/hp-msa.pl line 122
    My host has both an IP and a DNS name, which are correct. Zabbix connects to the DNS-name and I'm using the agent interface.

    Something I'm doing wrong / missing ?

    Leave a comment:


  • Drevonovic
    replied
    Hi everybody

    I'm really new with this Zabbix thing and not the biggest hero with Debian either, but can someone like explain me how to configure all of this?

    I'm trying to get this monitoring thing going on our P2000 G3, but I'm stuck. Is this template for SNMP Traps or SNMPv2 Agent? How do I install and use this template properly to monitor disk status? Do I have to change something in my .conf files to get this going or is just importing the template with the script enough?

    Again my apologies for asking such a trivial question, but I'd really appreciate the help since I'm looking for some proper guidance for days now.

    Appreciated!

    Leave a comment:


  • varnav
    replied
    Hello!

    We've adapted this script for MSA 2040.

    Please see:

    The Zabbix Team has collected all official Zabbix monitoring templates and integrations.

    Leave a comment:


  • davidking
    replied
    both new scripts not working

    original one never get working, always return 0. Tried using both new scripts, but gets the following error when manually run hp-msa.pl hostname stats:

    Pseudo-hashes are deprecated at ./hp-msa.pl.1 line 63.
    Argument "\x{72}\x{65}..." isn't numeric in hash element at ./hp-msa.pl.1 line 63.
    Bad index while coercing array into hash at ./hp-msa.pl.1 line 63.

    any idea?

    Leave a comment:


  • dima_dm
    replied
    1) Chek Hostname (case sensitive) MSA P2000 in zabbix server and in file zabbixSenderHPP2000_HOSTNAME_15863. Add MSA P2000 in /etc/hosts with correct name.
    2) Check that the LLD works, and this items (from file zabbixSenderHPP2000_HOSTNAME_15863) exists in zabbix.

    Leave a comment:


  • VBochkov
    replied
    Originally posted by Bladman
    I have this issue:

    /etc/zabbix/externalscripts# zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -i /tmp/zabbixSenderHPP2000_HOSTNAME_15863 -vv
    zabbix_sender [15953]: DEBUG: answer [{"response":"success","info":"processed: 0; failed: 115; total: 115; seconds spent: 0.001361"}]
    info from server: "processed: 0; failed: 115; total: 115; seconds spent: 0.001361"

    Could someone help me out?
    I have the ServerActive directive in my agentd.conf.
    I have just the same issue!
    Any ideas?
    Last edited by VBochkov; 07-09-2015, 10:09.

    Leave a comment:


  • Bladman
    replied
    I have this issue:

    /etc/zabbix/externalscripts# zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -i /tmp/zabbixSenderHPP2000_HOSTNAME_15863 -vv
    zabbix_sender [15953]: DEBUG: answer [{"response":"success","info":"processed: 0; failed: 115; total: 115; seconds spent: 0.001361"}]
    info from server: "processed: 0; failed: 115; total: 115; seconds spent: 0.001361"

    Could someone help me out?
    I have the ServerActive directive in my agentd.conf.

    Leave a comment:


  • Ordnas
    replied
    The name or service not known

    Hello

    thanks for this Template. About i have a Problem.
    when I run the script:
    ./hp-msa.pl STORAGE01LAN1 stats

    come following:

    File does not exist: Can't connect to STORAGE01LAN1:443

    Der Name oder der Dienst ist nicht bekannt at /usr/share/perl5/LWP/Protocol/http.pm line 49.
    at ./hp-msa.pl line 122.

    Ping and NSLookup is ok. Missing a Libery?

    Leave a comment:


  • DataPro
    replied
    syntax error

    Hi! Does anyone know how to fix it:

    syntax error at line 1, column 0, byte 0 at /usr/lib64/perl5/XML/Parser.pm line 187

    Running CentOS 6.3 x86_64

    Leave a comment:

Working...