[rrd-developers] Re: RRDs::info incomplete in snapshot 2002-09-25
Stanislav Sinyagin
ssinyagin at yahoo.com
Thu Dec 12 13:36:12 MET 2002
I've recently verified that the problem persists in todays snapshot (2002-12-12),
and the CLI rrdtool info shows all entries correctly.
Stan
--- Stanislav Sinyagin <ssinyagin at yahoo.com> wrote:
>
> Hi all,
>
> RRDs::info in CVS snapshot dated 2002-09-25 returns incomplete list
> of properties. For example, in the list below the property
> "ds[ciscoMemoryPoolFree].type" is missing.
>
> has it been noticed before and fixed?
>
> The code that I use for printing, and the printout follow.
>
> Thanks,
> Stan
>
> ===============================================================
> my %ds_existing = ();
>
> my $rrdinfo = RRDs::info( $filename );
>
> # Collect the DS names from RRD and check if we update them all
> foreach my $prop ( keys %$rrdinfo )
> {
> if( $prop =~ /^ds\[([^\]]+)\]\.type/ )
> {
> $ds_existing{$1} = 1;
> if( not $ds_updating{$1} )
> {
> Warn("Datasource not getting updated: $1 in $filename");
> }
> }
> }
>
> if( RRFW::Log::isDebug() )
> {
> Debug("Property Keys found in $filename:");
> foreach my $prop ( keys %$rrdinfo )
> {
> Debug( $prop );
> }
>
> Debug("DS discovered in $filename:");
> foreach my $ds ( keys %ds_existing )
> {
> Debug("DS: " . $ds);
> }
> }
> ====================================================================
>
> [12-Dec-2002 11:39:57 ] Property Keys found in /var/snmpcollector/mlrCHB001_mempool.rrd:
> [12-Dec-2002 11:39:57 ] rra[0].rows
> [12-Dec-2002 11:39:57 ] rra[0].cdp_prep[1].unknown_datapoints
> [12-Dec-2002 11:39:57 ] ds[ciscoMemoryPoolFree].min
> [12-Dec-2002 11:39:57 ] ds[ciscoMemoryPoolFree].minimal_heartbeat
> [12-Dec-2002 11:39:57 ] rra[0].cf
> [12-Dec-2002 11:39:57 ] step
> [12-Dec-2002 11:39:57 ] rra[3].cf
> [12-Dec-2002 11:39:57 ] rra[1].cdp_prep[0].value
> [12-Dec-2002 11:39:57 ] ds[ciscoMemoryPoolUsed].type
> [12-Dec-2002 11:39:57 ] rra[4].rows
> [12-Dec-2002 11:39:57 ] rra[3].cdp_prep[0].value
> [12-Dec-2002 11:39:57 ] rra[1].xff
> [12-Dec-2002 11:39:57 ] ds[ciscoMemoryPoolFree].value
> [12-Dec-2002 11:39:57 ] rra[2].cdp_prep[0].unknown_datapoints
> [12-Dec-2002 11:39:57 ] rra[4].xff
> [12-Dec-2002 11:39:57 ] rra[4].cdp_prep[0].value
> [12-Dec-2002 11:39:57 ] rra[3].pdp_per_row
> [12-Dec-2002 11:39:57 ] rra[1].cdp_prep[1].unknown_datapoints
> [12-Dec-2002 11:39:57 ] rra[0].pdp_per_row
> [12-Dec-2002 11:39:57 ] rrd_version
> [12-Dec-2002 11:39:57 ] ds[ciscoMemoryPoolUsed].minimal_heartbeat
> [12-Dec-2002 11:39:57 ] rra[2].cf
> [12-Dec-2002 11:39:57 ] rra[2].xff
> [12-Dec-2002 11:39:57 ] rra[2].rows
> [12-Dec-2002 11:39:57 ] ds[ciscoMemoryPoolUsed].value
> [12-Dec-2002 11:39:57 ] rra[4].pdp_per_row
> [12-Dec-2002 11:39:57 ] last_update
> [12-Dec-2002 11:39:57 ] rra[1].pdp_per_row
> [12-Dec-2002 11:39:57 ] rra[2].cdp_prep[1].unknown_datapoints
> [12-Dec-2002 11:39:57 ] ds[ciscoMemoryPoolUsed].unknown_sec
> [12-Dec-2002 11:39:57 ] rra[4].cdp_prep[1].unknown_datapoints
> [12-Dec-2002 11:39:57 ] rra[4].cf
> [12-Dec-2002 11:39:57 ] rra[0].cdp_prep[0].unknown_datapoints
> [12-Dec-2002 11:39:57 ] ds[ciscoMemoryPoolFree].last_ds
> [12-Dec-2002 11:39:57 ] rra[4].cdp_prep[0].unknown_datapoints
> [12-Dec-2002 11:39:57 ] rra[3].xff
> [12-Dec-2002 11:39:57 ] ds[ciscoMemoryPoolUsed].last_ds
> [12-Dec-2002 11:39:57 ] rra[1].cf
> [12-Dec-2002 11:39:57 ] rra[0].xff
> [12-Dec-2002 11:39:57 ] rra[0].cdp_prep[0].value
> [12-Dec-2002 11:39:58 ] rra[3].cdp_prep[1].unknown_datapoints
> [12-Dec-2002 11:39:58 ] rra[3].rows
> [12-Dec-2002 11:39:58 ] ds[ciscoMemoryPoolUsed].min
> [12-Dec-2002 11:39:58 ] filename
> [12-Dec-2002 11:39:58 ] rra[1].rows
> [12-Dec-2002 11:39:58 ] rra[1].cdp_prep[0].unknown_datapoints
> [12-Dec-2002 11:39:58 ] ds[ciscoMemoryPoolFree].unknown_sec
> [12-Dec-2002 11:39:58 ] rra[3].cdp_prep[0].unknown_datapoints
> [12-Dec-2002 11:39:58 ] DS discovered in /var/snmpcollector/mlrCHB001_mempool.rrd:
> [12-Dec-2002 11:39:58 ] DS: ciscoMemoryPoolUsed
>
>
>
>
> --
> Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
> Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
> Archive http://www.ee.ethz.ch/~slist/rrd-developers
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-developers
mailing list