Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 1:16 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 25 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: system_graph
PostPosted: Fri Jul 28, 2006 12:19 am 
Offline
Contributor

Joined: Thu Jul 13, 2006 7:54 am
Posts: 156
Drive: F Partition Size: 31 MB Current Free Space: 42,061 MB Current Disk Used: -42,030 MB

thats not right...hehe


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jul 28, 2006 12:32 am 
Offline
Helper

Joined: Thu Dec 08, 2005 6:33 pm
Posts: 87
Location: Germany, BaW
where do you see the partition size?

on my index(home) all PCs have size 0MB free 0MB


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jul 28, 2006 12:35 am 
Where is that showing up, the system_graph page?


Top
  
Reply with quote  
 Post subject:
PostPosted: Fri Jul 28, 2006 12:36 am 
Offline
Contributor

Joined: Thu Jul 13, 2006 7:54 am
Posts: 156
Left Menu:
(COMPUTER NAME) -> Disk Usage Graph


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jul 28, 2006 7:49 am 
Is this resolved?


Top
  
Reply with quote  
 Post subject:
PostPosted: Fri Jul 28, 2006 7:52 am 
Offline
Contributor

Joined: Thu Jul 13, 2006 7:54 am
Posts: 156
Not yet

Drive: C Partition Size: 72,669 MB Current Free Space: 42,061 MB Current Disk Used: 30,608 MB

--------------------------------------------------------------------------------

Drive: F Partition Size: 31 MB Current Free Space: 42,061 MB Current Disk Used: -42,030 MB

--------------------------------------------------------------------------------

Drive: G Partition Size: 3,577 MB Current Free Space: 42,061 MB Current Disk Used: -38,484 MB


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jul 28, 2006 7:53 am 
Hmm... they all have the same free space. Odd.


Top
  
Reply with quote  
 Post subject:
PostPosted: Fri Jul 28, 2006 7:54 am 
Offline
Contributor

Joined: Thu Jul 13, 2006 7:54 am
Posts: 156
It's one HD just seperate partitions


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 04, 2006 7:56 am 
Can you take a look at Win32_LogicalDisk using WMI Browser on that machine? See if it has the same info, in which case it's not OA's problem. [url=http://www.microsoft.com/downloads/details.aspx?FamilyId=6430F853-1120-48DB-8CC5-F2ABDC3ED314&displaylang=en]WMI Administrative Tools[/url]


Top
  
Reply with quote  
 Post subject:
PostPosted: Sat Aug 05, 2006 12:40 am 
Offline
Contributor

Joined: Thu Jul 13, 2006 7:54 am
Posts: 156
WMI browser shows the correct information :-/


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 11, 2006 10:32 pm 
Offline
Helper

Joined: Thu Dec 08, 2005 6:33 pm
Posts: 87
Location: Germany, BaW
is this fixed?

It seems not:
P Address Hostname Free Space MB Size Free Space % Drive Letter Volume Name
192.13.47.170 PC0042 893 Mb 6098 Mb 14.6 % C:
192.13.47.170 PC0042 893 Mb 12986 Mb 6.9 % D:


its one hdd with two partitions. on both partitions the free space from partition one is shown!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Oct 12, 2006 5:55 pm 
Offline
Newbie

Joined: Mon Mar 07, 2005 11:01 pm
Posts: 14
Its a bug when updating an audit (admin_pc_add_2.php line 769, admin_pc_add_dir.php line 748)

Shouldn't the details be updated on the partition_caption field instead of the partition_device_id field, as the partition_device_id is not unique

The number of results returned from Win32_DiskPartition may be less then the number of results from theWin32_LogicalDisk, ie many logical disks to one disk partition.


When updating an audit ....

partition^^^True^^^True^^^Disk #0, Partition #1^^^0^^^94^^^True^^^C:^^^NTFS^^^2873^^^45284^^^NoBackup^^^
partition^^^False^^^False^^^Disk #0, Partition #0^^^0^^^53^^^False^^^D:^^^NTFS^^^11764^^^25007^^^System^^^
partition^^^False^^^False^^^Disk #0, Partition #0^^^0^^^23^^^False^^^E:^^^NTFS^^^19329^^^25093^^^Development^^^

get translated into

UPDATE partition SET partition_timestamp = 'newtimestamp', partition_free_space = '2873'
WHERE partition_device_id = 'Disk #0, Partition #1 ' AND partition_uuid = 'system_name'
AND partition_timestamp = 'timestamp'

UPDATE partition SET partition_timestamp = 'newtimestamp', partition_free_space = '11764'
WHERE partition_device_id = 'Disk #0, Partition #0 ' AND partition_uuid = 'system_name'
AND partition_timestamp = 'timestamp'

UPDATE partition SET partition_timestamp = 'newtimestamp', partition_free_space = '19329'
WHERE partition_device_id = 'Disk #0, Partition #0 ' AND partition_uuid = 'system_name'
AND partition_timestamp = 'timestamp'


In this case the last two updates both modify two records


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Oct 13, 2006 1:33 am 
First of all, your suggestion won't work as the caption could change based on how the devices were attached (specifically USB drives).

However, I believe we could change the code to use the DeviceID value from Win32_LogicalDisk instead of from Win32_DiskPartition. That may result in redundancy in the database once we make the change, but I believe it might fix the problem. My worry is that changing it will cause every single partition to be readded to the database, but I guess you live with that.


Top
  
Reply with quote  
 Post subject:
PostPosted: Mon Oct 23, 2006 6:56 pm 
Offline
Helper

Joined: Thu Dec 08, 2005 6:33 pm
Posts: 87
Location: Germany, BaW
anything new on this problem?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Nov 08, 2006 7:20 pm 
Offline
Helper

Joined: Thu Dec 08, 2005 6:33 pm
Posts: 87
Location: Germany, BaW
[quote="mikeyrb"]First of all, your suggestion won't work as the caption could change based on how the devices were attached (specifically USB drives).

However, I believe we could change the code to use the DeviceID value from Win32_LogicalDisk instead of from Win32_DiskPartition. That may result in redundancy in the database once we make the change, but I believe it might fix the problem. My worry is that changing it will cause every single partition to be readded to the database, but I guess you live with that.


are you working on it?

Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 25 posts ]  Go to page 1, 2  Next

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group