Just getting started with custom alerts. We have some accounts that are needed to run jobs. Occasionally the account is logged off and it wreaks havoc with the overnite jobs.
Ideally we'd like to get alerts when these accounts log off or are not present in the system.
Thanks for any and all help....
I would personally create such a monitor with a powershell script by putting the logged on user into a variable with:
$loggedInUser = get-wmi -class win32_computersystem | select-object UserName
Then compare it with the chosen initials which you could also put into a variable so you can reuse the template.
The stats have to always be integers so output a 1 for found and a 0 for not found then set an alert to be raised if the statistic is equal to zero on 1 poll.
Hard to help without knowing some background. OS and version? It would be cool if you could have the alert send an email and fix your issue at the same time. Wonder if you could have the trigger action log the account back on or restart the service responsible.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 150,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.