In that the manual Error during the RRD conversion we try to collect and document some common issues during the conversion of pnp4nagios. As we can't document all the issues, we offer here a way to debug that.
...
Install xmllint
Code Block language bash theme RDark apt -y install libxml2-util
run that for loop with xmllint and some debug as site user. That This command will also write the result to a file called xmllint.log
Code Block language bash theme RDark OMD[mysite]:~$ for i in $(find ~/var/pnp4nagios/perfdata/ -name "*xml"); do echo "#####$i####"; xmllint --debug --format $i; echo "#####" ;done &> xmllint.log
with the parameter --noout xmllint with will show you only the errors and not the whole structure of the xml files
Code Block language bash theme RDark 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
- Check if we already provide a solution here:Error during the RRD conversion
- If there is no solution, you can open a support case and provide us with the log. Then we can analyze that
...