Showing Kace agent status in the System Tray
Does anyone have any work arounds to show some status that the agent in present on the users machines?
I've read http://kace.uservoice.com/forums/82699-k1000/suggestions/1706025-kagent-show-icon-on-client-machine-with-info-, but curious if anyone knows of any 3rd party apps that can accomplish this in the meantime.
Answers (5)
There are a lot of "minimize any app to the system tray" type of apps out there, but it basically comes down to the Kace agent not really having a GUI client interface. So you would basically need to code a GUI frontend, but before that would need to determine what exactly you want it to show. Is having a green indicator light if the Dell KACE Agent service is running (and red if not) good enough, or is there more? Something simple like that could probably be coded for in AutoIT fairly easily (excuse me since I'm always mentioning it, I've just found it to be really flexible and easy to use/compile) and then a 3rd party "systray" app could be used to take care of that aspect. Not saying I could whip that right out, but it's an idea at least.
John
If you're code savy, here's an article (with code) on writing a System Tray icon for a Windows service. I would imagine you could point to the Dell KACE Agent service and (possibly) achieve what you want:
Create a system tray icon and a dialog for a Windows Service
http://www.codeproject.com/Articles/23176/Create-a-system-tray-icon-and-a-dialog-for-a-Windo
Also, not sure if this would be relevant or not, but here's an MS post on the same subject:
http://social.msdn.microsoft.com/Forums/uk/csharpgeneral/thread/0e49b3df-6851-4db0-a4e1-964fd27729e2
John
If you just need to know if the agent is installed, the method described above would work, but the Dell KACE Agent service would only show that the service is running, not if it's connected or not.
If you want to know connection status, assuming Windows, you could use:
Netstat -nao | findstr "52230" | findstr "ESTABLISHED"
or:
There is a "AMP_CONNECTED" file that is created and present while amp is connected. Perhaps you could use that.