| 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
|
|
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 -----------------------------
|