hewlettpackard / zabbix-plugins-hpeilo Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Heres my expeirence,
OS: Ubuntu 16.04.3 LTS - An LXC container
Nothing else worth mentioning
I built this by downloading the latest source (from github), running ./configure && make && make install
, running checks at each stage.
The links for the .deb (zabbix share website ) dont seem to work for wget (the ubuntu ones atleast)
In the file hpeilo_zabbix_api.py.in
(or once installed just /usr/lib/zabbix/hpeilo_zabbix_api.py
) all occuronces of "updateExisting" should be removed from the params array
Hi!
I don't get this installed on a CentOS 7. configure went through all fine, but make stops with the following output:
make all-recursive
make[1]: Entering directory `/root/zabbix-plugins-hpeilo'
Making all in scripts
make[2]: Entering directory `/root/zabbix-plugins-hpeilo/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/zabbix-plugins-hpeilo/scripts'
Making all in template
make[2]: Entering directory `/root/zabbix-plugins-hpeilo/template'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/zabbix-plugins-hpeilo/template'
Making all in src/ilo_credit
make[2]: Entering directory `/root/zabbix-plugins-hpeilo/src/ilo_credit'
/bin/sh ../../libtool --tag=CC --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -g -O2 -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c -o base64.lo base64.c
mv -f .deps/base64.Tpo .deps/base64.Plo
source='ilo-credit-store.cpp' object='ilo-credit-store.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --tag=CXX --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -c -o ilo-credit-store.lo ilo-credit-store.cpp
/bin/sh ../../libtool --tag=CXX --silent --mode=link g++ -shared -fPIC -ltdb -lssl -lcrypto -o libilocrst.la -rpath /usr/lib/lib base64.lo ilo-credit-store.lo -lnetsnmp
make[2]: Leaving directory `/root/zabbix-plugins-hpeilo/src/ilo_credit'
Making all in src/credit_save
make[2]: Entering directory `/root/zabbix-plugins-hpeilo/src/credit_save'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -g -O2 -MT credit_save.o -MD -MP -MF .deps/credit_save.Tpo -c -o credit_save.o credit_save.c
mv -f .deps/credit_save.Tpo .deps/credit_save.Po
/bin/sh ../../libtool --tag=CC --silent --mode=link gcc -g -O2 -L../../src/ilo_credit/.libs/ -lm -lilocrst -ldl -lcrypto -o credit_save credit_save.o -lnetsnmp
gcc: error: /root/zabbix-plugins-hpeilo/src/ilo_credit/.libs/.libs/libilocrst.so: No such file or directory
make[2]: *** [credit_save] Error 1
make[2]: Leaving directory `/root/zabbix-plugins-hpeilo/src/credit_save'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/zabbix-plugins-hpeilo'
make: *** [all] Error 2
The problematic file "libilocrst.so" has two times "./libs" in it's path, therefore it's not found. In fact, the real path of the file is:
[root@zabbix zabbix-plugins-hpeilo]# find / -name libilocrst.so
/root/zabbix-plugins-hpeilo/src/ilo_credit/.libs/libilocrst.so
Edit: just found out that the found file is a symlink to a file that actually doesn't exist... So the problem might be more that the library didn't get built AND the path is wrong...?
[root@zabbix ~]# cd /root/zabbix-plugins-hpeilo/src/ilo_credit/.libs/
[root@zabbix .libs]# ls -l
total 36
-rw-r--r--. 1 root root 14632 Nov 5 22:55 base64.o
-rw-r--r--. 1 root root 13032 Nov 5 22:55 ilo-credit-store.o
lrwxrwxrwx. 1 root root 16 Nov 5 22:55 libilocrst.la -> ../libilocrst.la
-rw-r--r--. 1 root root 977 Nov 5 22:55 libilocrst.lai
lrwxrwxrwx. 1 root root 19 Nov 5 22:55 libilocrst.so -> libilocrst.so.0.0.0
lrwxrwxrwx. 1 root root 19 Nov 5 22:55 libilocrst.so.0 -> libilocrst.so.0.0.0
Hello,
Has this been tested with Zabbix 3.0? If not, pointers on where to go look if something does not work?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.