Connection refused or timed out

Mad Unix madunix at gmail.com
Wed Jan 2 10:06:50 CET 2008


I have the foloowing error now on all item

CHECK_NRPE: Error - Could not complete SSL handshake


from the server I issued

[root at linux2 etc]# telnet 10.5.1.31 5666
Trying 10.5.1.31...
Connected to 10.5.1.31 (10.5.1.31).
Escape character is '^]'.
Connection closed by foreign host.


On Jan 2, 2008 10:45 AM, Mad Unix <madunix at gmail.com> wrote:
> the nagios shows
>
> Current Users
>  CRITICAL 01-02-2008 11:35:13 0d 0h 47m 47s 4/4 Connection refused or
> timed out
>  PING
>
>  CRITICAL 01-02-2008 11:36:20 0d 0h 46m 40s 4/4 Connection refused or
> timed out
>  Root Partition
>
>  CRITICAL 01-02-2008 11:37:27 0d 0h 45m 33s 4/4 Connection refused or
> timed out
>  Total Processes
>
>  CRITICAL 01-02-2008 11:30:04 0d 0h 44m 27s 4/4 Connection refused or
> timed out
>
>
> on the monitor server i made this:
> define host{
>         use                     generic-host            ; Name of host
> template to use
>         host_name               linux1
>         alias                   linux1
>         address                 10.5.1.31
>         check_command           check-host-alive
>         max_check_attempts      10
>         check_period            24x7
>         notification_interval   120
>         notification_period     24x7
>         notification_options    d,r
>         contact_groups  admins
>         }
>
>
>
> define service{
>         use                             generic-service         ; Name
> of service template to use
>         host_name                       linux1
>         service_description             PING
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              4
>         normal_check_interval           5
>         retry_check_interval            1
>         contact_groups                  admins
>         notification_options            w,u,c,r
>         notification_interval           960
>         notification_period             24x7
>         check_command
> check_nrpe!check_ping!100.0,20%!500.0,60%
>         }
>
> define service{
>         use                             generic-service         ; Name
> of service template to use
>         host_name                       linux1
>         service_description             Root Partition
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              4
>         normal_check_interval           5
>         retry_check_interval            1
>         contact_groups                  admins
>         notification_options            w,u,c,r
>         notification_interval           960
>         notification_period             24x7
>         check_command                   check_nrpe!check_local_disk!20%!10%!/
>         }
>
> define service{
>         use                             generic-service         ; Name
> of service template to use
>         host_name                       linux1
>         service_description             Current Users
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              4
>         normal_check_interval           5
>         retry_check_interval            1
>         contact_groups                  admins
>         notification_options            w,u,c,r
>         notification_interval           960
>         notification_period             24x7
>         check_command                   check_nrpe!check_local_users!20!50
>         }
>
> define service{
>         use                             generic-service         ; Name
> of service template to use
>         host_name                       linux1
>         service_description             Total Processes
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              4
>         normal_check_interval           5
>         retry_check_interval            1
>         contact_groups                  admins
>         notification_options            w,u,c,r
>         notification_interval           960
>         notification_period             24x7
>         check_command                   check_nrpe!check_local_procs!100!125
>         }
>
>
>
>
> on the remote client agent i did this
>
> [root at linux1 nagiosinstall]# netstat -at | grep nrpe
> tcp        0      0 *:nrpe                      *:*
>      LISTEN
> [root at linux1 nagiosinstall]# ps -ef | grep nrpe
> nagios   17326     1  0 10:56 ?        00:00:00 /usr/local/nagios/nrpe
> -c /usr/local/nagios/nrpe.cfg -d
> root     17447 16952  0 11:38 pts/1    00:00:00 grep nrpe
>
>
>
>
> --
> madunix
>



-- 
madunix

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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