Hello
Please you helpme:
How is it configuration for check full URL in nagios core 4.4.2, for example:
example with error: CRITICAL - Socket timeout
define service{
use servicio-appconvenio ; Name of service template to use
host_name app-paginawebs
service_description Web: Ficha Proteccion Social https://pagina.web.cl/idea/views/users/login.php
is_volatile 0
check_period 24x7
max_check_attempts 60
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_interval 240
notification_period 24x7
notification_options c,r
check_command check_ping!100.0,20%!500.0,60%
check_command check_http! -H pagina.web.cl -u https://pagina.web.cl/idea/views/users/login.php
}
Thank
Carola T.
Check full URL Nagios Core
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check full URL Nagios Core
Assuming check_http is setup with a command like this
Your check_command should be something line this
Code: Select all
$USER1$/check_http $ARG1$
Code: Select all
check_command check_http! -H pagina.web.cl -u '/idea/views/users/login.php' -S -f follow
I also noted you have 2 check commands specified which would not be allowedctolosat wrote:check_command check_ping!100.0,20%!500.0,60%
check_command check_http! -H pagina.web.cl -u https://pagina.web.cl/idea/views/users/login.php