Description:
The OCE 'Bad Polls' and 'All Errors' counts do not always match. The 'All Errors' count appears as a result of processing of different kind of polling errors. The 'Bad Polls' count is just total amount of elements that didn't get good poll status. The sources of the 'All Errors' and 'Bad Polls' data are different and different SQL queries are made to retrieve it from database. There can be situations when 'All Errors' count is affected and does not represent actual errors count, such as when element configuration iscorrupted.
Solution:
You can find explanation with technical details below.
NOTE 1: OCE users should remember that 'All Error' list shows only errors occurred on last poll, whereas messages.stats.log contains errors from many polls. It would be a mistake to compare total amount of errors after certain poll in the file and on the 'All Errors' page. Also, for certain errors are aggregated in the messages.stats.log file, so that only one message per-device is logged.
NOTE 2: As with any software product, there might be issues with the values of Bad Polls & All Errors.But investigation of log files and DB data is required anyway to confirm if there's an actual error. For example, possible root cause of incorrect 'All Errors' counts can be broken Element configuration (invalid parent-child associations). The nh_element, NH_MTF_VARIABLE, nh_elem_assoc tables are involved in the values processing.
NOTE 3:OCE users should take care when evaluating OCE Tree Item 'All errors' vs. 'Bad Polls' count on Polling Status page. The Polling Status page is updated automatically, whereas the 'All Errors' tree item has to be refreshed manually.