Giter VIP home page Giter VIP logo

Comments (2)

martinrusev avatar martinrusev commented on July 24, 2024

@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.

djsakisd avatar djsakisd commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.