Sensu client on OS X?

I’d like to monitor an OS X server. I’m not really sure where to start as the docs don’t have any information on installing from source. Any suggestions?

Sterling,

So I had to go down this road for the single “production” mac in our network, which is just a Jenkins slave that handles some OSX builds for us. Since this server is not under configuration management I didn’t feel too dirty simply installing the gem manually and creating a plist to manage the service ( com.tropo.sensu.plist · GitHub ). It would be nice if there was an official package for OSX at some point, but until then this approach has served me well. Hope you find it helpful.

-John

···

On Tuesday, September 30, 2014 2:44:59 PM UTC-4, Sterling Anderson wrote:

I’d like to monitor an OS X server. I’m not really sure where to start as the docs don’t have any information on installing from source. Any suggestions?

Thanks John. Easier than I thought. Out of curiosity what kind of checks are you running? I can’t even use the check load plugin as my OS X servers don’t have /proc.

···

On Wednesday, October 1, 2014 7:14:09 AM UTC-5, John Dyer wrote:

Sterling,

So I had to go down this road for the single “production” mac in our network, which is just a Jenkins slave that handles some OSX builds for us. Since this server is not under configuration management I didn’t feel too dirty simply installing the gem manually and creating a plist to manage the service ( https://gist.github.com/johntdyer/89b13d74351ae2abf752 ). It would be nice if there was an official package for OSX at some point, but until then this approach has served me well. Hope you find it helpful.

-John

On Tuesday, September 30, 2014 2:44:59 PM UTC-4, Sterling Anderson wrote:

I’d like to monitor an OS X server. I’m not really sure where to start as the docs don’t have any information on installing from source. Any suggestions?

Hi,

We had to monitor few os x so we just took the linux scripts and adapt them. You can find them here:

It will be definitely nice to have a package for OS X.

Best Regards,

Ludo

···

On Wednesday, October 1, 2014 at 10:15:33 AM UTC-7, Sterling Anderson wrote:

Thanks John. Easier than I thought. Out of curiosity what kind of checks are you running? I can’t even use the check load plugin as my OS X servers don’t have /proc.

On Wednesday, October 1, 2014 7:14:09 AM UTC-5, John Dyer wrote:

Sterling,

So I had to go down this road for the single “production” mac in our network, which is just a Jenkins slave that handles some OSX builds for us. Since this server is not under configuration management I didn’t feel too dirty simply installing the gem manually and creating a plist to manage the service ( https://gist.github.com/johntdyer/89b13d74351ae2abf752 ). It would be nice if there was an official package for OSX at some point, but until then this approach has served me well. Hope you find it helpful.

-John

On Tuesday, September 30, 2014 2:44:59 PM UTC-4, Sterling Anderson wrote:

I’d like to monitor an OS X server. I’m not really sure where to start as the docs don’t have any information on installing from source. Any suggestions?

Sterling,

It’s just a Jenkins build slave so the checks are super basic:

  • keepalive

  • disk usage

  • process

-john

···


Sent from Mailbox

On Wed, Oct 1, 2014 at 1:15 PM, Sterling Anderson s@sterlinganderson.net wrote:

Thanks John. Easier than I thought. Out of curiosity what kind of checks are you running? I can’t even use the check load plugin as my OS X servers don’t have /proc.

On Wednesday, October 1, 2014 7:14:09 AM UTC-5, John Dyer wrote:

Sterling,

So I had to go down this road for the single “production” mac in our network, which is just a Jenkins slave that handles some OSX builds for us. Since this server is not under configuration management I didn’t feel too dirty simply installing the gem manually and creating a plist to manage the service ( https://gist.github.com/johntdyer/89b13d74351ae2abf752 ). It would be nice if there was an official package for OSX at some point, but until then this approach has served me well. Hope you find it helpful.

-John

On Tuesday, September 30, 2014 2:44:59 PM UTC-4, Sterling Anderson wrote:

I’d like to monitor an OS X server. I’m not really sure where to start as the docs don’t have any information on installing from source. Any suggestions?