Closed edu8 closed 3 years ago
Hi @edu8, thanks for the feedback. :)
Can you upload the agent output and the crash report:
Regards Max
Hi Max,
thanks for your reply. Sure thing I can offer these informations. I masked the IP adresses in the output.
This is the agent output:
<<
This is the crash report: Check_MK_Crash_FritzBox.local_SmartDevice+18+Thermostat+Wohnzimmer+Heizung_2021-03-31_21-04-26.tar.gz
I forgot to mention I used version 0.41 until the error and updated to 0.51 of your check today by just following the same steps to install. CheckMK is currently on version 1.6.0p22 as I'm not sure that everything will work in the 2.* environment.
Regards Edu8
Thanks for the output, normally it should contain a section beginning with <<<fritzbox_smarthome>>>
. So I think it may not use the special agent correctly.
Can you please check some points for me:
Open the Properties of the host and set DATA SOURCES > Check_MK Agent to "No Checkmk agent, all configured special agents"
Open the rulesets for the special agent: Please check that the settings match your enviroment: Does Hostname and Folder exactly fits? May try "Ignore SSL errors" if you access the fritz.box over https
Can you check that the Credentails you entered in the rule works:
If this all don't help, can you try a manual agent call over the shell?
su - <omdsitename>
~/local/share/check_mk/agents/special/agent_fritzbox_smarthome --debug --username <fritz-username> --password <fritz-password> <fritz-ip> > /tmp/sample.out
or this if you access it over https
~/local/share/check_mk/agents/special/agent_fritzbox_smarthome --ignore_ssl --protocol <protocol: http or https> --debug --port <fritz-port> --username <fritz-username> --password <fritz-password> <fritz-ip> > /tmp/sample.out
and upload the file from /tmp/sample.out. Attention: The command above requires the password in cleartext so it will be stored in your shell history (for example at ~/.bash_history). You may want to clear it after the test
Ah I may found something, are you using username + password or just password login?
The Login has changed with 7.25 so If you use Login with Password only it would fail. I have to do some changes in the agent for it (Link to the Doc)
Hi Max,
thanks for getting back to me. When navigating to this issue I saw that you opened a new issue stating that avm took away the login without username. That's exactly what i was doing. So I created a new user in the Fritz!Box and updated my config in checkmk and that did the trick. It's working again like a charm. :)
Thanks a lot for your support.
May I suggest another feature? I have a lot of thermostats monitored. They always show the current temperature and the "Should temperature". When the battery runs low it also shows this in the output. It would be nice, if the state of the battery would be shown in any case to get an overview which battery might run low in the near future.
Regards Edu8
Hi @edu8,
can you check v0.5.3. I make username and password required now and I added Flag for showing the battery state:
Regards Maximilian
Hi @MaximilianClemens,
that was quick. Thanks for the effort. It works perfectly.
Regards Edu8
First of all thanks for the great check. This is exactly what i was searching for and it worked well for a long while until now. I upgraded my Fritz!Box 6490 to 7.25 from 7.20. After that the check fails with this output "UNKN - check failed - please submit a crash report!"
When clicking on the ? I get the following.
If anything else is needed, I could provide it.