Command to Troubleshoot OS X Server

Location of executable: /Applications/Server.app/Contents/ServerRoot/usr/sbin

Launch Terminal:

sudo serverdiagnose