...
Status |
---|
colour | Green |
---|
title | LAST TESTED ON CHECKMK 2.23.0P1 |
---|
|
Panel |
---|
borderColor | black |
---|
bgColor | #f8f8f8 |
---|
title | Table of Contents |
---|
|
|
Problem
For some reason, the agent updater is failing when trying to execute:
Code Block |
---|
|
root@dockerhost:~# cmk-update-agent -V
sequence item 0: expected str instance, bytes found
See syslog or Logfile at /var/lib/check_mk_agent/cmk-update-agent.log for details. |
Solution
Delete the state file
Code Block |
---|
|
root@linux~# rm /etc/cmk-update-agent.state |
.
Switch to the site user.
Code Block |
---|
|
root@linux~# su mysite |
.
Register the agent again.
Code Block |
---|
|
OMD[mysite]:~$ cmk-update-agent register |
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 ( "linux_agent" , "updater" , "troubleshooting" ) and type = "page" and space = "KB" |
---|
labels | updater linux_agent |
---|
|
...