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 8:13 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
PostPosted: Thu Jan 29, 2009 8:59 am 
Offline
Newbie

Joined: Sat Jan 17, 2009 1:29 am
Posts: 9
This isn't really a feature request, because I figured out how to do it. Mainly I'm asking if this is useful to anyone else. I needed the operating system to appear as one of the details of each server in the automatically generated Dia diagram export from OpenAudit, so I added it.

Here's the function to add in list_export_dia.php :
if ($dia_show_system_os_name== "y"){

$simple_os = determine_os($myrow["system_os_name"]);
$dia_current_obj_text=$dia_current_obj_text."OS: ".$simple_os."\n";

} else {}

And here's the relevant line to add in include_dia_config.php :
$dia_show_system_os_name = "y";

In the course of getting this going, I noticed the function that "shortens" the OS name ( the systems array, in determine_os($os) in the file include_functions.php) had commas in it that resulted in the OS name not being "shortened" properly... I can contribute that back too if anyone else has seen that problem. The problem is an extra comma in the "Windows Server 2003 Enterprise Edition" lines

Is this a feature anyone else is interested in?


Attachments:
Example.jpg
Example.jpg [ 48.78 KiB | Viewed 3816 times ]
Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 30, 2009 8:31 pm 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
Thanks for that. :D

One of the enhancements I haven't had time to code was the ability for the diagrams to include only the fields in the viewdef. (Not a big coding change, but there are a lot of other things I would like to do first).

_________________
Andrew

[size=85]OA Server: Windows XP/ XAMPP, Mandriva/Apache, Ubuntu
Auditing: 300+ Wstns, 20+ Srvrs, Thin clients, Linux boxes, Routers, etc
OS's: Windows XP , W2K Srvr, W2K3 Srvr, W2K8, Vista, Windows 7, Linuxes (and a Mac at home)
LDAP: Active Directory[/size]


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