...
Info |
---|
During the conversion of pnp4nagios files to the rrd format, you may face these errors. |
Status |
---|
colour | Green |
---|
title | LAST TESTED ON CHECKMK 2.1.0P1 |
---|
|
'NoneType' object has no attribute 'text'
...
- If it's related to a builtin Check → Check, please open a ticket via the customer portal
- If it's a customization → You , you need to change the service description of the service, do a rediscovery, and move the old pnp4nagios files to the new ones
...
In the first line of the cmk-update-config -vv --debug output, there is already a hint to the corresponding host:
...
Please fetch that name and remove the .mk suffix. Now you have the Hostname. In my case, it's MYHOST.
Now you can use xmllint to debug that:
Code Block |
---|
|
OMD[mysite]:~$ xmllint -noout --format var/pnp4nagios/perfdata/MYHOST/*xml
var/pnp4nagios/perfdata/MYHOST/Filesystem_F__.xml:114: parser error : expected '>'
</N
^ |
It seems like the problem is in row 114 with a missing '>'. Let's check the xml file.
...
If you now run cmk-update-config -vv --debug again, there should be no error
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | KB |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ("agent_bakery","user_roles_permissions","user","roles") and type = "page" and space = "KB" |
---|
labels | agent_bakery user_roles_permissions roles user |
---|
|