[Opsview-users] Installation experience
Brought to you by:
alexatopsview,
tonvoon
From: Alain W. <ad...@ph...> - 2007-06-18 11:13:54
|
Hi, I'm new to opsview, it was recommended to me by a friend after he heard that I was playing with nagios. Points as I come across them (take/leave them as you wish): 1) 1/2 way through downloading the RPMs & some bloke from actiny 'phones me up. I don't want to be hassled - I put 'no spam' as my 'phone number -- I guess marketing directors can't take hints. 2) I did have nagios installed (Fedora core 6, x86_64), I had to uninstall it (+ a couple of others), renamed /etc/nagios first. 3) Installed : rpm -ivh * Got a message complaining about /usr/local/nagios/bin/nrpe not being found when it tried to run service opsview-agent, it was being a bit eager. 4) 'service opsview-agent' does not take a 'restart' argument - would be nice. 5) /usr/local/nagios/bin/nrpe - won't load -- it expects to find libssl.so.4 -- I have libssl.so.6, back to the source! I am using fedora core 6. 6) Hmmm, which one first: try base. 7) Need to install libmcrypt. 8) It didn't build nsca ... didn't notice the error in the zillions of lines of make; clean; rebuild under script. - OK installs. 9) Need to install buildtools before can do the core stuff. BTW: buildtools.tar.gz is not gzipped. 10) There is a distinct lack of README or INSTALL files ... even if it just pointed to where it was on some web pages. I follow the following since that is prob closest to a FC6 system: http://docs.opsview.org/doku.php?id=opsview2.7:rhel-installation There is much farting around on dependencies. 11) Web page recommends to disable iptables !!!! 12) The command: /usr/local/nagios/bin/rc.opsview gen_config complains that it cannot chown /usr/local/nagios/bin/nagconfgen.pl line 2425 Which is not surprising since I am running as the user 'nagios'. A quick poke and I do this group ownerships by hand, .... several times .... BUT these directory names have spaces in them -- what have you been smoking guys ? -- Microsoft weed by the looks of things !!! 13) I am supposed to run the following, but the script does not exist: /etc/init.d/opsview-web start (BTW: if you want to do it the RedHat way you should use chkconfig & service). 14) I was told that opsview was a better nagios ... it could be, but nagios has much better documentation. 15) Run 'make test' in opsview-core & it can't find Opsview.pm .... your @INC is wrong. 'make install' doesn't seem to fix this. There is one in /usr/local/nagios/lib ... but there is evidentally a missing 'lib' or '-I'. 16) I notice that there are 2 different versions of Opsview.pm, one from Dec 2005 the other April 2007. installer/lib & lib 17) Notice that Opsview.pm comes with opsview-core: run 'make install' again. No good, copy up by hand. Now it can't find ClassDBIExtras.pm Then I need Catalyst::Plugin::I18N Catalyst::Plugin::Snippets Catalyst::Plugin::Cache::FastMmap - then fails because Catalyst::View::JSON is not 'use'd. This would not get past the CPAN beta testers! 18) But anyway it can't find/read opsview.conf, so copy this into the the directory it needs it to be in ... 19) Then it fails not being able to locate Opsview/{Host.pm|Servicegroup.pm| ...} I doubt that this has ever been tested on a new machine. 20) Try a make install see if this works .... doesn't seem to do much. 21) I can't run it -- see (13), will someone please send me a copy. Summary impression so far: 3/10 -- Alain Williams Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php #include <std_disclaimer.h> |