help on compiling nagios plugins from CVS repository

Arnar Thorarinsson art at caa.is
Wed Sep 1 17:36:42 CEST 2004


Hello
I'm setting up nagios with mysql and performance data for use with
PerfParse.
To get PerfParse working I need the lastest plugins that support
performance data ( in the rigth format for PerfParse ).

So I got the latest CVS snapshot but when I try to compile then I get
some errors.


./configure --prefix=/usr/local/nagios --with-nagios-user=nagios
--with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin
...
make
...snip...
make[2]: Leaving directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/plugins-scripts'
Making all in po
make[2]: Entering directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/po'
/usr/bin/msgmerge --update fr.po nagios-plugins.pot
/usr/bin/msgmerge: error while opening "fr.po" for reading: No such file
or directory
make[2]: *** [fr.po] Error 1
make[2]: Leaving directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447'
make: *** [all] Error 2
...
ok I found the fr.po and de.po files in a earlier release of the plugins
( 1.4.0alpha )
do make again:
...snip...
make[2]: Leaving directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/plugins-scripts'
Making all in po
make[2]: Entering directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/po'
rm -f fr.gmo && /usr/bin/msgfmt -c --statistics -o fr.gmo fr.po
1 translated message, 11 fuzzy translations, 577 untranslated messages.
rm -f de.gmo && /usr/bin/msgfmt -c --statistics -o de.gmo de.po
/usr/bin/msgfmt: de.po: warning: PO file header fuzzy
                        warning: older versions of msgfmt will give an
error on this
0 translated messages, 589 untranslated messages.
make[2]: Leaving directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/po'
make[2]: Entering directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447'
make[2]: Leaving directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447'
make[1]: Leaving directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447'
...
ok some warnings here but then I try running make check and all 20
checks fail with :
[nagios at black148 nagios-plugins-HEAD-200409010447]$ make check
Making check in intl
make[1]: Entering directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/intl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/intl'
Making check in lib
make[1]: Entering directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/lib'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/lib'
Making check in plugins
make[1]: Entering directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/plugins'
make  check-TESTS
make[2]: Entering directory
`/home/nagios/Installation/PlugIns/nagios-plugins-HEAD-200409010447/plugins'
1..6
# Running under perl version 5.008 for linux
# Current time local: Wed Sep  1 15:33:44 2004
# Current time GMT:   Wed Sep  1 15:33:44 2004
# Using Test.pm version 1.23
ok 1
ok 2
not ok 3
# Test 3 got: '3' (./t/check_disk.t at line 20)
#   Expected: '0'
#  ./t/check_disk.t line 20 is: $t += ok $?>>8,0;
Test was: ./check_disk -w 0 -c 0 /
not ok 4
# Test 4 got: 'INPUT ERROR: No thresholds specified for /
Could not parse arguments
Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout]
[-m] [-e]
        [-v] [-q]
       check_disk (-h|--help)
       check_disk (-V|--version)
' (./t/check_disk.t at line 22)
#   Expected: qr{^(Disk ok - +[\.0-9]+|DISK OK - )}
#  ./t/check_disk.t line 22 is: $t += ok $str, '/^(Disk ok -
+\.0-9+|DISK OK - )/';
ok 5
ok 6
FAIL: t/check_disk.t
Can't locate Cache.pm in @INC (@INC contains: .. ..
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at
./t/check_dns.t line 4.
BEGIN failed--compilation aborted at ./t/check_dns.t line 4.
....snip... and some more of the same.


can anybody help me ! plz ! I have no idea whats going on here.


-- 
Kveðja
Arnar Þórarinsson

Tölvunarfræðingur
Kerfisdeild
Sími : 569 4289
GSM  : 861 2871
----------------------
Flugmálastjórn Íslands
Reykjavíkurflugvöllur
121 Reykjavík
http://www.caa.is
----------------------



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list