Feature #1429
closed
Úprava cronjobu pro generování cache dashboardu
Added by Pavel Kácha over 10 years ago.
Updated over 10 years ago.
Category:
Development - GUI
Description
Nageneruje příslušné cache pro jednotlivé sítě abusů, získané v #1428
- Priority changed from Normal to High
- Status changed from New to Closed
- Status changed from Closed to New
Přidat logování progressu i do logu (cron to pošle až po všem, zatímco v logu se na to dá podívat).
- Status changed from New to In Progress
Stdout && /var/mentat/log/hawat-precache.log
Sun Mar 30 13:54:56 2014 mentat hawat-precache[17698]: NOTICE: Subnet: 147.251.0.0-147.251.255.255, From: 2014-02-28 00:00:00, To: 2014-03-30 00:00:00
Sun Mar 30 13:54:56 2014 mentat hawat-precache[17698]: NOTICE: Subnet: 195.178.86.0-195.178.87.255, From: 2014-02-28 00:00:00, To: 2014-03-30 00:00:00
...
Sun Mar 30 13:54:57 2014 mentat hawat-precache[17698]: NOTICE: Subnet: 2001:718:805::/48, From: 2013-12-30 00:00:00, To: 2014-03-30 00:00:00
Sun Mar 30 13:54:57 2014 mentat hawat-precache[17698]: ERROR: Unable convert query to ipv4: Invalid argument '2001:718:805::/48' given at /home/mentat/mentat/lib/Value/Convertor.pm line 1363
Value::Convertor::ipv4_to_bin('Value::Convertor', '2001:718:805::/48') called at /home/mentat/mentat/lib/Mentat/Storage/Mongo/Aggregator.pm line 396
eval {...} called at /home/mentat/mentat/lib/Mentat/Storage/Mongo/Aggregator.pm line 395
Mentat::Storage::Mongo::Aggregator::generate_data_key('Mentat::Storage::Mongo::Aggregator=HASH(0x3557100)', '2001:718:805::/48', 1388358000, 1396134000) called at /home/mentat/mentat/lib/Mentat/Storage/Mongo/Aggregator.pm line 202
Mentat::Storage::Mongo::Aggregator::get_dashboard_data('Mentat::Storage::Mongo::Aggregator=HASH(0x3557100)', '2001:718:805::/48', '2013-12-30 00:00:00', '2014-03-30 00:00:00') called at /home/mentat/mentat/lib/Mentat/Stats/Dashboard.pm line 258
Mentat::Stats::Dashboard::get_table('Mentat::Stats::Dashboard=HASH(0x3556800)', '2001:718:805::/48', '2013-12-30 00:00:00', '2014-03-30 00:00:00') called at ./hawat-precache line 84
eval {...} called at ./hawat-precache line 83
- Status changed from In Progress to Feedback
- Status changed from Feedback to Closed
Also available in: Atom
PDF