(Return code of 127 is out of bounds - plugin may bemissing)

Cardiff - ML ml at cardiff.fr
Wed Nov 22 19:19:17 CET 2006


>[snip]
>check_nrpe does not exist in the location you're telling Nagios to run it
from.

Thks for your quick response...

Here is on main server list of /usr/local/nagios/libexec :
[root at mars lib]# ls -ali /usr/local/nagios/libexec
total 4900
200952 drwxrwxrwx  2 root   root      4096 nov 22 16:15 .
200656 drwxrwxrwx  8 nagios nagios    4096 jun 15  2005 ..
202878 -rwxr-xr-x  1 root   root    224109 nov 20 19:18 check_apt
200990 -rwxr-xr-x  1 root   root      2265 nov 20 19:18 check_breeze
200976 -rwxr-xr-x  1 root   root     61619 nov 20 19:18 check_by_ssh
202915 lrwxrwxrwx  1 root   root         9 nov 20 19:18 check_clamd ->
check_tcp
200946 -r-sr-x---  1 root   root     61478 nov 20 19:18 check_dhcp
200978 -rwxr-xr-x  1 root   root     58725 nov 20 19:18 check_dig
200947 -rwxr-xr-x  1 root   root     79871 nov 20 19:18 check_disk
200991 -rwxr-xr-x  1 root   root      8168 nov 20 19:18 check_disk_smb
200975 -rwxr-xr-x  1 root   root     63852 nov 20 19:18 check_dns
200953 -rwxr-xr-x  1 root   root     33487 nov 20 19:18 check_dummy
201003 -rwxr-xr-x  1 root   root      3233 nov 20 19:18 check_file_age
200992 -rwxr-xr-x  1 root   root      6400 nov 20 19:18 check_flexlm
200980 lrwxrwxrwx  1 root   root         9 nov 20 19:18 check_ftp ->
check_tcp
200954 -rwxr-xr-x  1 root   root    289240 nov 20 19:18 check_http
200971 -r-sr-x---  1 root   root     70939 nov 20 19:18 check_icmp
201001 -rwxr-xr-x  1 root   root     15292 nov 20 19:18 check_ifoperstatus
201000 -rwxr-xr-x  1 root   root     12858 nov 20 19:18 check_ifstatus
200981 lrwxrwxrwx  1 root   root         9 nov 20 19:18 check_imap ->
check_tcp
200993 -rwxr-xr-x  1 root   root      7437 nov 20 19:18 check_ircd
200955 -rwxr-xr-x  1 root   root     46912 nov 20 19:18 check_load
200994 -rwxr-xr-x  1 root   root      6043 nov 20 19:18 check_log
201002 -rwxr-xr-x  1 root   root     20369 nov 20 19:18 check_mailq
200956 -rwxr-xr-x  1 root   root     43224 nov 20 19:18 check_mrtg
200957 -rwxr-xr-x  1 root   root     41904 nov 20 19:18 check_mrtgtraf
200972 -rwxr-xr-x  1 root   root   1063904 nov 20 19:18 check_mysql
202914 -rwxr-xr-x  1 root   root   1060417 nov 20 19:18 check_mysql_query
200974 -rwxr-xr-x  1 root   root     49443 nov 20 19:18 check_nagios
200982 lrwxrwxrwx  1 root   root         9 nov 20 19:18 check_nntp ->
check_tcp
200988 lrwxrwxrwx  1 root   root         9 nov 20 19:18 check_nntps ->
check_tcp
201022 -rwxr-xr-x  1 root   root     54932 nov 22 10:17 check_nrpe
200979 -rwxr-xr-x  1 root   root     63407 nov 20 19:18 check_nt
200995 -rwxr-xr-x  1 root   root     64457 nov 20 19:18 check_ntp
200958 -rwxr-xr-x  1 root   root     83989 nov 20 19:18 check_nwstat
200996 -rwxr-xr-x  1 root   root      8325 nov 20 19:18 check_oracle
200959 -rwxr-xr-x  1 root   root     53931 nov 20 19:18 check_overcr
200960 -rwxr-xr-x  1 root   root     66861 nov 20 19:18 check_ping
200983 lrwxrwxrwx  1 root   root         9 nov 20 19:18 check_pop ->
check_tcp
200973 -rwxr-xr-x  1 root   root     64414 nov 20 19:18 check_procs
200961 -rwxr-xr-x  1 root   root     51533 nov 20 19:18 check_real
200997 -rwxr-xr-x  1 root   root      9712 nov 20 19:18 check_rpc
200998 -rwxr-xr-x  1 root   root      1176 nov 20 19:18 check_sensors
200985 lrwxrwxrwx  1 root   root         9 nov 20 19:18 check_simap ->
check_tcp
200962 -rwxr-xr-x  1 root   root    261293 nov 20 19:18 check_smtp
200986 lrwxrwxrwx  1 root   root         9 nov 20 19:18 check_spop ->
check_tcp
200963 -rwxr-xr-x  1 root   root     48117 nov 20 19:18 check_ssh
202916 lrwxrwxrwx  1 root   root         9 nov 20 19:18 check_ssmtp ->
check_tcp
200977 -rwxr-xr-x  1 root   root     51171 nov 20 19:18 check_swap
200964 -rwxr-xr-x  1 root   root     87063 nov 20 19:18 check_tcp
200965 -rwxr-xr-x  1 root   root     51640 nov 20 19:18 check_time
200966 lrwxrwxrwx  1 root   root         9 nov 20 19:18 check_udp ->
check_tcp
200984 lrwxrwxrwx  1 root   root         9 jun 16  2005 check_udp2 ->
check_tcp
200967 -rwxr-xr-x  1 root   root     59081 nov 20 19:18 check_ups
200968 -rwxr-xr-x  1 root   root     46026 nov 20 19:18 check_users
200999 -rwxr-xr-x  1 root   root      3024 nov 20 19:18 check_wave
200969 -rwxr-xr-x  1 root   root     46426 nov 20 19:18 negate
200970 -rwxr-xr-x  1 root   root     45739 nov 20 19:18 urlize
201005 -rwxr-xr-x  1 root   root      2037 nov 20 19:18 utils.pm
201004 -rwxr-xr-x  1 root   root       860 nov 20 19:18 utils.sh

You'll notice it is available in correct location, with same rights other
plugins have...

Having doubts i've double checked local execution of nrpe plugin ...

I get something i've not checked yet in mailing lists : 
[root at mars lib]# /usr/local/nagios/libexec/check
-c check_local_load
CHECK_NRPE: Socket timeout after 10 seconds.

Can this explain error message that the web interface gives me ???


So here comes second question ...
What is this socket error due to ???
(Note : I'll try find information on this error on ML)

T. de Lassat



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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