Monitoring Atlassian products
Posted: Fri Nov 08, 2019 4:40 am
Hello fellow Nagios people!
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:
And when I change the host address to a different one it gives me:
Right now my define service is like that:
And the commands.cfg file looks like this:
Also tried the follow command in the end and it gave me an error like that:
Also tried it a little different, where it gives me some information, but still displays HTTP WARNING and on Nagios webpage its just empty:

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.
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.