-
Notifications
You must be signed in to change notification settings - Fork 186
XMLRPC call count chart from logs
Silvio Moioli edited this page Jun 6, 2022
·
1 revision
This utility is used for analyzing calls distribution from the /var/log/rhn/rhn_server_xmlrpc.log
files (including already rotated) what XML-RPC calls are happening per what period.
Source code: https://github.com/isbm/spacewalk-power-toys/blob/master/rpcmap.py
Usage:
rpcmap <mode> [options]
Modes:
YYYY/MM/DD
A valid day in the log, e.g. 2015/02/22 etc.
--all
Use all available dates in the log.
--show
List all available periods in the log.
Options:
--use-all-logs
Read all logs, including already compressed (rotated)
--call=...
A string that would match an XML-RPC call.
Result example:
Used 6 logs
Found 31 nodes
------------------------
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| # |
| ## |
| ## |
| ## |
| ## |
| ## #|
| ## #|
| ### #|
| ### #|
| ### #|
| ### #|
| ### #|
| ### #|
| ### #|
| #### #|
| #### # #|
| #### # #|
| #### # # #|
| #### # # #|
| #### ## # # #|
| # #### ## # # # #|
| # #### ## # # # #|
| # #### ## # # # #|
| # # # ############### #|
|.#######################|
------------------------
Top 5 peaks:
865 calls at 08:30:00
394 calls at 09:30:00
340 calls at 00:00:00
306 calls at 07:30:00
180 calls at 06:30:00
Top 5 calls:
up2date.listChannels
registration.welcome_message
queue.get
up2date.login
errata.getErrataNamesById