This is installed ...
(sudo apt-get install libjson-perl => libjson-perl is already the newest version.)
Ad Widget
Collapse
HP P2000 G3 monitoring (Zabbix 2.0)
Collapse
X
-
I'm getting the above when the sensor item runs. Weird thing is that when I run the script from the shell it works perfectly - even the disk health sensors.Code:Could not open file /var/tmp/zabbix/zabbixSenderHP[removed by me]_22091 at /usr/share/zabbix/externalscripts/hp-msa.pl line 165.
Any ideas on what might be going wrong?
I thought it might be permissions on the /var/tmp/zabbix folder, but everything is allowed. I thought it might be the Agentd timeout on processing, so set that to 10 seconds. No dice.Leave a comment:
-
That error rings a bell with me. You installed the JSON components?Hello
Thx for making this template for the HP P2000.
I have a bit of a problem installing this template.
I'm still getting the "Can't use string ("status") as a HASH ref while "strict refs" in use at /etc/zabbix/externalscripts/hp-msa.pl line 60" error.
i tried to install the IO::Socker::SSL but is was already installed.
Anyone else got this issue?
Ubuntu 14.04
Zabbix 2.4.4
Perl 5.18.2Leave a comment:
-
Hash
Hello
Thx for making this template for the HP P2000.
I have a bit of a problem installing this template.
I'm still getting the "Can't use string ("status") as a HASH ref while "strict refs" in use at /etc/zabbix/externalscripts/hp-msa.pl line 60" error.
i tried to install the IO::Socker::SSL but is was already installed.
Anyone else got this issue?
Ubuntu 14.04
Zabbix 2.4.4
Perl 5.18.2Leave a comment:
-
I tried removing theHello, Crispytown!
Unfourtunatly, your solution didn't take effect for me. I still have "0", when I run script. And if I try start manually Zabbix_sender:
I have the same error:PHP Code:zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -i /var/tmp/zabbixSenderHPP2000_pmt-p2000.pmt.loc_30085
PHP Code:info from server: "processed: 0; failed: 55; total: 55; seconds spent: 0.001006"
sent: 55; skipped: 0; total: 55
variable from the following line, and now it works albeit the individual disk health sensors don't workCode:$type
line 88 (sub getZabbixValues)
Was looking at how the Zabbix-Sender works, and I think thatCode:$outputString .= "$hostname hp.p2000.stats[$type,$key,$itemKey] $colHash->{$key}->{$itemKey}\n";variable throws it off.Code:$type
Leave a comment:
-
Hello, Crispytown!I had the same issues with the files being created but not importing the data.
What I did to get it to work was make sure in the configuration for the host... that the "Host Name" is the spelled the same as the Agent interfaces "DNS Name". See Capture.jpgCode:info from server: "processed: 0; failed: 55; total: 55; seconds spent: 0.000757" sent: 55; skipped: 0; total: 55
Unfourtunatly, your solution didn't take effect for me. I still have "0", when I run script. And if I try start manually Zabbix_sender:
I have the same error:PHP Code:zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -i /var/tmp/zabbixSenderHPP2000_pmt-p2000.pmt.loc_30085
PHP Code:info from server: "processed: 0; failed: 55; total: 55; seconds spent: 0.001006"
sent: 55; skipped: 0; total: 55
Leave a comment:
-
I have set HP p2000 g3 iSCSI storage monitoring. In two weeks Access to the storage via http https got lost.controller restart works to help. There are a lot of people in the Internet with the same problem but no solution. Has anyone experienced the same problem? Should I update firmware? Current version TS220R004.Leave a comment:
-
I gave it a shot but I still just get a value of 0.I had the same issues with the files being created but not importing the data.
What I did to get it to work was make sure in the configuration for the host... that the "Host Name" is the spelled the same as the Agent interfaces "DNS Name". See Capture.jpgCode:info from server: "processed: 0; failed: 55; total: 55; seconds spent: 0.000757" sent: 55; skipped: 0; total: 55
Leave a comment:
-
I had the same issues with the files being created but not importing the data.
What I did to get it to work was make sure in the configuration for the host... that the "Host Name" is the spelled the same as the Agent interfaces "DNS Name". See Capture.jpgCode:info from server: "processed: 0; failed: 55; total: 55; seconds spent: 0.000757" sent: 55; skipped: 0; total: 55
Leave a comment:
-
I am running into the same issue.
[root@zabbix externalscripts]# ./hp-msa.pl cloudst1a stats
0
I can also comment out.
die "Can not remove file $sendFile!" unless(unlink ($sendFile));
Then I end up with a /var/tmp/zabbixSenderHPP2000_cloudst1a_3719 which has good info. Just not sure what the issue is.Leave a comment:
-
stats results 0
Hello all!
My system is:
• OS: Ubuntu 14.04
• Zabbix Server 2.4.3
• Zabbix-Sender 2.4.3
• Zabbig-Get 2.4.3
When I run pl-script with key “stats”, it returns result “0”.
When I comment stringand run pl-script again, I see file zabbixSenderHPP2000_%hostname%_ in folder /var/tmp and this file contains data.PHP Code:die "Can not remove file $sendFile!" unless(unlink ($sendFile));
When I try manually use zabbix-sender like this:I have these results:PHP Code:zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -i /var/tmp/zabbixSenderHPP2000_%hostname%_
It log files in zabbix server I have no errors about P2000 items.PHP Code:info from server: "processed: 0; failed: 55; total: 55; seconds spent: 0.000757"
sent: 55; skipped: 0; total: 55
Whan can it be?
Thank you!
P.S. Sorry for my bad English.Leave a comment:
-
Hp msa 2000 g2
Just a note:
to get authenthicated on MSA G2 arrays (2312, 2324, etc.) you need add a cookie to request:
and there is no performance data in G2 arrays API.$req->header('Cookie' => "wbiusername=$USERNAME; wbisessionkey=$sessionKey" );
Leave a comment:
-
from log>> timeout while executing a shell
HP P2000 MSM SAS:hp-msa.pl["{HOST.CONN}","lld"]" became not supported: timeout while executing a shell script
HP P2000 MSM SAS:hp-msa.pl["{HOST.CONN}"]" changed: time-out while executing a shell script
I though something wrong with {HOST.X} part, thus replaced this part with IP address, still no luck.
Any help?
Thanks
Env.
Zabbix 2.2.6
CentOS release 6.5 (Final)
####
Update
Timeout were sorted out by increasing timeout value to 30 in the zabbix config file. Though, I still can see some timeouts.
But all my graphs are empty!
On emore thing, I can't see file /var/tmp/zabbixSender* being created!Leave a comment:
-
Import problem
Hello
When I imported template to zabbix 2.2 , 7 application folder was created , but only one item. As I saw on one screen, there have to be lot of paarameters (and according XML too). Is there any problem with importing 2.0 template to 2.2 zabbix.Leave a comment:
-
Hi,
Thanks for your script, i tried it today and it works fine except i have some trouble with controllers and enclosure status.
I can see the items so that means discovery is ok but no data for those, the others items like disk, speed etc.. are ok. I have no errors from zabbix server logs, no timeout, i am monitoring two differents enclosure with two differents firmware and same for both.
Thanks for your help.Leave a comment:
Leave a comment: