• Łukasz Nowak's avatar
    check_surykatka_json: Minimise message variation · 587c0792
    Łukasz Nowak authored
    Monitoring is about states, not exact values, so report the states, as
    otherwise it results with bloating databases, very long accesses to results
    and long synchronisations.
    
    Instead of many entries like:
    
    http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: ERROR IP IP replied in 5.02s which is longer than maximum 5.00s
    http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: ERROR IP IP replied in 5.03s which is longer than maximum 5.00s
    http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: ERROR IP IP replied in 5.04s which is longer than maximum 5.00s
    http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: ERROR IP IP replied in 5.01s which is longer than maximum 5.00s
    http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: OK IP IP replied in 0.08s which is shorter than maximum 5.00s
    http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: OK IP IP replied in 1.37s which is shorter than maximum 5.00s
    http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: OK IP IP replied in 0.09s which is shorter than maximum 5.00s
    http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: OK IP IP replied in 1.37s which is shorter than maximum 5.00s
    http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: OK IP IP replied in 0.09s which is shorter than maximum 5.00s
    
    It's minimised to:
    
    http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: ERROR IP IP replied in more time than maximum 5.00s
    http://url/ : http_query: OK status code 302 on IPs IP elapsed_time: OK IP IP replied in less time than maximum 5.00s
    
    This affects:
    
     * bot_status
     * http_query
    
    Obviously some information are removed from the monitor, but anyway they are
    just text entries and not parsable. So other approaches shall be used to make
    graphs from those values, which is not covered by pure promise status.
    587c0792
Name
Last commit
Last update
..
__init__.py Loading commit data...
backupserver_check_backup.py Loading commit data...
check_certificate.py Loading commit data...
check_command_execute.py Loading commit data...
check_error_on_http_log.py Loading commit data...
check_error_on_zope_longrequest_log.py Loading commit data...
check_file_state.py Loading commit data...
check_free_disk_space.py Loading commit data...
check_icmp_packet_lost.py Loading commit data...
check_neo_health.py Loading commit data...
check_partition_deployment_state.py Loading commit data...
check_port_listening.py Loading commit data...
check_re6st_optimal_status.py Loading commit data...
check_server_cpu_load.py Loading commit data...
check_surykatka_json.py Loading commit data...
check_url_available.py Loading commit data...
monitor_bootstrap_status.py Loading commit data...
trafficserver_cache_availability.py Loading commit data...
util.py Loading commit data...
validate_frontend_configuration.py Loading commit data...