Any experience using Mac OS X Server Monitoring Library?
Posted: Tue Dec 04, 2012 9:56 am
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!
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!