You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

server status stats not showing any information

After upgrading to Lion Server from Snow leopard server the status graphs for cpu, memory and network usage just appear as blank windows.. any know how to restart them or get them to show?

Posted on Jul 21, 2011 1:10 AM

Reply
50 replies

Jul 29, 2011 6:50 AM in response to azurar01

azurar01 wrote:


Hi all, I managed to get the stats working, here's the process I followed.


  1. Reset PRAM (reboot + hold Option+Command+P+R and wait for the 3rd chime).
  2. Check status of first key in /System/Library/LaunchDaemons/ServerPerfLog.plist.
  3. If key is set to 'Disabled' then edit it (in text editor) to 'Enabled'.
  4. Save and replace /System/Library/LaunchDaemons/ServerPerfLog.plist.
  5. Close editor and all other apps.
  6. Normal reboot and wait 3 minutes to allow for data to collect.


I now have stats in the Server app, and in the Admin tools locally.


Since Admin tools for Lion will not install on Snow Leopard, I am yet to work out how a server can be remotely monitored.

We tried this and all the prior ideas in this thread: none of them worked.


On our Xserve machine, we had Snow Leopard Server and we upgraded to Lion, and then to Lion Server as per Apple instructions. Then downloaded and install Server Admin Tools. Everything else works fine except the graphs for CPU and Network. They do not show on Server app nor Server Admin.


We also noticed such file (com.apple.ServerPrefLog.plist) did not exist on Snow Leopard Server OS. We assumed it was created by Lion?


Q: the key from "disable" to "enable", should the value be kept on "true" (default) or also change that to "false"?


We are open to try any new ideas.


Thanks.

Jul 29, 2011 11:08 AM in response to azurar01

The manpage for launchctl says this:


-w Overrides the Disabled key and sets it to false. In previous versions, this option would modify the

configuration file. Now the state of the Disabled key is stored elsewhere on-disk.


so as long as you see ServerPerfLog in your process list, being disabled is probably not the problem:


nyx$ ps ax | grep ServerPerfLog

98 ?? Ss 0:06.51 /usr/libexec/ServerPerfLog

nyx$


If you don't see it running, you can start it with launchctl:


sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.ServerPerfLog.plist


My daemon keeps running, but it seems to stop recording stats randomly, especially when Server.app isn't actively watching. It works fine on my laptop running lion server, but not this Early 2009 Mac Pro upgraded from Lion. Server load is not an issue, unless 100% idle is a problem.

Jul 29, 2011 12:15 PM in response to Community User

Our graphs are working now!!! Here is what I found out. I did not use terminal to edit "com.apple.ServerPerfLog.plist. I dragged the file to the desktop, then changed where the key Disabled was set to true I change to false (rkydd, Jul 25). I then dragged the file back to where I got it from, and of course, had to authenticated and click replace. However what happenned was "System" no longer own the file. The admin user I made the changes with now owned the file. Therefore, I selected the directory "LaunchDaemons", "getinfo" and "applied to enclosed items" fixing the rights. Rebooted the server. On the way up I zapped the Pram. When it started, all the graphs, cpu, memory, and network are working. I installed ServerAdmin Tools previously and this graph is now working as well. Now I need to work on OD, but that is a different thread.

Aug 1, 2011 9:38 AM in response to Community User

superstantial wrote:


My daemon keeps running, but it seems to stop recording stats randomly, especially when Server.app isn't actively watching.


Ditto. I managed to get the graphs appearing by logging in as root and following the process I posted further up the thread, though now if the Server app is not running the data is displayed either slowly 10 seconds wait before data or there is no data. I have noticed changing the period (say from 4 hours to 2 days) and back does seem to display data most times. I conclude the stats are being recorded, but not displayed.


At this stage I don't want to do a clean install, but I am loosing faith in the Snow Leopard upgrade to Lion. And Apple have not been too proactive on helping. So much for Apple Care. (Whinge over for now).

Aug 4, 2011 5:38 PM in response to azurar01

Bump.


Has anyone had any luck getting their Server.app Statistics to show up reliably? My graphs are so full of holes they are completely worthless.

Aug 13, 2011 10:58 AM in response to azurar01

I suspect the issue here is that while the daemon may be loaded, simply setting it to "enabled" is not sufficient. You need it to load at startup time or login.


I had the same problem -- when I logged in as a user and started ServerAdmin -- the daemon would start and graphing would contniue -- until I logged out.


Using lingon, I changed the daemon to both be enabled and startup at login/system start. That did the trick!


These seems to be yet another in a long list of things that don't quite work right when you migrate using the assistant from older hardware...


- Matt

server status stats not showing any information

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.