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 Thu Mar 28, 2024 9:22 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Mon Aug 27, 2007 11:18 pm 
Offline
Newbie

Joined: Mon Aug 27, 2007 5:32 pm
Posts: 12
I've been trying to create a custom report wich shows me the IP, serial number (bios), manufacturer, monitor (ande serial) and logged on user but i get stuck at the first line, it keeps giving me waaaay to mutch results (eacht serial and ip gets 40+ replicas with a diffrent user) so I was wondering if anyone here could be of help

here's what i got so far:

[code]select network_card.net_ip_address, system.net_user_name, bios.bios_serial_number FROM openaudit.network_card, openaudit.system, openaudit.bios [/code]

this indeed gives me the wanted information, but waaay to mutch...
so i added:

[code]group by bios.bios_serial_number[/code]

but now i get 1 ip, 1 username and a lot of serial numbers... so i'm back at quare one :(


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 28, 2007 12:45 am 
Offline
Helper

Joined: Thu Jun 14, 2007 4:06 am
Posts: 96
Location: Georgia, USA
I'm not sure if this is correct, but try this. It seems to work.

[code]select network_card.net_ip_address, system.net_user_name, bios.bios_serial_number FROM openaudit.network_card, openaudit.system, openaudit.bios WHERE network_card.net_uuid = system.system_uuid AND network_card.net_timestamp = system.system_timestamp AND bios.bios_uuid = system.system_uuid and bios.bios_timestamp = system.system_timestamp[/code]


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 28, 2007 6:28 pm 
Offline
Newbie

Joined: Mon Aug 27, 2007 5:32 pm
Posts: 12
thanks a million! :D thats exactly what i needed :)


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.  [ 3 posts ] 

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:  
Powered by phpBB® Forum Software © phpBB Group