version: '2'
services:
    nagios:
        image: banjocat/nagios:4.2.4
        build: .
        ports:
            - "9000:80"
        environment:
            host_0: "use=linux-server;host_name=www.jackmuratore.com;alias=jack;address=www.jackmuratore.com"
            host_1: "use=linux-server;host_name=balancely;address=www.balance.ly"
            command_0: "command_name=check_app;command_line=nmap -p 80 localhost"



version: '2'
services:
    nagios:
        image: banjocat/nagios:4.2.4
        build: .
        ports:
            - "9000:80"
        environment:
            host_0: "use=linux-server;host_name=www.jackmuratore.com;alias=jack;address=www.jackmuratore.com"
            host_1: "use=linux-server;host_name=www.tivix.com;address=www.tivix.com"
            service_0: "use=generic-service;host_name=www.tivix.com;service_description=HTTP;check_command=check_http;notifications_enabled=0"
            service_1: "use=generic-service;host_name=www.jackmuratore.com;service_description=HTTP;check_command=check_http;notifications_enabled=0"





Add http request example in nagios
Add http request example in nagios
