<commit_before>/*
	ping_interval: in seconds
	retry_in: minutes. If the site is no back up, keeps trying in the last value
	
	Both ping_interval and retry_in array can be defined at host or url level.
*/
var one_minute = 1

exports.hosts = 
	[
		{
			name:'VitaminasDev', 
			host: 'www.vitaminasdev.com', 
			port:80,
			ping_interval: one_minute * 5, //seconds
			retry_in: [10,30,120], //minutes
			urls : [
				{
					method: 'get', 
					url : '/', 
					expected: {statuscode: 200, contains: 'noticias'} ,
				},
				{
					method: 'get', 
					url : '/Home/Contacto', 
					expected: {statuscode: 200, contains: 'encantados'},
					ping_interval:200, //overwrite ping and retry intervals for this url
					retry_in: [10,20,30]
				}
			]
		}
		,	
		{
			name:'iloire.com', 
			host: 'www.iloire.com', 
			port:80, 
			ping_interval: one_minute * 5,
			retry_in: [10,30,120],
			urls : [
				{
					method: 'get', 
					url : '/', 
					expected: {statuscode: 200, contains: 'vitaminas'} 
				},
				{
					method: 'get', 
					url : '/en', 
					expected: {statuscode: 200, contains: 'Freelance'} 
				},
			]
		}
		,
		{
			name:'ASP Photo Gallery', 
			host: 'www.aspphotogallery.net', 
			port:80, 
			ping_interval: one_minute * 5,
			retry_in: [10,30,120],
			urls : [
				{
					method: 'get', 
					url : '/', 
					expected: {statuscode: 200, contains: 'fast and responsive'}
				},
				{
					method: 'get', 
					url : '/mvcphotogallery', 
					expected: {statuscode: 200, contains: 'Knockout'}
				},
				{
					method: 'get', 
					url : '/demomvc', 
					expected: {statuscode: 200, contains: 'Simple, sexy, FAST, ASP.NET MVC photo gallery'}
				}
			]
		}
		,
		{
			name:'CachiruloValley', 
			host: 'www.cachirulovalley.com', 
			port:80, 
			ping_interval: one_minute * 5,
			retry_in: [10,30,120],
			urls : [
				{<commit_msg>Added configurable email recipient per host<commit_after>/*
	ping_interval: in seconds
	retry_in: minutes. If the site is no back up, keeps trying in the last value
	
	Both ping_interval and retry_in array can be defined at host or url level.
*/
var one_minute = 60 //you can set this to other value for testing the service in dev env.

exports.hosts = 
	[
		{
			name:'VitaminasDev', 
			host: 'www.vitaminasdev.com', 
			port:80,
			ping_interval: one_minute * 5, //seconds
			retry_in: [10,30,120], //minutes
			urls : [
				{
					method: 'get', 
					url : '/', 
					expected: {statuscode: 200, contains: 'noticias'} ,
				},
				{
					method: 'get', 
					url : '/Home/Contacto', 
					expected: {statuscode: 200, contains: 'encantados'},
					ping_interval:200, //overwrite ping and retry intervals for this url
					retry_in: [10,20,30]
				}
			]
		}
		,	
		{
			name:'iloire.com', 
			host: 'www.iloire.<EMAIL>', 
			port:80, 
			ping_interval: one_minute * 5,
			retry_in: [10,30,120],
			urls : [
				{
					method: 'get', 
					url : '/', 
					expected: {statuscode: 200, contains: 'vitaminas'} 
				},
				{
					method: 'get', 
					url : '/en', 
					expected: {statuscode: 200, contains: 'Freelance'} 
				},
			]
		}
		,
		{
			name:'ASP Photo Gallery', 
			host: 'www.aspphotogallery.net', 
			port:80, 
			ping_interval: one_minute * 5,
			retry_in: [10,30,120],
			alert_to: '<EMAIL>', //you can include a different email recipient per host
			urls : [
				{
					method: 'get', 
					url : '/', 
					expected: {statuscode: 200, contains: 'fast and responsive'}
				},
				{
					method: 'get', 
					url : '/mvcphotogallery', 
					expected: {statuscode: 200, contains: 'Knockout'}
				},
				{
					method: 'get', 
					url : '/demomvc', 
					expected: {statuscode: 200, contains: 'Simple, sexy, FAST, ASP.NET MVC photo gallery'}
				}
			]
		}
		,
		{
			name:'CachiruloValley', 
			host: 'www.cachirulovalley.com', 
			port:80, 
			ping_interval: one_minute * 5,
			retry_in: [10,30,120],
			urls : [
				{
{'fraction_non_alphanumeric': 0.1478909465020576, 'fraction_numerical': 0.0367798353909465, 'mean_word_length': 2.390584132519616, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3764803', 'n_tokens_mistral': 1979, 'n_tokens_neox': 1463, 'n_words': 348}