GithubHelp home page GithubHelp logo

hewlettpackard / zabbix-plugins-hpeilo Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 5.0 635 KB

License: GNU General Public License v3.0

Makefile 12.22% Shell 76.49% M4 0.94% Python 2.42% C 7.18% C++ 0.74%

zabbix-plugins-hpeilo's People

Contributors

yyu12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zabbix-plugins-hpeilo's Issues

Installing with zabbix 3.4.3

Heres my expeirence,

Enviroment

OS: Ubuntu 16.04.3 LTS - An LXC container

Nothing else worth mentioning

Building

I built this by downloading the latest source (from github), running ./configure && make && make install, running checks at each stage.

Problems

  1. The links for the .deb (zabbix share website ) dont seem to work for wget (the ubuntu ones atleast)

  2. 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

    Despite it being mentioned as a valid key in the documentation here it seems to reject that parameter

wrong path to libilocrst.so during make

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

Zabbix 3.0?

Hello,
Has this been tested with Zabbix 3.0? If not, pointers on where to go look if something does not work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.