Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
ctolosat
Posts: 1 Joined: Wed Apr 10, 2019 7:25 am
Post
by ctolosat » Wed Apr 10, 2019 11:10 am
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.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Wed Apr 10, 2019 11:59 am
Assuming check_http is setup with a command like this
Your check_command should be something line this
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 allowed