Ad Widget

Collapse

Remote command received but not executed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 6-MarViN
    Junior Member
    • Sep 2011
    • 13

    #1

    Remote command received but not executed

    Hello,

    I have set a remote command action. However, the command does not seem to be executed. I've logged remote command in the agent and the log file clearly says:

    Executing command:"sudo /path/to/the/script.sh".

    I have followed the sudo tips and made sure that user zabbix wouldn't be asked for password on launching this script.

    However the script is not executed.

    Any ideas?

    Thanks.
  • 6-MarViN
    Junior Member
    • Sep 2011
    • 13

    #2
    fixed. had to add an exception for zabbix in sudoers file for requiretty.

    Comment

    Working...