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.
Is that still necessary?
Can I close this ticket?
So, no, I think we need more work here on this. ;)
Currently:
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
Sounds great.
Whats the status on this? :)
Putting together Rafael's fixes. 1.patch
Applied. Thanks jacibato and rafaelgomes. :)
Login to comment on this ticket.