And now ready to start the Installing The Plugins section
Here are the results after the command make check
Making check in intl
make[1]: Entering directory `/tmp/nagios/nagios-plugins-1.4/intl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/tmp/nagios/nagios-plugins-1.4/intl'
Making check in lib
make[1]: Entering directory `/tmp/nagios/nagios-plugins-1.4/lib'
make check-am
make[2]: Entering directory `/tmp/nagios/nagios-plugins-1.4/lib'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/tmp/nagios/nagios-plugins-1.4/lib'
make[1]: Leaving directory `/tmp/nagios/nagios-plugins-1.4/lib'
Making check in plugins
make[1]: Entering directory `/tmp/nagios/nagios-plugins-1.4/plugins'
make check-TESTS
make[2]: Entering directory `/tmp/nagios/nagios-plugins-1.4/plugins'
1..6
# Running under perl version 5.008005 for linux
# Current time local: Tue Feb 8 18:31:28 2005
# Current time GMT: Tue Feb 8 18:31:28 2005
# Using Test.pm version 1.25
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
PASS: t/check_disk.t
FAIL: t/check_dns.t
FAIL: t/check_fping.t
FAIL: t/check_ftp.t
FAIL: t/check_hpjd.t
FAIL: t/check_http.t
FAIL: t/check_imap.t
1..4
# Running under perl version 5.008005 for linux
# Current time local: Tue Feb 8 18:31:28 2005
# Current time GMT: Tue Feb 8 18:31:28 2005
# Using Test.pm version 1.25
ok 1
ok 2
ok 3
ok 4
PASS: t/check_load.t
FAIL: t/check_mysql.t
FAIL: t/check_ping.t
FAIL: t/check_pop.t
FAIL: t/check_procs.t
FAIL: t/check_smtp.t
FAIL: t/check_snmp.t
FAIL: t/check_swap.t
FAIL: t/check_tcp.t
FAIL: t/check_time.t
FAIL: t/check_udp.t
FAIL: t/check_users.t
FAIL: t/check_vsz.t
=====================
18 of 20 tests failed
=====================
make[2]: Leaving directory `/tmp/nagios/nagios-plugins-1.4/plugins'
make[1]: Leaving directory `/tmp/nagios/nagios-plugins-1.4/plugins'
Here are the results after the command make install
Making install in po
make[1]: Entering directory `/tmp/nagios/nagios-plugins-1.4/po'
rm -f fr.gmo && : -c --statistics -o fr.gmo fr.po
mv: cannot stat `t-fr.gmo': No such file or directory
make[1]: *** [fr.gmo] Error 1
make[1]: Leaving directory `/tmp/nagios/nagios-plugins-1.4/po'
make: *** [install-recursive] Error 1
I have been trying for 2 days now to find out what the problem is.
I’m running this on Linux SuSE 9.2 : Kernel 2.6.8-24.11
Appreciate any help on this. I’m new to Linux and proud to have gone this far as a newbie
Your solution using the zero length file sounds like a mistake. I’m not a programmer and since you are a linuz newbie, you may want to start over with “make clean”.
I too ran make check and get tons of errors, so I’m not confident that the check even works. I ran make install and it completes ok. So I suggest you run ./configure again after you run make clean, and look closely at what configure complains about.
same here… make check gives errors but make install works fine and the programs are ok… almost…
I’m missing check_snmp for which i don’t even see the object file in the plugins directory. Am i missing some readme file?
Cagen, I don’t think you should dwell on the “make check” errors. As luca said, make install seems to work just fine, and the ~/libexec/ directory seems to have all the plugins he needs. If any are missing, it’s due to not have the lib’s on the machine you compiled the plugins on. i.e. mysql, snmp, etc.
Do you still need my .cfg files since it appears you have made it past installing nagios and have moved on to plugins?
From reading the thread, it appears that there where a few problems he had. Some where not having the libraries installed, the starting one, was the make check command, which none of us get working. But apparently, it doesn’t matter much since the make install works, the plugins work, etc.