Comments (5)
I notice for the ones I installed manually, there is "No data for the selected period" under System for those servers.
Where are the docs for this?
from amonagent.
@kevinquinnyo Can you please check if these manually installed agents are running:
systemctl amonagent status
(or)
service amonagent status
After running the -test option though, it runs though the checks, succeeds, and the servers immediately show up in the amon server UI.
This is a bug, I will look into it
from amonagent.
root@cache1:~# service amonagent status
amonagent Process is running [ OK ]
It looks like it's still producing the error about the scheme which I thought was od since the amonagent.conf file has http:// in the amon_instance
key:
root@cache1:~# tail -n5 /var/log/amonagent/amonagent.log
2016/02/20 07:40:38 INFO amonagent.log Metrics collected (Interval:1m0s)
2016/02/20 07:40:38 INFO amonagent.log Flusher routine failed, exiting: Can't connect to the Amon API on Can't connect to the Amon API on Post /api/system/v2/?api_key=: unsupported protocol scheme ""
root@cache1:~# date
Sat Feb 20 07:41:25 VET 2016
from amonagent.
root@cache1:~# cat /etc/opt/amonagent/amonagent.conf
{"api_key": "my_key_here", "amon_instance": "http://my.ip.add.ress"}
root@cache1:~# curl -X POST http://my.ip.add.ress/api/system/v2/ --data "api_key=my_key_here"
{"detail":"Authentication credentials were not provided."}
Obviously I'm not testing the connection correctly. What data do I need to post to the server to test the connection manually? Or would that even help in troubleshooting the issue?
from amonagent.
That is a strange error. The testing URL is: http://my.ip.add.ress/api/system/v2/?api_key=api_key_here
.
Can you please run /opt/amonagent/amonagent -test
once again and take a look at the test URL at the end
from amonagent.
Related Issues (20)
- ARM binary?
- Amon repository down HOT 3
- Windows agent HOT 4
- amonagent tags HOT 1
- "check-process.rb -p amonagent" failing HOT 4
- Can not connect to MongoDB database
- Amon Agent Stops Sending Data HOT 9
- Systemd - Killed by SIGPIPE
- processes: null (Linux) HOT 4
- ruby scripts empty response when amonagent starts as service HOT 2
- Amazon Linux dependency issue for RPM HOT 4
- Wrong command at documentation in bash script
- Agent build for Raspbian HOT 2
- Bug: Debian/Ubuntu - Agent failed to start HOT 5
- Explore adding support for Datadog Integrations HOT 2
- Amonagent failing to restart / monitoring within RedHat / Fedora with systemd
- Add ability to configure amonagent logging to custom file.
- Server without name in "servers" collection in the DB breaks the global Pause Alerts page
- mysql plugin HOT 1
- write on log when agent crash!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amonagent.