Invalid DS name
list John Glowacki
Hi,
I am getting the following "Invalid DS name" error in rrd-status.log
while testing what I can do with hobbit_snmpcollect running 20080405
snapshot. Do I have a configuration issue or is this a code issue? I
just had a thought. Is it the quotes need to be stripped out or
converted?
rrd-status.log:
2008-04-16 12:20:46 RRD error creating
/opt/hobbit/data/rrd/itfilera/netappvolume.",vol,testvol,.snapshot".rrd:
Invalid DS name
2008-04-16 12:20:46 RRD error creating
/opt/hobbit/data/rrd/itfilera/netappvolume.",vol,testvol,".rrd:
Invalid DS name
hobbit-snmphosts.cfg:
[itfilera]
version=1
community=public
ip=x.x.x.x
ifmib={x.x.x.x}
systemmib
netappvolume=(*)
hobbit-snmpmibs.cfg:
[netappvolume]
keyidx (.1.3.6.1.4.1.789.1.5.4.1.2)
dfIndex = .1.3.6.1.4.1.789.1.5.4.1.1
dfMountedOn = .1.3.6.1.4.1.789.1.5.4.1.10
dfMaxFilesAvail = .1.3.6.1.4.1.789.1.5.4.1.11 /rrd:GAUGE
dfMaxFilesUsed = .1.3.6.1.4.1.789.1.5.4.1.12 /rrd:GAUGE
dfMaxFilesPossible = .1.3.6.1.4.1.789.1.5.4.1.13 /rrd:GAUGE
dfHighTotalKBytes = .1.3.6.1.4.1.789.1.5.4.1.14
dfLowTotalKBytes = .1.3.6.1.4.1.789.1.5.4.1.15
dfHighUsedKBytes = .1.3.6.1.4.1.789.1.5.4.1.16
dfLowUsedKBytes = .1.3.6.1.4.1.789.1.5.4.1.17
dfHighAvailKBytes = .1.3.6.1.4.1.789.1.5.4.1.18
dfLowAvailKBytes = .1.3.6.1.4.1.789.1.5.4.1.19
dfFileSys = .1.3.6.1.4.1.789.1.5.4.1.2
dfKBytesTotal = .1.3.6.1.4.1.789.1.5.4.1.3 /rrd:GAUGE
dfKBytesUsed = .1.3.6.1.4.1.789.1.5.4.1.4 /rrd:GAUGE
dfKBytesAvail = .1.3.6.1.4.1.789.1.5.4.1.5 /rrd:GAUGE
dfPerCentKBytesCapacity = .1.3.6.1.4.1.789.1.5.4.1.6 /rrd:GAUGE
dfInodesUsed = .1.3.6.1.4.1.789.1.5.4.1.7 /rrd:GAUGE
dfInodesFree = .1.3.6.1.4.1.789.1.5.4.1.8 /rrd:GAUGE
dfPerCentInodeCapacity = .1.3.6.1.4.1.789.1.5.4.1.9 /rrd:GAUGE
hobbit page output:
["/vol/testvol/.snapshot"]
dfIndex = 18
dfMountedOn = "/vol/testvol/.snapshot"
dfMaxFilesAvail = 35212
dfMaxFilesUsed = 121
dfMaxFilesPossible = 281714
dfHighTotalKBytes = 0
dfLowTotalKBytes = 209712
dfHighUsedKBytes = 0
dfLowUsedKBytes = 480
dfHighAvailKBytes = 0
dfLowAvailKBytes = 209232
dfFileSys = "/vol/testvol/.snapshot"
dfKBytesTotal = 209712
dfKBytesUsed = 480
dfKBytesAvail = 209232
dfPerCentKBytesCapacity = 0
dfInodesUsed = 0
dfInodesFree = 0
dfPerCentInodeCapacity = 0
["/vol/testvol/"]
dfIndex = 17
dfMountedOn = "/vol/testvol/"
dfMaxFilesAvail = 35212
dfMaxFilesUsed = 121
dfMaxFilesPossible = 281714
dfHighTotalKBytes = 0
dfLowTotalKBytes = 838864
dfHighUsedKBytes = 0
dfLowUsedKBytes = 60868
dfHighAvailKBytes = 0
dfLowAvailKBytes = 777996
dfFileSys = "/vol/testvol/"
dfKBytesTotal = 838864
dfKBytesUsed = 60868
dfKBytesAvail = 777996
dfPerCentKBytesCapacity = 7
dfInodesUsed = 121
dfInodesFree = 35091
dfPerCentInodeCapacity = 0
Thanks,
John
list Henrik Størner
▸
On Wed, Apr 16, 2008 at 01:25:50PM -0400, John Glowacki wrote:
I am getting the following "Invalid DS name" error in rrd-status.log while testing what I can do with hobbit_snmpcollect running 20080405 snapshot. Do I have a configuration issue or is this a code issue? I just had a thought. Is it the quotes need to be stripped out or converted?
The quotes look odd, but that is not the "Invalid DS name" problem. This is caused by your dataset names being excessively long. E.g. you have a "dfPerCentKBytesCapacity" dataset - this is 24 letters, but RRDtool limits names to 19 characters.
["/vol/testvol/"] dfIndex = 17 dfMountedOn = "/vol/testvol/"
Yikes ... the MIB probably has this defined as an "octet string", so why bother quoting it ? Henrik
list John Glowacki
▸
On Mon, Apr 21, 2008 at 4:55 PM, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Wed, Apr 16, 2008 at 01:25:50PM -0400, John Glowacki wrote:I am getting the following "Invalid DS name" error in rrd-status.log while testing what I can do with hobbit_snmpcollect running 20080405 snapshot. Do I have a configuration issue or is this a code issue? I just had a thought. Is it the quotes need to be stripped out or converted?The quotes look odd, but that is not the "Invalid DS name" problem. This is caused by your dataset names being excessively long. E.g. you have a "dfPerCentKBytesCapacity" dataset - this is 24 letters, but RRDtool limits names to 19 characters.["/vol/testvol/"] dfIndex = 17 dfMountedOn = "/vol/testvol/"Yikes ... the MIB probably has this defined as an "octet string", so why bother quoting it ? Henrik
Thanks Henrik,
I used a shorter name. It now creates the rrd files with the quotes.
I'm not thrilled about the quotes, but it is working.
-rw-r--r-- 1 bb users 190408 Apr 22 10:19 netappvolume.",vol,testvol,".rrd
-rw-r--r-- 1 bb users 190408 Apr 22 10:14
netappvolume.",vol,testvol,.snapshot".rrd
In hobbitgraph.cfg I was able to exclude the quotes from displaying in
the graphs. It looks much better that way.
[netappvolume]
FNPATTERN ^netappvolume.\"(.*)\".rrd
Yes, looking at the mib it's a DisplayString/octet string. I have not
found an explanation for the quoting.
DfEntry ::=
SEQUENCE {
dfIndex
INTEGER,
dfFileSys
DisplayString,
Some of the volume names are ending in "/..". I asked one of a our
storage guys to look at it. I am starting to think it might have to do
with an option on the snapshot volumes.
["/vol/pcluns/.."]
dfIndex = 14
dfMountedOn = "/vol/pcluns/.."
["/vol/pcluns/"]
dfIndex = 13
dfMountedOn = "/vol/pcluns/"
John