How to generate report for new agent installed.
Hi guys,
I need some help. I need to create a report that everytime new agent is installed, it will auto-generate a report and send to an email.
thanks in advance.
0 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
chucksteel
8 years ago
Top Answer
This query will show computer records that were created in the past 7 days:
SELECT MACHINE.NAME, MACHINE.IP FROM ORG1.MACHINE
WHERE MACHINE.CREATED > DATE_SUB(NOW(),INTERVAL 7 DAY)
To create and schedule this report:
1. In the Reporting module, Choose Action, New (SQL)
2. Paste the query from above and enter the other information as you see fit
3. Save the report
4. Under Reporting click Report Schedules
5. Click Choose Action, New
6. Enter a descriptive name
7. Choose the report from the dropdown
8. Fill out the notify section appropriately
9. Select the schedule
For the above query it would make sense to schedule this report to run weekly. If you would prefer daily notification then change the query interval from 7 day to 1 day and set the schedule for daily.
Comments:
-
Hi chucksteel, thanks a lot. - lalako88 8 years ago