Comments (2)
@djsakisd The problem might be because amonagent
as a service is run by the amonagent
user, which may not have access to the ruby scripts. To solve the problem, I usually provide the full path: /path/to/sensu/check-qmailq.rb
from amonagent.
Hi @martinrusev sorry forgot to write it but this was the first thing that come to my mind as well but unfortunately it didn't work. Tried also various combinations on the command but had no luck either .
I really can't understand why if I run manually it works but as a service it won't.
Tried to change the user insise service script to bee root also tried to run manually the agent through cron with @reboot and as a last resort put the bin fine in rc.local but nothing seems to work either .
Even tried with supervisor.
Most probably it's a centos thing rather an issue with agent since sensu scripts works fine on Ubuntu 16 .
Anyway thanks for replying me.
If anything else to try comes to mind please let me know .
I will close the issue as it's system specific.
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
- 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.