I am currently building services on my Nagios Core 4.4.3 and since we would like to monitor Atlassian products (Jira, Bitbucket, Confluence and Bamboo) is here anyone out here who has some experience with that? Right now Im building check_http service for our Jira server, but it returns with an error:
Code: Select all
connect to address [IP] and port 80: No route to host
Code: Select all
140467010549680:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:794:
Code: Select all
define service {
service_description Jira_http
use generic-service
check_command check_http_url!http://address1.address2/jira -s --expect=200 -p 8080
host_name Jira
notification_interval 0
notification_period 24x7
notifications_enabled 1
flap_detection_enabled 1
register 1
}
Code: Select all
define command{
command_name check_http_url
command_line $USER1$/check_http -H $HOSTADDRESS$ -U $ARG1$
}
Code: Select all
connect to address [IP] and port 443: No route to host
HTTP CRITICAL - Unable to open TCP socket
[root@nagios libexec]# ./check_http -I [IP] -u https://address/Dashboard.jspa -S -f follow
Code: Select all
root@nagios libexec]# ./check_http -H [IP] -p 8080 -f follow
HTTP WARNING: HTTP/1.1 404 - 92 bytes in 0,002 second response time |time=0,001526s;;;0,000000 size=92B;;;0
Side note: If I changed check_command line on define service by adding $ARG1$ in the end it just show that states are flapping on nagios webpage.
Thank you all for your help and advice,
All the best,
Kukkurloom.