You are here

How do I... install opsview agent on ppc64 machine?

6 posts / 0 new
Last post
Grunf
giulio_1's picture
How do I... install opsview agent on ppc64 machine?

Hi everybody,
i'm a novice about Opsview, but need to install the agent on production machine running RHEL7 on IBM ppc64.

Someone have experience or already performed on it ?
I didn't found an ready build rpm for these architetture, so a tried to simulate the steps on a x86-64 VM machine from the rmp source.
Starting following the docs <strong>http://docs.opsview.com/doku.php?id=opsview-core:rhel-agent
and download by svn co http://svn.opsview.org/opsview/trunk opsview
After install all dipendences and fix the code somewhere to parsing italian language,
still have another stop when processing <strong>/root/rpmbuild/BUILD/opsview-agent-4.5.4.476/Makefile

sudo rpmbuild --define "distribution ct7" --clean -ta opsview-agent-*.tar.gz
Esecuzione(%prep) in corso: /bin/sh -e /var/tmp/rpm-tmp.CDWkr3
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf opsview-agent-4.5.4.476
+ /usr/bin/gzip -dc /root/svnroot/opsview/opsview-agent-4.5.4.476.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd opsview-agent-4.5.4.476
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Esecuzione(%build) in corso: /bin/sh -e /var/tmp/rpm-tmp.b6Q1U6
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd opsview-agent-4.5.4.476
+ make agent
Makefile:422: *** ZENHOME is not set. Stop.

listing the Makefile

418 PYTHON := $(shell which python)
419 export ZENHOME := $(subst /bin/python,,${PYTHON})
420 ${WMI}:
421 ifndef ZENHOME
422 $(error ZENHOME is not set)

I'm not able to recognize where the problem is..
why variable ZENHOME do not assume the correct value?

Hopefully someones can kindly help me.
Thanks

Duncan Ferguson
dferguson's picture
Do you have python installed

Do you have python installed on your server?  The makefile requires python to be installed to allow the agent to be built for the WMI checks

  Duncs

Grunf
giulio_1's picture
Python is still there..

thanks Duncs,
I'm test it on a on a x86-64 VM machine to simulate all sta steps before install the agent on production ppc64 machine...

root@localhost ~]# which python
/usr/bin/python
[root@localhost ~]# yum list installed | grep python
dbus-python.x86_64 1.1.1-9.el7
libselinux-python.x86_64 2.2.2-6.el7
newt-python.x86_64 0.52.15-4.el7
python.x86_64 2.7.5-34.el7
python-configobj.noarch 4.7.2-7.el7
python-decorator.noarch 3.4.0-3.el7
python-iniparse.noarch 0.4-9.el7
python-javapackages.noarch 3.4.1-11.el7
python-libs.x86_64 2.7.5-34.el7
python-lxml.x86_64 3.2.1-4.el7
python-perf.x86_64 3.10.0-327.10.1.el7
python-pycurl.x86_64 7.19.0-17.el7
python-pyudev.noarch 0.15-7.el7_2.1
python-slip.noarch 0.4.0-2.el7
python-slip-dbus.noarch 0.4.0-2.el7
python-urlgrabber.noarch 3.10-7.el7
rpm-python.x86_64 4.11.3-17.el7

PS:

why can see my last reply on this topic?

Grunf
giulio_1's picture
... sure..

Thank for reply, dferguson
Python is a prerogative to install..

[root@localhost ~]# which python
/usr/bin/python

[root@localhost ~]# yum list installed | grep python
dbus-python.x86_64 1.1.1-9.el7
libselinux-python.x86_64 2.2.2-6.el7
newt-python.x86_64 0.52.15-4.el7
python.x86_64 2.7.5-34.el7
python-configobj.noarch 4.7.2-7.el7
python-decorator.noarch 3.4.0-3.el7
python-iniparse.noarch 0.4-9.el7
python-javapackages.noarch 3.4.1-11.el7
python-libs.x86_64 2.7.5-34.el7
python-lxml.x86_64 3.2.1-4.el7
python-perf.x86_64 3.10.0-327.10.1.el7
python-pycurl.x86_64 7.19.0-17.el7
python-pyudev.noarch 0.15-7.el7_2.1
python-slip.noarch 0.4.0-2.el7
python-slip-dbus.noarch 0.4.0-2.el7
python-urlgrabber.noarch 3.10-7.el7
rpm-python.x86_64 4.11.3-17.el7

seem that won't process the 'subst' command on line 419 in /root/rpmbuild/BUILD/opsview-agent-4.5.4.476/Makefile...

so, don't know how to process ... :-(

Grunf
giulio_1's picture
Can't see my post or my reply non forum topic, ..sorry about...

sorry Duncs,
but i'm not able to review your reply too..
and don't know if you read mine ...

Grunf
giulio_1's picture
can't read my reply on topi.. sorry about..

sorry Duncs,
but i'm not able to review your reply too..
and don't know if you read mine ...