#656 Build Load monitoring
Closed: Fixed None Opened 15 years ago by mmcgrath.

I'd like a script to run on our koji box, outputting to /var/log/messages that basically prints the buildload every 10 minutes. (similar to typing ".buildload" in #fedora-admin on irc.freenode.net)

This will allow us to trend properly over time to see how busy our buildsystem really is.


Side note, really something that pipes to logger would be fine here something like:

./printsBuildLoad.sh | logger

whatever printsBuildLoad ends up being.

files added.
awaiting a check before close this ticket.

Just checking in here. I knew that script was built but I don't actually see that its running via cron when I tail /var/log/messages

thanks for the heads-up, i'll have a closer look.

We should be able to monitor this with Zabbix now, I'll do this after change freeze.

So, no, I think we need more work here on this. ;)

Currently:

  • The script is not running. I think due to the missing user argument in the cron.d file (ie, root).
  • The script is on all of the builder hosts. Since the script pulls info from all hosts/hub, there shouldn't be any need to run it on all the builders, we should perhaps run it on just koji01, or for that matter, perhaps just noc01.

Rafael: Can you look at those changes?
(Keep in mind we are going into freeze, so don't commit anything during that time).

Here is an example from #fedora-admin:[[BR]]

.buildload[[BR]]
Load: 46.6 Total: 96.0 Use: 48.5% (Medium Load)

I am wating finish freeze to close this ticket with these actions:

Remove buildload script from build.pp and add it to manifests/services/noc.pp and fix the configs/build/kojiload so the syntax is right and it actually runs.

The correct syntax is:

/10 * * * nobody /usr/local/bin/buildload | logger -t kojiload

Whats the status on this? :)

Putting together Rafael's fixes.
1.patch

Applied. Thanks jacibato and rafaelgomes. :)

Login to comment on this ticket.

Metadata