[Nagiosplug-help] Plugin Installion Problems

Scott Lindars slindars at swcp.com
Wed Feb 5 07:10:04 CET 2003


I am attempting to load the plugins for Nagios.  
After I do: ./configure, I have been running make all, make install
and make all   make test.  The output below is from a make all, make
test sequence.  It hangs on the check_udp and I end up having to kill
that process.
 
The first run of Make TEST gave me the option to enter input (hostname,
etc) but I cannot recreate it.
 
?   Where is the intended destination dir of this install?
/usr/local/nagios?
?   Any signs of problems?
 
I was thinking about running is with the     -i, --ignore-errors
Ignore errors from commands option.
 
Thanks for your help.
 
[root at DEVTOOLS nagios-plugins-200211131100]# make all
Making all in plugins
make[1]: Entering directory
`/Idrive/Software/Naigos/nagios-plugins-200211131100/plugins'
Makefile:930: warning: overriding commands for target `check_ftp'
Makefile:698: warning: ignoring old commands for target `check_ftp'
Makefile:930: warning: overriding commands for target `check_imap'
Makefile:702: warning: ignoring old commands for target `check_imap'
Makefile:930: warning: overriding commands for target `check_nntp'
Makefile:706: warning: ignoring old commands for target `check_nntp'
Makefile:930: warning: overriding commands for target `check_pop'
Makefile:710: warning: ignoring old commands for target `check_pop'
ln -sf check_tcp check_ftp
ln: creating symbolic link `check_ftp' to `check_tcp': Operation not
permitted
make[1]: *** [check_ftp] Error 1
make[1]: Leaving directory
`/Idrive/Software/Naigos/nagios-plugins-200211131100/plugins'
make: *** [all-recursive] Error 1
 
 
[root at DEVTOOLS nagios-plugins-200211131100]# make test
cd plugins; make test
make[1]: Entering directory
`/Idrive/Software/Naigos/nagios-plugins-200211131100/plugins'
Makefile:930: warning: overriding commands for target `check_ftp'
Makefile:698: warning: ignoring old commands for target `check_ftp'
Makefile:930: warning: overriding commands for target `check_imap'
Makefile:702: warning: ignoring old commands for target `check_imap'
Makefile:930: warning: overriding commands for target `check_nntp'
Makefile:706: warning: ignoring old commands for target `check_nntp'
Makefile:930: warning: overriding commands for target `check_pop'
Makefile:710: warning: ignoring old commands for target `check_pop'
perl -I .. -I .. ../test.pl
No binary found for check_dns
No binary found for check_fping
No binary found for check_ftp
No binary found for check_hpjd
No binary found for check_imap
No binary found for check_mysql
No binary found for check_pop
No binary found for check_snmp
No binary found for check_swap
./t/check_disk.....ok
./t/check_http.....NOK 1# Test 1 got: '3' (./t/check_http.t at line 15)
#   Expected: '0'
./t/check_http.....NOK 2# Test 2 got: 'check_http: you must specify a
host name
Usage:
 check_http (-H <vhost> | -I <IP-address>) [-u <uri>] [-p <port>]
            [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L]
            [-a auth] [-f <ok | warn | critcal | follow>] [-e <expect>]
            [-s string] [-r <regex> | -R <case-insensitive regex>]
            [-P string]
 check_http (-h | --help) for detailed help
 check_http (-V | --version) for version information
' (./t/check_http.t at line 16)
#   Expected: qr{HTTP\/1.1 [0-9]{3} (OK|Found) - [0-9]+ second response
time}
./t/check_http.....NOK 3# Test 3 got: '3' (./t/check_http.t at line 19)
#   Expected: '2'
./t/check_http.....dubious
        Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 1-3
        Failed 3/3 tests, 0.00% okay
./t/check_load.....ok
./t/check_ping.....NOK 5# Test 5 got: '3' (./t/check_ping.t at line 29)
#   Expected: '2'
./t/check_ping.....dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
        Failed 1/5 tests, 80.00% okay
./t/check_procs....ok
./t/check_smtp.....ok
./t/check_tcp......NOK 2# Test 2 got: 'TCP OK -   0.000 second response
time on port 80|time=  0.000
' (./t/check_tcp.t at line 19)
#   Expected: qr{^TCP OK - [0-9]+ second response time on port 80}
./t/check_tcp......dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
        Failed 1/3 tests, 66.67% okay
./t/check_time.....# Test 1 got: '3' (./t/check_time.t at line 21)
#   Expected: '0'
# Test 2 got: 'Invalid host name/address
Usage:
 check_time -H <host_address> [-p port] [-w variance] [-c variance]
           [-W connect_time] [-C connect_time] [-t timeout]
 check_time (-h | --help) for detailed help
 check_time (-V | --version) for version information
' (./t/check_time.t at line 23)
#   Expected: qr{^TIME OK - [0-9]+ second time difference$}
./t/check_time.....NOK 2# Test 3 got: '3' (./t/check_time.t at line 27)
#   Expected: '0'
# Test 4 got: 'Invalid host name/address
Usage:
 check_time -H <host_address> [-p port] [-w variance] [-c variance]
           [-W connect_time] [-C connect_time] [-t timeout]
 check_time (-h | --help) for detailed help
 check_time (-V | --version) for version information
' (./t/check_time.t at line 29)
#   Expected: qr{^TIME OK - [0-9]+ second time difference$}
./t/check_time.....NOK 4# Test 5 got: '3' (./t/check_time.t at line 35)
#   Expected: '0'
# Test 6 got: 'Host name was not supplied
Usage:
 check_time -H <host_address> [-p port] [-w variance] [-c variance]
           [-W connect_time] [-C connect_time] [-t timeout]
 check_time (-h | --help) for detailed help
 check_time (-V | --version) for version information
' (./t/check_time.t at line 37)
#   Expected: qr{^TIME OK - [0-9]+ second time difference$}
./t/check_time.....dubious
        Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 1-6
        Failed 6/6 tests, 0.00% okay
./t/check_udp......# Test 2 got: '' (./t/check_udp.t at line 18)
#   Expected: qr{^Connection accepted on port 37 - [0-9]+ second
response time$}
./t/check_udp......NOK 2# Test 3 got: '0' (./t/check_udp.t at line 21)
#   Expected: '2'
./t/check_udp......dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-3
        Failed 2/3 tests, 33.33% okay
./t/check_users....ok
./t/check_vsz......ok 2/4# Test 3 got: '0' (./t/check_vsz.t at line 23)
#   Expected: '2'
# Test 4 got: '' (./t/check_vsz.t at line 25)
#   Expected: qr{^CRITICAL \(VSZ\>[0-9]+\)}
./t/check_vsz......dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 3-4
        Failed 2/4 tests, 50.00% okay
Failed Test      Stat Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------
-------
./t/check_http.t    3   768     3    3 100.00%  1-3
./t/check_ping.t    1   256     5    1  20.00%  5
./t/check_tcp.t     1   256     3    1  33.33%  2
./t/check_time.t    6  1536     6    6 100.00%  1-6
./t/check_udp.t     2   512     3    2  66.67%  2-3
./t/check_vsz.t     2   512     4    2  50.00%  3-4
Failed 6/11 test scripts, 45.45% okay. 15/51 subtests failed, 70.59%
okay.
make[1]: *** [test] Error 2
make[1]: Leaving directory
`/Idrive/Software/Naigos/nagios-plugins-200211131100/plugins'
make: *** [test] Error 2
[root at DEVTOOLS nagios-plugins-200211131100]#
 
 
Scott L Lindars
Navimedix, Inc.
IS Systems Engineer
slindars at navimedix.com
slindars at ampmed.com
V: (505) 982-6775 x30
C: (505) 695-0243 
 
 
 
 
Scott L Lindars
Navimedix, Inc.
IS Systems Engineer
slindars at navimedix.com
slindars at ampmed.com
V: (505) 982-6775 x30
C: (505) 695-0243 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20030205/5406899c/attachment.html>


More information about the Help mailing list