[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

4700.0. "Past status displayed more than once. Why?" by COPCLU::EBC () Tue Mar 16 1993 10:43

    How do you avoid getting status information displayed more than once
    for intervals in the past ?
    
    I have set up recording to poll for status every 15 minutes, and when I
    issue a:
    
    MCC>show node4 .coptvi state, for start 15:30:00 until 16:30:00 - 
    every 0:15:05 duration 0:15:00, in domain .erik
    
    I get the following report:
    
    Node4 COPVS3_NS:.coptvi
    AT 16-MAR-1993 15:29:39 Status
    
                                      State = On
    
    Node4 COPVS3_NS:.coptvi
    AT 16-MAR-1993 15:44:37 Status
    
                                      State = On
    
    Node4 COPVS3_NS:.coptvi
    AT 16-MAR-1993 15:59:39 Status
    
                                      State = On
    
    Node4 COPVS3_NS:.coptvi
    AT 16-MAR-1993 15:44:37 Status
    
                                      State = On
    
    Node4 COPVS3_NS:.coptvi
    AT 16-MAR-1993 15:59:39 Status
    
                                      State = On
    
    Node4 COPVS3_NS:.coptvi
    AT 16-MAR-1993 16:14:36 Status
    
                                      State = On
    
    Status for the same interval is reported more than once.
    This only seems to happen with STATUS information; not with statistics.
    
    regards,
    Erik B. Christensen
    DS Comms.
    Copenhagen
    Node4 COPVS3_NS:.coptvi
    AT 16-MAR-1993 15:59:39 Status
    
                                      State = On
    
    Node4 COPVS3_NS:.coptvi
    AT 16-MAR-1993 16:14:36 Status
    
                                      State = On
    
    Node4 COPVS3_NS:.coptvi
    AT 16-MAR-1993 16:29:44 Status
    
                                      State = On
    
T.RTitleUserPersonal
Name
DateLines
4700.1Do not specify "every"TOOK::SHMUYLOVICHThu Mar 18 1993 11:0563
	If past time is used in the scope of interest time the Information
 Manager returns historical data with time stamps from the requested time
 interval as well as one just before starting point of this interval and 
 one just after ending point of this interval.

 In your case the following schema applies:


                -------*----------*----------*----------*---------> time
 recorded data       15:29      15:44      15:59      16:14
                        ^          ^          ^          ^
                        :1 interval:2 interval:3 interval:

	For the first interval historical data returned:
			
				- 15:29 - just before starting point;
				- 15:44 - inside requested interval;
				- 15:59 - just after end point.

	For the second interval historical data returned:
			
				- 15:44 - just before starting point;
				- 15:59 - inside requested interval;
				- 16:14 - just after end point.


 To avoid this you should specify the scope of interest time like:

	a. if you want to see all historical data between 15:30:00 and
	   16:30:00:

		for start 15:30:00 duration 01:00:00

	b. if you want to see historical data only with fixed intervals:

		for start 15:30:00 every 00:30:00

 Please, note that b. works only if data have been recorded with frequency
 twice bigger that requested "every". In general you can have the following
 situation:

       ----*----------*----------*----------*----------*----------*-----> time
recorded 10:00      10:10      10:20      10:30      10:40      10:50
data
scope of    ^               ^                ^               ^               
interest  10:01           10:16           10:31            10:46


  In this example data have been recorded with polling period 10 minutes and
scope of interest time has been specified as "for start 10:01 every 00:15:00".
The Show returns data with the following time stamps:

         10:00, 10:10, 10:10, 10:20, 10:30, 10:40, 10:40, 10:50 ....


 For statistics partitions the duration is used to define an interval for
 which statistics are calculated.

  Hope this helps,

     Sam
    
4700.2ThanksCOPCLU::EBCThu Mar 18 1993 11:313
    Yes, it does.
    
    Thankyou Sam.