Closed vcfff closed 3 years ago
You don't need to install it seperatly, it is included in the rpm. https://github.com/openiomon/hds2graphite/releases/tag/v0.3.4
my bad, i not read it well, installation instruction, may you please advice which other packages and versions to install for this remaining parts?
go-carbon and graphite-api are our standard environment. Go-carbon RPMs are available on GitHub, graphite-api RPMs are in epel repo as far as I remember. Use latest versions.
Hello,
Many thanks for this tools.
I got the same problem on a CentOS Linux release 7.8.2003 (Core)
I can't install the Systemd/Daemon.pm =which need with the rpm hds2graphite-0.3-4.x86_64.rpm
[root@vm-grafana tmp]# rpm -Uvh hds2graphite-0.3-4.x86_64.rpm Preparing... ################################# [100%] package hds2graphite-0.3-4.x86_64 is already installed
[root@vm-grafana tmp]# /usr/bin/perl /opt/hds2graphite/bin/hds2graphite-worker.pl -conf /opt/hds2graphite/conf/hds2graphite.conf -storagesystem 11128 -hours 1 -daemon Can't locate Systemd/Daemon.pm in @INC (@INC contains: /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/hds2graphite/bin/hds2graphite-worker.pl line 30. BEGIN failed--compilation aborted at /opt/hds2graphite/bin/hds2graphite-worker.pl line 30.
So i tried to install with with CPAN:
[root@vm-grafana hds2graphite]# cpan Systemd::Daemon CPAN: Storable loaded ok (v2.45) Reading '/root/.cpan/Metadata' Database was generated on Fri, 09 Oct 2020 02:17:03 GMT Running install for module 'Systemd::Daemon' Running make for V/VD/VDB/Systemd-Daemon-0.07.tar.gz CPAN: Digest::SHA loaded ok (v5.85) CPAN: Compress::Zlib loaded ok (v2.061) Checksum for /root/.cpan/sources/authors/id/V/VD/VDB/Systemd-Daemon-0.07.tar.gz ok CPAN: File::Temp loaded ok (v0.2301) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.120921) CPAN: Module::CoreList loaded ok (v2.76_02)
CPAN.pm: Building V/VD/VDB/Systemd-Daemon-0.07.tar.gz
Can't link/include C library 'systemd', aborting. No 'Makefile' createdCPAN: YAML loaded ok (v0.84) VDB/Systemd-Daemon-0.07.tar.gz /usr/bin/perl Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install [root@vm-grafana hds2graphite]#
Many thanks for help.
Br,
As stated before, the module is included in the rpm. The way it is linked you can‘t call the worker directly without adding the lib subdirectory to your Perl path. Just call the hds2graphite.pl to start it.
it's ok many thanks :perl -i /opt/hds2graphite/lib/perl5/ /opt/hds2graphite/bin/hds2graphite -conf /opt/hds2graphite/conf/hds2graphite.conf -storagesystem 11128
I have an another question please, it is possible to import/copy the the final output "the out directory" directly in this tools without use the local collect process ?
in fact bypass this process: 2020/10/09 10:00:03 [INFO] (/opt/hds2graphite/bin/hds2graphite-worker.pl:1092) main::raidcomlogin > Logging in with raidcom on instance #11 with user CCI_USERNAME 2020/10/09 10:00:05 [DEBUG] (/opt/hds2graphite/bin/hds2graphite-worker.pl:1054) main::execccicmd > CCI Command Fork for command /opt/hds2graphite/cci/HORCM/usr/bin/raidcom -login CCI_USERNAME CCI_PASSWORD -I11 with PID 32116 ended successful with returncode 255
Many thanks,
Br,
Sorry I don‘t understand what you are trying to achieve. The CCI login is to get configuration information from the storage system. The information is held in memory.
i would like to use this tool in offline mode, without connexion with any SVP. It's possible to import configuration and export tool result data from outside?
Hi, since the export tool is missing some information (e.g. pool data) it is necessary to have a connection to the SVP via IP or a FC command device to use RAIDCOM to query LDEV, Pool, HSD infos etc... So using it "Offline" is currently not possible.
yes of course i understand But perhaps, it's possible to import these raidcom commands in a folder?
i'm not a big devlope in perl, but maybe i will try to develop this offline mode if you are ok? but i need litlle bit your help :)
It would be necessary to write some sort of RAIDCOM emulator that reads the output of the original RAIDCOM command and return this to hds2graphite...
information provided
Hi i am unable to install any of "Systemd::Daemon" on cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.6 (Maipo) any idea with this?