Tommel
Fortgeschrittener
![]()
Beiträge: 171
Geschlecht: Männlich
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0
Verteiltes Monitoring: Ja
Redundantes Monitoring: Ja
Anzahl-Hosts: 1+
Anzahl Services: 1+
Betriebssystem(e): OpenSuSE 11.1
Plugin-Version(en): 1.4.13
NagVis-Version: 1.5
Sonstige Addon's: PNP
auf OpenSuSE 11.4, allerdings bekomme ich beim Aufruf von Thruk immer den "Internal Server Error 500".
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 |
Assertion ((svtype)((_svi)->sv_flags & 0xff)) >= SVt_RV failed: file "Util.xs", line 40 at /omd/sites/test/lib/perl5/lib/perl5/Package/DeprecationManager.pm line 18. BEGIN failed--compilation aborted at /omd/sites/test/lib/perl5/lib/perl5/i586-linux-thread-multi/Moose/Deprecated.pm line 22. Compilation failed in require at /omd/sites/test/lib/perl5/lib/perl5/i586-linux-thread-multi/Moose.pm line 14. BEGIN failed--compilation aborted at /omd/sites/test/lib/perl5/lib/perl5/i586-linux-thread-multi/Moose.pm line 14. Compilation failed in require at /omd/sites/test/lib/perl5/lib/perl5/Catalyst/ScriptRunner.pm line 2. BEGIN failed--compilation aborted at /omd/sites/test/lib/perl5/lib/perl5/Catalyst/ScriptRunner.pm line 2. Compilation failed in require at /omd/sites/test/share/thruk/script/thruk_fastcgi.pl line 19. BEGIN failed--compilation aborted at /omd/sites/test/share/thruk/script/thruk_fastcgi.pl line 19. [Fri Jun 24 14:02:54 2011] [warn] [client 127.0.0.1] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://IP/test/omd/ [Fri Jun 24 14:02:54 2011] [error] [client 127.0.0.1] Premature end of script headers: fcgid_env.sh, referer: http://IP/test/omd/ |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
cd /usr/local
wget http://search.cpan.org/CPAN/authors/id/A/AP/APEIRON/local-lib-1.004009.tar.gz
tar zxf local-lib-1.004009.tar.gz
cd local-lib-1.004009
perl Makefile.PL --bootstrap && make install
cd ~
touch .profile
vi .profile
eval $(perl -I/root/perl5/lib/perl5 -Mlocal::lib)
Ausloggen und Neu einloggen!
cpan
yes
no
no
http://www.perl.org/CPAN/
o conf connect_to_internet_ok yes
o conf commit
exit
touch cpan.sh
vi cpan.sh
#!/bin/bash
perl -MCPAN -e "install CPAN"
perl -MCPAN -e "install YAML"
perl -MCPAN -e "install Params::Validate"
perl -MCPAN -e "install Math::Calc::Units"
perl -MCPAN -e "install Class::Accessor::Fast"
perl -MCPAN -e "install Config::Tiny"
perl -MCPAN -e "install Net::SNMP"
perl -MCPAN -e "install Config::General"
perl -MCPAN -e "install Scalar::Util"
perl -MCPAN -e "install JSON::XS"
perl -MCPAN -e "install Algorithm::C3"
perl -MCPAN -e "install Catalyst::Engine::FastCGI"
perl -MCPAN -e "install Catalyst::Log::Log4perl"
perl -MCPAN -e "install Catalyst::Plugin::Authentication"
perl -MCPAN -e "install Catalyst::Plugin::Authorization::Roles"
perl -MCPAN -e "install Catalyst::Plugin::Cache"
perl -MCPAN -e "install Catalyst::Plugin::Compress::Gzip"
perl -MCPAN -e "install Catalyst::Plugin::CustomErrorMessage"
perl -MCPAN -e "install Catalyst::Plugin::Redirect"
perl -MCPAN -e "install Catalyst::Plugin::StackTrace"
perl -MCPAN -e "install Catalyst::Plugin::Unicode::Encoding"
perl -MCPAN -e "install Catalyst::View::GD"
perl -MCPAN -e "install Catalyst::View::JSON"
perl -MCPAN -e "install Catalyst::View::TT"
perl -MCPAN -e "install Class::C3"
perl -MCPAN -e "install Data::Page"
perl -MCPAN -e "install Date::Calc"
perl -MCPAN -e "install Date::Manip"
perl -MCPAN -e "install FCGI"
perl -MCPAN -e "install FCGI::ProcManager"
perl -MCPAN -e "install FCGI::ProcManager::MaxRequests"
perl -MCPAN -e "install File::Slurp"
perl -MCPAN -e "install GD"
perl -MCPAN -e "install HTML::Entities"
perl -MCPAN -e "install LWP"
perl -MCPAN -e "install Log::Dispatch::File"
perl -MCPAN -e "install Monitoring::Availability"
perl -MCPAN -e "install Monitoring::Livestatus"
perl -MCPAN -e "install Thread::Queue"
perl -MCPAN -e "install YAML::Tiny"
perl -MCPAN -e "install parent"
perl -MCPAN -e "install Catalyst::Plugin::Compress::Gzip"
perl -MCPAN -e "install Monitoring::Livestatus::Class"
perl -MCPAN -e "install Excel::Template"
perl -MCPAN -e "install Catalyst::View::Excel::Template::Plus"
perl -MCPAN -e "install Catalyst::Plugin::Cache"
perl -MCPAN -e "install Module::Find"
perl -MCPAN -e "install Module::Install::Catalyst"
chmod +x cpan.sh
./cpan.sh
Bei diesen Abfragen unbedingt mit yes antworten:
Do you want to build the XS Stash module? [y]
Do you want to use the XS Stash by default? [y]
rm –rf cpan.sh
cd /usr/local/
git clone http://github.com/sni/Thruk.git
cd Thruk
perl Makefile.PL
no
make
cp thruk.conf thruk_local.conf
vi thruk_local.conf
peers einfügen, zum Beispiel:
|
Beiträge: 651
Geschlecht: Männlich
Wohnort: München
Anzahl Nagios-Server: viele
Nagios-Version(en): 2.* / 3
Verteiltes Monitoring: Ja
Redundantes Monitoring: Ja
Anzahl-Hosts: viele
Anzahl Services: viele
Betriebssystem(e): viele
Plugin-Version(en): 1.4.11
Sonstige Addon's: Thruk, ModGearman
2
24.06.2011, 14:25
Tommel
Fortgeschrittener
![]()
Beiträge: 171
Geschlecht: Männlich
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0
Verteiltes Monitoring: Ja
Redundantes Monitoring: Ja
Anzahl-Hosts: 1+
Anzahl Services: 1+
Betriebssystem(e): OpenSuSE 11.1
Plugin-Version(en): 1.4.13
NagVis-Version: 1.5
Sonstige Addon's: PNP
3
27.06.2011, 15:57

Beiträge: 651
Geschlecht: Männlich
Wohnort: München
Anzahl Nagios-Server: viele
Nagios-Version(en): 2.* / 3
Verteiltes Monitoring: Ja
Redundantes Monitoring: Ja
Anzahl-Hosts: viele
Anzahl Services: viele
Betriebssystem(e): viele
Plugin-Version(en): 1.4.11
Sonstige Addon's: Thruk, ModGearman
4
27.06.2011, 16:03