Skip to main content

For monitoring and cleanup, We would like to create a list of users that haven’t logged into Maintenix for the last X period. 
Possibly a query all users of department Y last login before date X.

We cannot find historic login for users. 

Hi Arjen,

There is no formal solution for tracking the last login to Maintenix. A customer that was not using SSO could infer this information via password resets.

Solutions could be built around the application’s access logs, and monitored externally. The logged in user will appear in these logs.

There is a Security Audit feature that will record instances of password changes, users being assigned to or removed from roles, role being modified, etc. It will also record successful logins and logouts. You could begin to track this information with a custom solution.

To implement this feature, you add this type of entry to our Log4j2 mxlogging.xml file.

<Appenders>
<File name="SecurityAuditAppender" fileName="/mxi/domain/servers/admin-server/logs/SecurityAudit.log">
</File>
</Appenders>

<Loggers>
<logger name="com.mxi.mx.common.security" level="DEBUG">
<AppenderRef ref="SecurityAuditAppender" />
</logger>
</Loggers>