Question

Debug bad formatted performance data

  • 24 November 2022
  • 3 replies
  • 18 views

Badge +3

Hello,

I see frequently ibd files growing on my DB du to bad formatted performance data collected (space added is the major issue).

Searching thoose bad data is really painfull in broker logs.
Is there any other way to identify easily thoose data?

 

Thx


3 replies

Badge +10

👋

 

@nicnictout there are a couple of things to take into consideration:

  • confirm that the purge is working / scheduled
    • /etc/cron.d/centstorage
      • /bin/php /usr/share/centreon/cron/centstorage_purge.php
  • adjust your retention parameters
  • look into the perfdata to fix the format
    • confirm the plugin/device produces the right perfdata
    • look for the host/service that might be consistan for the one service/host and fix as needed
      • For example the error bellow corresponds to host id 1234 and service id 98765 
[YYYY-MM-DDTHH:MM:01.005-00:00] [perfdata] [error] invalid perfdata format in service (1234:98765): equal sign not present or misplaced '| FAN1_RPM='

🤞

Badge +3

Hello,

 

ok that’s already the workflow I had to identify bad datas, I’ve hope there were a way with maybe a DB query to identify services in trouble more easily.

I’ll developp a logfile template or script in order to generate a report as expected so.

 

Thks for your time @ponchoh 

Badge +10

will 😍 to see it out of curiosity, tag me if you do 😎!

Reply