Page 1 of 1

Check Apple

Posted: Fri Aug 15, 2014 5:11 pm
by JohnFLi
How can I check to verify a service (program) is run on a Mac os??

Re: Check Apple

Posted: Sun Aug 17, 2014 9:28 am
by eloyd
Same way you would on any other Unix system. You need to have either an agent running on the Mac (like NRPE) or you need to have SSH access that allows you to log in from the nagios user on the Nagios server without a password. Then you can use either check_nrpe or check_by_ssh to check something on the Mac.

If the service has an open port that can be checked externally, then you can just check that with either check_tcp or check_http or some other plugin that may check for what you're looking for without requiring an agent running on the Mac.

Re: Check Apple

Posted: Mon Aug 25, 2014 9:16 am
by tmcdonald
JohnFLi, are we clear to lock this up?

Re: Check Apple

Posted: Wed Aug 27, 2014 3:59 pm
by JohnFLi
Yes....you can close this.
Thank you