Check Apple

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Check Apple

Post by JohnFLi »

How can I check to verify a service (program) is run on a Mac os??
Everybody is somebody else’s weirdo
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Check Apple

Post 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.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Check Apple

Post by tmcdonald »

JohnFLi, are we clear to lock this up?
Former Nagios employee
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: Check Apple

Post by JohnFLi »

Yes....you can close this.
Thank you
Everybody is somebody else’s weirdo
Locked