Any experience using Mac OS X Server Monitoring Library?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jwestlake
Posts: 21
Joined: Wed Oct 17, 2012 12:44 pm

Any experience using Mac OS X Server Monitoring Library?

Post by jwestlake »

Hi there,

I'm fairly new to Nagios though I've used it in the past at a previous job to keep an eye on things. This is my first time setting it up from scratch, however, and I'm having no luck getting any monitoring to work. First things first, we're about 95% Mac, so I really need reliable Mac monitoring to work. I was able to install the Nagios agent for Mac OS X and add the host to the monitoring server, however every service it was monitoring shows "Connection refused by host". I'd checked that the server's IP was in the allowed list, there's no firewall, etc. I kind of gave up on that route. I'm open to suggestions there.

Then I found the Mac OS X Server Monitoring Library at http://bit.ly/TLqrDV. I'm able to get useful information from the Mac servers by running commands from the command line on the Nagios server, however I'm not sure how to use this newfound knowledge to monitor my servers. For example,

/check_osx_server afpUserList server.ourdomain.com 311 adminuser adminpw

gives me the logged in users. This is good stuff, but how can I take these useful commands and turn that into a monitoring solution for my Mac servers? I've found less than zero documentation on the subject, if that's even possible...

...or I'm just being obtuse and it's right in front of me. But for the life of me, I can't find it.

We're running XI 2012R1.2 on CentOS 6.3.

Thanks for any insight!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Any experience using Mac OS X Server Monitoring Library?

Post by scottwilkerson »

Sure, if you are running these from the Nagios server you are real close to make plugin of them

http://library.nagios.com/library/produ ... -nagios-xi
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jwestlake
Posts: 21
Joined: Wed Oct 17, 2012 12:44 pm

Re: Any experience using Mac OS X Server Monitoring Library?

Post by jwestlake »

Thanks for that! I'll look there and see what I can make of it.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Any experience using Mac OS X Server Monitoring Library?

Post by slansing »

Moving thread over to your new one.
Locked