type,
streamProvider,
ComponentSSLConfiguration.instance(),
this,
PropertyHelper.getPropertyId("Clusters", "cluster_name")));
providers.add(new NagiosPropertyProvider(type,
new URLStreamProvider(
PROPERTY_REQUEST_CONNECT_TIMEOUT, NAGIOS_READ_TIMEOUT,
configuration),
"Clusters/cluster_name",
"Clusters/version"));
break;
case Service:
providers.add(new NagiosPropertyProvider(type,
new URLStreamProvider(
PROPERTY_REQUEST_CONNECT_TIMEOUT, NAGIOS_READ_TIMEOUT,
configuration),
"ServiceInfo/cluster_name",
"ServiceInfo/service_name"));
break;
case Host:
providers.add(createGangliaHostPropertyProvider(
type,
streamProvider,
ComponentSSLConfiguration.instance(),
this,
PropertyHelper.getPropertyId("Hosts", "cluster_name"),
PropertyHelper.getPropertyId("Hosts", "host_name")
));
providers.add(new NagiosPropertyProvider(type,
new URLStreamProvider(
PROPERTY_REQUEST_CONNECT_TIMEOUT, NAGIOS_READ_TIMEOUT,
configuration),
"Hosts/cluster_name",
"Hosts/host_name"));