ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/c++/Host.cpp
(Generate patch)

Comparing projects/cms/source/host/c++/Host.cpp (file contents):
Revision 1.4 by ab11, Fri Mar 23 14:08:49 2001 UTC vs.
Revision 1.5 by ab11, Tue Mar 27 00:05:47 2001 UTC

# Line 64 | Line 64 | int main(){
64                  if ( debug == 1 ){
65                          std::cout << "Using Default Tolerance\n";
66                  } // if
67 <                MaxFilterRetrys = 5;
67 >                MaxFilterRetrys = 1;
68          } // if
69          
70          
71 <        std::cout << "Configuring Alerter\n";
71 >        // std::cout << "Configuring Alerter\n";
72          // Set the values at which the Alerter should kick in. and how many packets it should
73          // send
74          
# Line 206 | Line 206 | int main(){
206                                   nextUDPTime = localTime + UDPUpdateTime;
207                                   // package up the system data
208                                   string host = config.getFQDN();
209 <                                 string ip = (config.getSmallNet())->getHostIP();
209 >                                 // string ip = (config.getSmallNet())->getHostIP();
210                                  
211                                   string seq = "";
212                                   // char * buffer;
# Line 216 | Line 216 | int main(){
216                                   string date = "";
217                                   sprintf(buffer,"%u", localTime);
218                                   date = buffer;
219 <                         string attributes = "type=\"data\" machine_name=\""+host+"\" date=\""+date+"\" seq_no=\""+seq+"\"";
219 >                         string attributes = "type=\"data\" machine_name=\""+host+"\" ip=\"0.0.0.0\" date=\""+date+"\" seq_no=\""+seq+"\"";
220  
221                                   XMLFormatter xml("packet",attributes);
222                                   // put in the data

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines