Announcement

Collapse
No announcement yet.

sudo not working in Centreon v 2.6.3 but worked in centreon v 2.5.4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • sudo not working in Centreon v 2.6.3 but worked in centreon v 2.5.4

    Dear all,

    I wrote a plugin for Centreon that uses sudo to run a specific program. The problem is that in Centreon v 2.5.4 everything is working perfectly. Now I am trying to migrate all of the plugins to a new server that is running Centreon 2.6.3. I migrate everything perfectly apart from this plugin which it seems it doesn't want to work. In the command I added sudo $USER1$/check_xxx $ARG1$ and now it doesn't work.

    So my question is how it is possible to make Centreon execute sudo command ?

    Kind regards,

  • #2
    Can you copy your sudo definition here ?
    Centreon Syslog Module Manager/Developper
    Centreon E2S Module Manager/Developper
    Centreon Enterprise Server (2.x / 3.x) : Centreon Engine 1.3.x / 1.4.x, Centreon Broker 2.6.x / 2.8.x , Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
    Nagios 3.x et NDOutil 1.x

    Comment


    • #3
      I have fixed the script by rewriting it not to use anymore sudo.

      You can close the thread.

      Kind regards,

      Comment

      Working...
      X