Does SecuritySpy have any custom daemons or use any specific Apple ones?
Greetings,
I know this is kind of a random question, but we have a remote monitoring software that we are trying to implement on our camera servers to monitor if the software is running. The only option we have is a check that looks to see if a particular daemon is running or not and if not sends out an alert. I've looked through the lists of daemons that it provides us from our Mac mini and I don't see anything having to do with SecuritySpy. Any info you can provide would be greatly appreciated.
I know this is kind of a random question, but we have a remote monitoring software that we are trying to implement on our camera servers to monitor if the software is running. The only option we have is a check that looks to see if a particular daemon is running or not and if not sends out an alert. I've looked through the lists of daemons that it provides us from our Mac mini and I don't see anything having to do with SecuritySpy. Any info you can provide would be greatly appreciated.
Comments
-
Hi - SecuritySpy doesn't run as a daemon and doesn't have any components that run as daemons. I could supply you with some C or AppleScript code to check if a particular application is currently running, if that helps?
-
That's ok, I just needed to find out if our monitoring software would work for this but it doesn't appear that it will. Thanks for your time.
-
Ben,
Could I please get those scripts from you? You can send them to jeremy@poudrecomputer.com. Thanks. -
Hi - the AppleScript is very simple:
tell application "System Events"
(name of processes) contains "SecuritySpy"
end tell
This returns "true" or "false" depending on whether SecuritySpy is running.
Hope this helps! -
And you can always do "ps -A | grep 'some name here' "at a command prompt and then extrapolate that into some script that tells you is 'some name here' is running or not.... I'm just amazed that somehow not running as a daemon is a bad thing. Or I'm misinterpreting the prior post in some fashion.
