|
|
| Author |
Message |
Rojer Beginner
Joined: 07 Aug 2003 Posts: 5 Location: msk.ru
|
Posted: Wed Sep 10, 2003 11:02 am Post subject: the dskIndex problem |
|
|
i have some windows hosts ready to be graphed ;)
i wrote a script to translate blocks total/blocks used int usage % graph.
now i add a disk subdevice named "C:" and define dskIndex parameter for it.
and then my new monitor.
however, all i get are the following messages in the lastrun.log:
[Dev: 0103] [Sub: 2051] Disk index not found.
[Dev: 0103] [Sub: 2051] Subdevice aborted due to previous errors.
i think this is related to disks not being cached (due to absence of the UCD entries on windows hosts).
the question is: is there a way to bypass the cache checks? |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Thu Sep 11, 2003 11:54 pm Post subject: non-UCD disk graphing |
|
|
Yes, this is related to no entry being present in the disk cache.
Changing the sub-device type from "disk" to "group" should correct the problem. No checks are made against caches for "group" sub-devices yet your statically specified dskIndex will still be translated when executing the tests for the monitors.
If this doesn't fix it, or you have other questions, please let us know! |
|
| Back to top |
|
 |
Rojer Beginner
Joined: 07 Aug 2003 Posts: 5 Location: msk.ru
|
Posted: Fri Sep 12, 2003 6:57 am Post subject: |
|
|
| i've resolved it in another way: just added caching of windows disks to mappings.cpp (i submitted my patch yesterday, see bug #44). |
|
| Back to top |
|
 |
|