| 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 |
Hi,
I have problems to understand the definition of "scope of interested time"
to get historical data from the MIR. I have looked through the documentation
and did not found any examples.
I have made different experiments and often I get no data or something what
I did not expected.
An example: I have started the following comand procedure:
SHOW MCC 0 ALL CHARA
SHOW RECORDING NODE4 BEACT1 -
PARTITION = COUNTERS, -
IN DOMAIN = .BERN
SHOW NODE4 BEACT1 USER BYTES RECEIVED, -
FOR START (23-AUG-1991:16:00:00) -
UNTIL 23-AUG-1991:16:06:00 EVERY 00:02:00 DURATION 00:01:50, -
IN DOMAIN = .BERN
EXIT
and here is the result with strange time stamps:
------------------- begin of log ----------------------------------
SHOW MCC 0 ALL CHARA
MCC 0
AT 23-AUG-1991 16:36:29 Characteristics
Examination of Attributes Shows:
Component Version = V1.1.0
Component Identification = "DECmcc"
SHOW RECORDING NODE4 BEACT1 -
PARTITION = COUNTERS, -
IN DOMAIN = .BERN
Node4 BEACT1
AT 23-AUG-1991 16:36:30
Recording parameters for the partition "Counters" :
Recording state = SUSPENDED,
State since = 23-AUG-1991 16:04:01.31,
Polling period = 0 00:02:00.00,
Begin time = 23-AUG-1991 16:00:00.90,
End time = 23-AUG-1991 16:06:00.93,
Keep age = 60 00:00:00.00,
Request time = 23-AUG-1991 15:57:17.00,
Requested by = "DEMO",
Time of last successful poll = "23-AUG-1991 16:06:00.96",
Number of successful polls = 4,
Time of last failed poll = "NONE",
Last poll failure reason = "N/A",
Number of failed polls = 0,
Last historical expiration time = "23-AUG-1991 16:06:00.96",
Time of last expiration failure = "NONE",
Last expiration failure reason = "N/A",
Number of expiration failures = 0
SHOW NODE4 BEACT1 USER BYTES RECEIVED, -
FOR START (23-AUG-1991:16:00:00) -
UNTIL 23-AUG-1991:16:06:00 EVERY 00:02:00 DURATION 00:01:50, -
IN DOMAIN = .BERN
Node4 BEACT1
AT 23-AUG-1991 15:50:01 Counters
User Bytes Received = 1717179 Bytes
Node4 BEACT1
AT 23-AUG-1991 16:00:00 Counters
User Bytes Received = 1765791 Bytes
Node4 BEACT1
AT 23-AUG-1991 16:02:00 Counters
User Bytes Received = 1766048 Bytes
Node4 BEACT1
AT 23-AUG-1991 16:00:00 Counters
User Bytes Received = 1765791 Bytes
Node4 BEACT1
AT 23-AUG-1991 16:02:00 Counters
User Bytes Received = 1766048 Bytes
Node4 BEACT1
AT 23-AUG-1991 16:04:00 Counters
User Bytes Received = 1771130 Bytes
Node4 BEACT1
AT 23-AUG-1991 16:02:00 Counters
User Bytes Received = 1766048 Bytes
Node4 BEACT1
AT 23-AUG-1991 16:04:00 Counters
User Bytes Received = 1771130 Bytes
Node4 BEACT1
AT 23-AUG-1991 16:06:00 Counters
User Bytes Received = 1771399 Bytes
--------------------- end of log ----------------------------------
Thanks for help,
Edgar
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 1384.1 | No problem - is expected | TOOK::T_HUPPER | The rest, as they say, is history. | Mon Aug 26 1991 17:12 | 111 |
RE: .0
For the command:
> SHOW NODE4 BEACT1 USER BYTES RECEIVED, -
> FOR START (23-AUG-1991:16:00:00) -
> UNTIL 23-AUG-1991:16:06:00 EVERY 00:02:00 DURATION 00:01:50, -
> IN DOMAIN = .BERN
you are actually getting the expected results. The command breaks down
as follows for the scope of interest time ranges:
1st time range: 16:00:00 to 16:01:50
2nd time range: 16:02:00 to 16:03:50
3rd time range: 16:04:00 to 16:05:50
There is no 4th time range, as the UNTIL time is the same as the
beginning time of the "next" time range.
For EACH of these 3 time ranges, you get back the datum (if any) BEFORE
the time range, data (if any) included IN the time range, and the datum
(if any) AFTER the time range. So your log is showing that this is
indeed the case, as follows:
---------------------------- edited log -----------------------------------
1st time range, 16:00:00 to 16:01:50 (datum before time range):
> Node4 BEACT1
> AT 23-AUG-1991 15:50:01 Counters
>
> User Bytes Received = 1717179 Bytes
1st time range, 16:00:00 to 16:01:50 (data included in time range):
>Node4 BEACT1
>AT 23-AUG-1991 16:00:00 Counters
>
> User Bytes Received = 1765791 Bytes
1st time range, 16:00:00 to 16:01:50 (datum after time range):
>Node4 BEACT1
>AT 23-AUG-1991 16:02:00 Counters
>
> User Bytes Received = 1766048 Bytes
2nd time range, 16:02:00 to 16:03:50 (datum before time range):
>Node4 BEACT1
>AT 23-AUG-1991 16:00:00 Counters
>
> User Bytes Received = 1765791 Bytes
2nd time range, 16:02:00 to 16:03:50 (data included in time range):
>Node4 BEACT1
>AT 23-AUG-1991 16:02:00 Counters
>
> User Bytes Received = 1766048 Bytes
2nd time range, 16:02:00 to 16:03:50 (datum after time range):
>Node4 BEACT1
>AT 23-AUG-1991 16:04:00 Counters
>
> User Bytes Received = 1771130 Bytes
3rd time range, 16:04:00 to 16:05:50 (datum before time range):
>Node4 BEACT1
>AT 23-AUG-1991 16:02:00 Counters
>
> User Bytes Received = 1766048 Bytes
3rd time range, 16:04:00 to 16:05:50 (data included in time range):
>Node4 BEACT1
>AT 23-AUG-1991 16:04:00 Counters
>
> User Bytes Received = 1771130 Bytes
3rd time range, 16:04:00 to 16:05:50 (datum after time range):
>Node4 BEACT1
>AT 23-AUG-1991 16:06:00 Counters
>
> User Bytes Received = 1771399 Bytes
-------------------------- end edited log ---------------------------------
Modifying the SHOW command may give more useable results. Given that
the data must be included in the time range defined by the original
START and UNTIL parameters of the RECORD operation, a simpler SHOW
command that would display each datum only once would be:
SHOW NODE4 BEACT1 USER BYTES RECEIVED, -
FOR START (23-AUG-1991:16:00:00) DURATION 00:06:00, -
IN DOMAIN = .BERN
This command will result in all the data being displayed in order and
only once. Note that this relationship between the recording and the
displaying (the RECORD contains an EVERY component (polling interval)
and an UNTIL component (possibly NULL = infinity), while the SHOW
covers, in a single time range (START and DURATION components only),
the entire scope of interest time) is probably the easiest to deal
with. As seen above, putting an EVERY component in the SHOW request
can be confusing.
Ted
| |||||
| 1384.2 | Should be added to DECmcc Dok ? | BERN01::GMUER | Wed Aug 28 1991 07:25 | 11 | |
Re. 1: Thanks for your explanation ! I would like to suggest that this should be added in the DECmcc documentation. In the DECmcc BMS Use manual page 3-2 there is a pointer to the Director Use concerning the past time specification with the SHOW directive. But in the Director Use manual you find only on page 4-21 a pointer to the BMS Use. Sorry, if I have overlooked something. Edgar | |||||
| 1384.3 | Take care on entity name's case sensivity | BERN01::GMUER | Wed Aug 28 1991 07:28 | 74 | |
I have found a further feature of the DECmcc Historian FM, which caused some
troubles to a customer and me. The behaviour of the SHOW SNMP directive with
a past time specification is case sensitive to the global entity name.
The same with the SHOW RECORDING directive.
Edgar
------------------------- begin of log -----------------------------
$ UCX SHOW HOST BEUNIX
Host address Host name
16.184.208.11 BEUNIX, beunix
$ MANA/ENTER
DECmcc (V1.1.0)
SHOW RECORDING SNMP beunix INTERFACE 1 PART=COUNTERS, IN DOMAIN SUISSE
SNMP beunix Interface 1
AT 28-AUG-1991 10:08:48
No recording for the specified entity and partition
SHOW RECORDING SNMP BEUNIX INTERFACE 1 PART=COUNTERS, IN DOMAIN SUISSE
SNMP BEUNIX Interface 1
AT 28-AUG-1991 10:08:50
Recording parameters for the partition "Counters" :
Recording state = ACTIVE,
State since = 28-AUG-1991 09:26:53.14,
Polling period = 0 00:20:00.00,
Begin time = 28-AUG-1991 09:40:00.19,
End time = 28-AUG-1991 12:40:00.22,
Keep age = 180 00:00:00.00,
Request time = 28-AUG-1991 09:26:40.66,
Requested by = "DEMO",
Time of last successful poll = "28-AUG-1991 10:00:00.20",
Number of successful polls = 2,
Time of last failed poll = "NONE",
Last poll failure reason = "N/A",
Number of failed polls = 0,
Last historical expiration time = "28-AUG-1991 10:00:00.20",
Time of last expiration failure = "NONE",
Last expiration failure reason = "N/A",
Number of expiration failures = 0
SHOW SNMP beunix INTERFACE 1 IFINOCTETS, FOR START (09:50:00), -
IN DOMAIN SUISSE
SNMP beunix Interface 1
AT 28-AUG-1991 10:08:54 Counters
ifInOctets = 360768803
SHOW SNMP BEUNIX INTERFACE 1 IFINOCTETS, FOR START (09:50:00), -
IN DOMAIN SUISSE
SNMP BEUNIX Interface 1
AT 28-AUG-1991 09:40:00 Counters
ifInOctets = 359565233
SNMP BEUNIX Interface 1
AT 28-AUG-1991 10:00:00 Counters
ifInOctets = 360296816
--------------------------- end of log -----------------------------
| |||||
| 1384.4 | input has been passed along to the documentation team | TOOK::CALLANDER | Jill Callander DTN 226-5316 | Tue Sep 03 1991 16:05 | 1 |
thanks for the feedback | |||||