--- projects/cms/source/host/c++/Host.cpp 2001/03/23 14:08:49 1.4 +++ projects/cms/source/host/c++/Host.cpp 2001/03/27 00:05:47 1.5 @@ -64,11 +64,11 @@ int main(){ if ( debug == 1 ){ std::cout << "Using Default Tolerance\n"; } // if - MaxFilterRetrys = 5; + MaxFilterRetrys = 1; } // if - std::cout << "Configuring Alerter\n"; + // std::cout << "Configuring Alerter\n"; // Set the values at which the Alerter should kick in. and how many packets it should // send @@ -206,7 +206,7 @@ int main(){ nextUDPTime = localTime + UDPUpdateTime; // package up the system data string host = config.getFQDN(); - string ip = (config.getSmallNet())->getHostIP(); + // string ip = (config.getSmallNet())->getHostIP(); string seq = ""; // char * buffer; @@ -216,7 +216,7 @@ int main(){ string date = ""; sprintf(buffer,"%u", localTime); date = buffer; - string attributes = "type=\"data\" machine_name=\""+host+"\" date=\""+date+"\" seq_no=\""+seq+"\""; + string attributes = "type=\"data\" machine_name=\""+host+"\" ip=\"0.0.0.0\" date=\""+date+"\" seq_no=\""+seq+"\""; XMLFormatter xml("packet",attributes); // put in the data