Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82379 - Nagios version 2 - Request Working Ebuild
Summary: Nagios version 2 - Request Working Ebuild
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-17 10:23 UTC by Josiah Ritchie (flickerfly)
Modified: 2005-02-24 05:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josiah Ritchie (flickerfly) 2005-02-17 10:23:20 UTC
Nagios 2 is out and I see that there is an ebuild in development. This is more a showing of interest and humble request for a status report. 

I tried setting up nagios 2 in package.keywords and have not been able to get it to emerge. I'd like to test it out and see what conversions mess I'm in for.

Thanks for you hard work guys. I'm looking forward to the new features.

Reproducible: Always
Steps to Reproduce:
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-02-17 12:42:43 UTC
place it in package.unmask along with whatever other dependancies require to be unmasked (I think just an apache version).

When apache gets unmasked this will get unmasked too.
Comment 2 Josiah Ritchie (flickerfly) 2005-02-17 14:36:55 UTC
Thank you for your time.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2005-02-24 02:15:35 UTC
The only way its going to get in better shape is if people test it. Sorry I'm a little too caught up with other bugs to rigorously test things.

Please test it and see what you can find wrong (if anything).
Comment 4 Josiah Ritchie (flickerfly) 2005-02-24 04:50:46 UTC
Here is the config that is needed for testing this ebuild. The option of apache2 is available. It probably is easier without it.

In portage.keywords I needed:
net-analyzer/nagios ~x86
net-analyzer/nagios-plugins ~x86
net-analyzer/nagios-core ~x86

# for Apache2 for Nagios
net-www/apache ~x86
dev-libs/apr ~x86
net-www/gentoo-webroot-default ~x86
dev-libs/apr-util ~x86

In portage.unmask

net-analyzer/nagios
net-analyzer/nagios-plugins
net-analyzer/nagios-core
# for Apache2 for Nagios
net-www/apache
dev-libs/apr
net-www/gentoo-webroot-default
dev-libs/apr-util

########################################################################

I'm about to emerge this: (preserved here for dev reference)

Calculating dependencies ...done!
[ebuild  N    ] net-www/gentoo-webroot-default-0.1  -no-htdocs 13 kB
[ebuild  N    ] dev-libs/apr-0.9.5  -debug +ipv6 997 kB
[ebuild  N    ] dev-libs/apr-util-0.9.5  +berkdb +gdbm +ldap 703 kB
[ebuild     U ] net-www/apache-2.0.52-r3 [2.0.52-r1] +apache2* -doc +ldap -mpm-leader -mpm-metux -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker -no-suexec +ssl -static-modules -threads 5,127 kB
[ebuild  N    ] mail-client/mailx-support-20030215  8 kB
[ebuild  N    ] net-libs/liblockfile-1.03-r1  30 kB
[ebuild  N    ] mail-client/mailx-8.1.2.20040524-r1  -debug 126 kB
[ebuild  N    ] net-analyzer/nagios-core-2.0b_p1  +apache2 -debug -noweb +perl 1,654 kB
[ebuild  N    ] net-analyzer/nagios-imagepack-1.0  1,610 kB
[ebuild  N    ] games-util/qstat-2.6  130 kB
[ebuild  N    ] net-dns/bind-tools-9.2.3-r1  -debug +ipv6 4,446 kB
[ebuild  N    ] net-analyzer/nagios-plugins-1.4  +ipv6 +ldap +mysql +nagios-dns +nagios-game +nagios-ntp +nagios-ping +nagios-ssh -postgres +samba +snmp +ssl -ups 950 kB
[ebuild  N    ] net-analyzer/nagios-nsca-2.4  53 kB
[ebuild  N    ] net-analyzer/nagios-nrpe-2.0  +ssl 50 kB
[ebuild  N    ] net-analyzer/nagios-2.0b_p1  0 kB

I'll report back when I have something...
Comment 5 Josiah Ritchie (flickerfly) 2005-02-24 04:54:05 UTC
Didn't take long... 

>>> emerge (1 of 15) net-www/gentoo-webroot-default-0.1 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/gentoo-webroot-default-0.1.tar.bz2
--07:47:02--  http://distfiles.gentoo.org/distfiles/gentoo-webroot-default-0.1.tar.bz2
           => `/usr/portage/distfiles/gentoo-webroot-default-0.1.tar.bz2'
Resolving distfiles.gentoo.org... 156.56.247.195, 216.165.129.135, 140.211.166.134
Connecting to distfiles.gentoo.org[156.56.247.195]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 75,930 [application/x-tar]

100%[=================================================================================================>] 75,930       175.59K/s

07:47:03 (175.05 KB/s) - `/usr/portage/distfiles/gentoo-webroot-default-0.1.tar.bz2' saved [75930/75930]


!!! Digest verification Failed:
!!!    /usr/portage/distfiles/gentoo-webroot-default-0.1.tar.bz2
!!! Reason: Filesize does not match recorded size

resolved by running 'ebuild /usr/portage/net-www/gentoo-webroot-default/gentoo-webroot-default-0.1.ebuild digest'
Comment 6 Josiah Ritchie (flickerfly) 2005-02-24 05:41:36 UTC
chown: `nagios:nagios': invalid user

!!! ERROR: net-analyzer/nagios-core-2.0b_p1 failed.

I manually added user and group nagios and got through the install for that ebuild. Then I got through to net-analyzer/nagios-plugins-1.4 where I received this error that I don't know how to deal with.

if i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap -Iyes/include  -O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -MT check_radius.o -MD -MP -MF ".deps/check_radius.Tpo" -c -o check_radius.o check_radius.c; \
then mv -f ".deps/check_radius.Tpo" ".deps/check_radius.Po"; else rm -f ".deps/check_radius.Tpo"; exit 1; fi
check_radius.c: In function `main':
check_radius.c:126: error: too few arguments to function `rc_avpair_add'
check_radius.c:127: error: too few arguments to function `rc_avpair_add'
check_radius.c:128: error: too few arguments to function `rc_avpair_add'
check_radius.c:129: error: too few arguments to function `rc_avpair_add'
check_radius.c:139: error: too few arguments to function `rc_avpair_add'
check_radius.c:145: error: too few arguments to function `rc_send_server'
make[2]: *** [check_radius.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/nagios-plugins-1.4/work/nagios-plugins-1.4/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/nagios-plugins-1.4/work/nagios-plugins-1.4'
make: *** [all] Error 2

!!! ERROR: net-analyzer/nagios-plugins-1.4 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.