Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 236 | Rev 899 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 236 Rev 830
Line 170... Line 170...
170
			$etat = array(
170
			$etat = array(
171
					'service.nom' => $ress, 
171
					'service.nom' => $ress, 
172
					'service.href' => $url_service, 
172
					'service.href' => $url_service, 
173
					'service.wikini' => $wikini, 
173
					'service.wikini' => $wikini, 
174
					'service.etat' => 'UP');
174
					'service.etat' => 'UP');
175
			
175
 
176
			$res = $this->consulterHref($url);
176
			$res = $this->consulterHref($url);
177
			if (!$res) {
177
			if (!$res) {
178
				$etat['service.etat'] = 'DOWN ('.$reponse[0].')';
178
				$etat['service.etat'] = 'DOWN';
179
			}
179
			}
180
			$etats['projet.services'][] = $etat;
180
			$etats['projet.services'][] = $etat;
181
		}
181
		}
182
		return $etats;
182
		return $etats;
183
	}
183
	}