Changeset 11219
- Timestamp:
- 03/26/16 21:16:27 (8 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-stat.c
r11218 r11219 447 447 static void housekeeping_stat(int32_t force); 448 448 449 void readerinfofix_get_stat_query(ECM_REQUEST *er, STAT_QUERY *q) 450 { 451 get_stat_query(er, q); 452 } 453 454 void readerinfofix_inc_fail(READER_STAT *s) 455 { 456 inc_fail(s); 457 } 458 459 READER_STAT *readerinfofix_get_add_stat(struct s_reader *rdr, STAT_QUERY *q) 460 { 461 return get_add_stat(rdr, q); 462 } 449 463 450 464 static int32_t get_reopen_seconds(READER_STAT *s) -
trunk/module-stat.h
r11217 r11219 25 25 void lb_update_last(struct s_ecm_answer *ea_er, struct s_reader *reader); 26 26 uint16_t lb_get_betatunnel_caid_to(ECM_REQUEST *er); 27 void readerinfofix_get_stat_query(ECM_REQUEST *er, STAT_QUERY *q); 28 void readerinfofix_inc_fail(READER_STAT *s); 29 READER_STAT *readerinfofix_get_add_stat(struct s_reader *rdr, STAT_QUERY *q); 27 30 #else 28 31 static inline void init_stat(void) { } -
trunk/oscam-ecm.c
r11072 r11219 1721 1721 } 1722 1722 1723 // this fixes big oscam mistake - wrong reader status on web info aka not counted timeouts which dispalyed reader info 100 percent OK but reader had a ton of unhandled timeouts! 1724 else if(ea->rc == E_TIMEOUT) 1725 { 1726 #ifdef WITH_LB 1727 STAT_QUERY q; 1728 readerinfofix_get_stat_query(er, &q); 1729 READER_STAT *s; 1730 s = readerinfofix_get_add_stat(reader, &q); 1731 if (s) 1732 { 1733 cs_log_dbg(D_LB, "inc fail {client %s, caid %04X, prid %06X, srvid %04X} [write_ecm_answer] reader %s rc %d, ecm time %d ms (%d ms)", (check_client(er->client) ? er->client->account->usr : "-"), er->caid, er->prid, er->srvid, reader ? reader->label : "-", rc, ea->ecm_time, ntime); 1734 readerinfofix_inc_fail(s); //now increase fail factor for unhandled timeouts 1735 } 1736 #endif 1737 reader->ecmsnok++; //now append timeouts to the readerinfo Total NOK count (aka sum of timeouts + not OK) 1738 } 1723 1739 //Reader ECMs Health Try (by Pickser) 1724 1740 if(reader->ecmsok != 0 || reader->ecmsnok != 0) -
trunk/webif/readers/readers.html
r10872 r11219 53 53 <TH>Groups</TH> 54 54 <TH data-sort="int" data-sort-default="desc" class="sortable">OK</TH> 55 <TH data-sort="int" data-sort-default="desc" class="sortable"> NOK</TH>55 <TH data-sort="int" data-sort-default="desc" class="sortable">Total NOK<BR>timeouts+notOK</TH> 56 56 <TH>Filtered<BR><SPAN TITLE="filtered by ECM Header Whitelist"> Head </SPAN>/<SPAN TITLE="filtered by ECM Whitelist"> Len </SPAN></TH> 57 57 <TH>error<BR><SPAN TITLE="unknown EMM"> UK </SPAN>/<SPAN TITLE="global EMM"> G </SPAN>/<SPAN TITLE="shared EMM"> S </SPAN>/<SPAN TITLE="unique EMM"> UQ </SPAN></TH> -
trunk/webif/status/status_userinfo.html
r10073 r11219 30 30 <TBODY CLASS="statusecminfo ##DISPLAYECMINFO##"> 31 31 <TR> 32 <TH COLSPAN="13" CLASS="nameinfo"> Ecm Info</TH>32 <TH COLSPAN="13" CLASS="nameinfo">Users Ecm Info</TH> 33 33 </TR> 34 34 <TR>
Note:
See TracChangeset
for help on using the changeset viewer.