Closed bsislow closed 6 years ago
Hi @bsislow , Thangs for the report.
Mixing versions is problematic for now due to rename in URLs (supervision has been renamed to monitoring and settings has been renamed to pgconf).
The agent logs tells the server returned a 500 error upon agent request to post monitoring payload Can you post the server log ?
Hi,
We do not have mixed versions:
# rpm -qa | grep temboard
temboard-0.0.1-10.el7.centos.noarch
temboard-agent-0.0.1-10.el7.centos.noarch
The same agent version is installed on every host as well (0.0.1).
I see this repeating for different servers. Server name removed.
2017-10-02 03:39:19,582 temboard[9561]: [temboard] ERROR: Can't find the instance "xxx.xxx.xxx.xxx" in application.instances table.
What part of the server log do you need us to post?
We assumed this had to do with the application.instances name.
We add agents to the interface and some work with the fully qualified extension and some do not - aka:
server.abc and server.abc.company.net
If we fully qualify the configurations where the charts do not work, they start working if fully qualified.
Upon adding the agent, we shorten the server name to server.abc for brevity in the interface. This data is stored in the applications.instances table as a result of this.
Does this have something to do with /etc/resolv.conf perhaps?
Hi @bsislow,
If you don't want to use system FQDN, you can set the hostname seen by temboard agent using hostname
options in [temboard]
section of temboard-agent.conf
file :
[temboard]
...
hostname = server.abc
Then, restart the agent.
Regards,
Ok, we will use the strategy. Thank you for your input.
You can close this case out.
Original case: https://github.com/dalibo/temboard/issues/191 "temboard-agent: [supervision_sender_worker] ERROR: HTTP Error 500: Internal Server Error #191"
We enabled DEBUG mode and see the following when going to the Supervision section for "Charts - Last day." Full stack trace/DEBUG mode is below.
We have disabled DEBUG mode as it generates too much logging. We believe the information below is sufficient.
We are on agent and server version 0.0.1 as we cannot upgrade immediately at this time. Can you make a recommendation as to why the charts on some servers are empty at this version?
We have some servers in temBoard on the same version where charts are working. We cannot find the difference and need your help.