I am trying to figure out how I can create an analysis that will return the output to the TEM Reporting Server using the lastlog command for Linux systems? WHat about AIX?
I have an initiative from our Auditing department to show what and when users last logged into a system. If I can get an analysis to check or run the lastlog command for Linxu then I could generate a report that would show the auditors the output of that command on all my hosts.
This topic has been locked.
Pinned topic Create analysis for lastlog
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
jgolembi 270003WWGG1 Post
Re: Create analysis for lastlog2012-10-11T17:14:00ZThis is the accepted answer. This is the accepted answer.Jkinning,
I would make this a two step process.
Create a task that checks for the existence of a lastlogdumpfile then appends of creates a new file based on your needs.
I would then create an analysis that would pull data back on this txt file. "Lines of file("/etc/lastlogdumpfile")" would probably do the trick.
- Create a task that checks for the existence of a lastlogdumpfile then appends of creates a new file based on your needs.