|
Project Information
Links
|
Apple OS X Servers run a command and control daemon on port 311 which uses XML to send and receive commands and report status. This is the native protocol used by Apple's own Server Manager application and talks over HTTPS. Using this library it's possible to get status updates from a server and send commands to restart services etc. This code can be run from Linux (theoretically any OS with Python 2.5+), Mac OS X and it should run with Windows also. It can talk to server versions of Panther, Tiger, Leopard and Snow Leopard (Older Versions May Work But I Have No Access To Them). 10.7 support works but still requires testing. You need to allow Agent-less logins with the following at a command line on the server: sudo defaults write /Library/Preferences/com.apple.servermgrd requireUserAgent -bool false sudo killall servermgrd Ubuntu 12.04 Error: There is currently an upstream bug in openssl which may result in the following error ERROR: Problem Contacting Server:<urlopen error [Errno 8] _ssl.c:504: EOF occurred in violation of protocol> The bug is being tracked at https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/965371 0.6.4 Upgrade: Note there is a new config file in the package which adds some extra options. So if you have used the old one in the past you'll need to copy them in there. 10.7 support should be functional now. Please log bugs if you have any trouble. 0.6.2 -> 0.6.3 Upgrade: Simply download the tarball and overwrite your check_osx_server executable wherever you have placed it. 0.6.3 is purely a bugfix release to correct a problem with the HDD threshold triggers. Monitor & Automatically Restart
Hardware Monitoring
New Informational Modes
|