I was looking for login events in VNX file. The need is to identify who is login thru Unisphere GUI and CLI from what machine with time-stamp and login success or failure.
Checked the celerra audit log (/celerra/audit/audit.log). There are number of event types like type=user_auth / user_acct / user_login / login....
What is the best method or commands to get that info?
Have a look at the VNX documentation "Configuring and Using the Audit Tool on Celerra and VNX for File". This describes how to configure the VNX to send events to a remote SYSLOG server. You could use this to send the event data to another SYSLOG server to keep the audit trail intact.
If you don't have an external SYSLOG server and all you care about is grabbing those events, you could create a crontab on the control station to periodically grab the data you're interested in and write it to a file. This file could be emailed from the control station as well.
Thanks Karl for the information. I've gone through the document. Regarding the second part of your comment, how can i create a crontab and grab the login data and write it to a file?
Got this primus "emc62513" which puts some words of cautions before enabling auditing for control station. These are like this:
Cautions/Caveats: We should never enable SNARE unless the customer specifically requests this feature, understands how to use it, and is aware of the caveats listed below.
CPU Intesive product - on a vanilla CS can utilize 15 - 20% of CPU cycles.
Audit logs must be monitored for size as they are not automatically truncated.
Be selective when turning on auditing feature because of its intense use of CPU and logging capabilities.
Limit the use of other applications on the Control Station like usermapper, Celerra Monitor etc.
Product will not be enabled by default as it is CPU intensive and logs are not automatically managed.
Logs should be redirected to a system on the network or monitored closely if stored on the CS for size is not managed by SNARE.
Any advice on this? If anyone implemented auditing it will be helpful to understand the consequences. The fourth point "limit the use of other applications like usermapper, Celerra Monitor etc" is not very clear. Suggestion / advise is very much welcome!
"Configuring and Using the Audit Tool on Celerra and VNX for File" in this document it is stated to run the following command to restart SYSlog service:
"/etc/service syslog restart" the output is an error: -bash: /etc/service: No such file or directory
why this command is not working? what are the alternatives?
i've issued the command: /etc/init.d/syslog restart
I have confirmed that the typo is also in the latest document corresponding to the VNX OE for File v8.1 release. I'll open a ticket on your behalf. It has gone unnoticed for a while and just was carried over with each revision of the guide.
umichklewis
4 Apprentice
•
1190 Posts
2147
0
Posted October 1st, 2013 09:00
Have a look at the VNX documentation "Configuring and Using the Audit Tool on Celerra and VNX for File". This describes how to configure the VNX to send events to a remote SYSLOG server. You could use this to send the event data to another SYSLOG server to keep the audit trail intact.
If you don't have an external SYSLOG server and all you care about is grabbing those events, you could create a crontab on the control station to periodically grab the data you're interested in and write it to a file. This file could be emailed from the control station as well.
Let us know if that helps!