Announcement

Collapse
No announcement yet.

Template for HP MSA 2040 (external check)

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

    #61
    Run script without speedyCGI

    Without speedyCGI change:
    #!/usr/bin/speedy

    to:
    #!/usr/bin/perl

    Comment


      #62
      Hi

      I downloaded the "2016-03-03 09:12' modified" version

      Use the default https method to display:
      [[email protected] yuhung]# perl /usr/lib/zabbix/externalscripts/hp-msa.pl 192.168.50.204 Zabbix s8CQ78NZjjsFLni lld
      File does not exist: Can't connect to 192.168.50.204:443

      at /usr/lib/zabbix/externalscripts/hp-msa.pl line 109.


      Change all the https to http in the script, which is displayed as

      [[email protected] yuhung]# perl /usr/lib/zabbix/externalscripts/hp-msa.pl 192.168.50.204 Zabbix s8CQ78NZjjsFLni lld
      Use of uninitialized value $ARGV[4] in string eq at /usr/lib/zabbix/externalscripts/hp-msa.pl line 121.
      Use of uninitialized value $ARGV[4] in string eq at /usr/lib/zabbix/externalscripts/hp-msa.pl line 124.
      Use of uninitialized value $ARGV[4] in string eq at /usr/lib/zabbix/externalscripts/hp-msa.pl line 127.
      Use of uninitialized value $ARGV[4] in string eq at /usr/lib/zabbix/externalscripts/hp-msa.pl line 130.
      Use of uninitialized value $ARGV[4] in string eq at /usr/lib/zabbix/externalscripts/hp-msa.pl line 133.

      Comment

      Working...
      X