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 Apr 19, 2024 9:34 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
PostPosted: Fri Jan 10, 2014 7:38 pm 
Offline
Newbie

Joined: Fri Sep 16, 2011 8:03 pm
Posts: 12
I want to share this report I created, it would be nice a section in open-audit.org with user reports to download, with votes.

I have one question, in the report I joined multiple rows in one field. As a separator, I tried both <br> and \n, but it doesn't work as expected (it writes aaa<br>bbb or aaa bbb). Any suggestion on which separator to use?

Thanks


Attachments:
SystemHardwareReport.xml [4.33 KiB]
Downloaded 403 times
Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 11, 2014 2:49 am 
Offline
Contributor

Joined: Wed Apr 07, 2010 8:04 am
Posts: 105
Location: Boston, MA
Nice report, I like!

But what I believe is likely happening is that in the views folder in the CI application, the output of the query is set to display literally the results from MySQL. I don't think is possible to add HTML to the SQL query without changing or creating a new view for this particular report

_________________
Old OA Setup: 500 Windows 7 workstations & 200 Apple OSX with OA v1.5.2 on Windows Server 2003 and WAMP 2
New OA Setup: 100 Windows servers with OA 2.2 on Windows Server 2016 and WAMP 3


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 21, 2014 8:07 pm 
Offline
Newbie

Joined: Mon Jun 18, 2012 6:26 pm
Posts: 32
Thanks for the nice template.

Can you have another HW report on 3 following: HW adding - HW removing - HW changing ONLY?


Top
 Profile  
Reply with quote  
PostPosted: Fri May 16, 2014 11:00 pm 
Offline
Newbie

Joined: Fri Sep 16, 2011 8:03 pm
Posts: 12
[quote="sccuser"]Thanks for the nice template.

Can you have another HW report on 3 following: HW adding - HW removing - HW changing ONLY?


Sorry for my late answer, i didn't receive email alert.
I don't know how to do it, I don't think it's possible with the actually collected data.

Top
 Profile  
Reply with quote  
PostPosted: Sat May 17, 2014 7:29 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
[quote="sgiunchi"]I don't know how to do it, I don't think it's possible with the actually collected data.

Sure it is! I'll whip something up when I get a chance.

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 02, 2014 1:50 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
Big apologies - this slipped off my radar. It will be in the next release, but here's a copy.
It's untested (other than it runs) as I don't have any devices with hardware changes (at the moment).


[code]<?xml version="1.0" encoding="ISO-8859-1"?>
<report>
<details>
<report_name>Alerts - Hardware</report_name>
<report_display_in_menu>y</report_display_in_menu>
<report_sql><![CDATA[SELECT oa_alert_log.alert_id, oa_alert_log.system_id, oa_alert_log.timestamp, system.man_ip_address, system.hostname, system.man_description, oa_alert_log.alert_details FROM system, oa_alert_log, oa_group_sys WHERE oa_alert_log.user_id is NULL AND oa_alert_log.system_id = system.system_id AND oa_alert_log.system_id = oa_group_sys.system_id AND oa_group_sys.group_id = @group AND oa_alert_log.alert_table like 'sys_hw_%' GROUP BY oa_alert_log.alert_id ORDER BY oa_alert_log.timestamp DESC ]]></report_sql>
<report_view_file>v_report_alerts</report_view_file>
<report_view_contents></report_view_contents>
<report_processing></report_processing>
<report_sort_column>0</report_sort_column>
<report_description>Any Hardware Alerts created by newly found, no longer present or changed items.</report_description>
</details>
<columns>
<column>
<column_order>0</column_order>
<column_name>Timestamp</column_name>
<column_variable>timestamp</column_variable>
<column_type>text</column_type>
<column_link></column_link>
<column_secondary></column_secondary>
<column_ternary></column_ternary>
<column_align>left</column_align>
</column>
<column>
<column_order>1</column_order>
<column_name>IP Address</column_name>
<column_variable>man_ip_address</column_variable>
<column_type>ip_address</column_type>
<column_link></column_link>
<column_secondary></column_secondary>
<column_ternary></column_ternary>
<column_align>left</column_align>
</column>
<column>
<column_order>2</column_order>
<column_name>System Name</column_name>
<column_variable>hostname</column_variable>
<column_type>link</column_type>
<column_link>/main/system_display/</column_link>
<column_secondary>system_id</column_secondary>
<column_ternary></column_ternary>
<column_align>left</column_align>
</column>
<column>
<column_order>3</column_order>
<column_name>System Description</column_name>
<column_variable>man_description</column_variable>
<column_type>text</column_type>
<column_link></column_link>
<column_secondary></column_secondary>
<column_ternary></column_ternary>
<column_align>left</column_align>
</column>
<column>
<column_order>4</column_order>
<column_name>Details</column_name>
<column_variable>alert_details</column_variable>
<column_type>text</column_type>
<column_link></column_link>
<column_secondary></column_secondary>
<column_ternary></column_ternary>
<column_align>left</column_align>
</column>
<column>
<column_order>5</column_order>
<column_name>Tags</column_name>
<column_variable>tag</column_variable>
<column_type>text</column_type>
<column_link></column_link>
<column_secondary></column_secondary>
<column_ternary></column_ternary>
<column_align>left</column_align>
</column>
</columns>
</report>[/code]

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


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.  [ 6 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