lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

the dskIndex problem

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
Rojer
Beginner


Joined: 07 Aug 2003
Posts: 5
Location: msk.ru

PostPosted: Wed Sep 10, 2003 11:02 am    Post subject: the dskIndex problem Reply with quote

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

PostPosted: Thu Sep 11, 2003 11:54 pm    Post subject: non-UCD disk graphing Reply with quote

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

PostPosted: Fri Sep 12, 2003 6:57 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group