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?
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.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
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?
I am still using Mac OS X server 10.4, 10.6 and testinf 10.7
For me the only way at the moment is to use Apple Remote Desktop and the Server Admin App on the iPhone which monitors at least from 10.4 up 10.7
regards
azurar01 wrote:
Hi all, I managed to get the stats working, here's the process I followed.
- Reset PRAM (reboot + hold Option+Command+P+R and wait for the 3rd chime).
- Check status of first key in /System/Library/LaunchDaemons/ServerPerfLog.plist.
- If key is set to 'Disabled' then edit it (in text editor) to 'Enabled'.
- Save and replace /System/Library/LaunchDaemons/ServerPerfLog.plist.
- Close editor and all other apps.
- 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.
Plus one here for the xserve same problem have also tried the suggestions given here
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.
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.
This worked for me as well.
MacMini 3,1
Upgrade in place from 10.6.8
For a quick and easy solution, all GUI too if thats ok, I used Lingon. Find the appropriate .plist, click the enable box, save & exit. Reboot (or use launchctl load from terminal). No mess around with sudo or fixing permissions etc.
Thanx nwmclean - that was the way I like to do things ---- easy
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).
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.
Hi Superstantial, alas no further forward here. 😟
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
I have just up graded to 10.7.1; initial tests appear positive. I will post my results when the server has had a few days load under 10.7.1.
type in terminal:
sudo defaults write /System/Library/LaunchDaemons/com.apple.ServerPerfLog.plist Disabled -bool 'false'
and restart the server.
Thank you
this fixed my Mac mini upgraded from Snow Leopard to Lion.
Interesting point is, I've also got a Mac mini Lion Server out of the box. It shows stats and that very plist file has its key set to <false>
John
server status stats not showing any information