Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
In

...

the manual

...

Troubleshooting errors during the RRD conversion, we try to collect and document some common issues during the conversion of pnp4nagios to Round Robin Database (RRD). As we can't document all the issues, we offer

...

a way to debug that here.

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.0.0P1


Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents



Tip
XMLLINT parses xml files and can give you a detailed error. 

Step-by-step guide

  1. Install xmllint

    Code Block
    languagebash
    themeRDark
    root@linux# apt -y install libxml2-util

    .

  2. run Run that for loop with xmllint and some debug as site user and . This command will also write the result to a file called xmllint.log.

    Code Block
    languagebash
    themeRDark
    root@linux# su - mysite
    OMD[mysite]:~$ for i in $(find ~/var/pnp4nagios/perfdata/ -name "*xml"); do echo "#####$i####"; xmllint  --debug  --format $i; echo "#####" ;done &> xmllint.log

    .

  3. With the parameter --noout, xmllint will show you only the errors and not the whole structure of the xml files.

    Code Block
    languagebash
    themeRDark
    root@linux# su - mysite
    OMD[mysite]:~$ for i in $(find ~/var/pnp4nagios/perfdata/ -name "*xml"); do echo "#####$i####"; xmllint  --noout --debug  --format $i; echo "#####" ;done &> xmllint_only_debug.log

    .

  4. Check if we already provide a solution here: Error Troubleshooting errors during the RRD conversion.
    .
  5. If there is no solution, you can open a support case and provide us with the log. Then we can analyze that.


Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "rrd" , "pnp4nagios" , "howto" ) and type = "page" and space = "KB"
labelsrrd pnp4nagios

...