Ad Widget

Collapse

Remote command walk through

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • grabber
    Member
    • Mar 2005
    • 85

    #1

    Remote command walk through

    Does anyone have a step by step guide for setting up remote Command execution....I believe I have done it all correctly but I get the error in the screenshot.

    I have made sure EnableRemoteCommands=1 is on and I can see:

    system.run[echo test] [u|1]

    So what am I missing?

    Attached Files
  • grabber
    Member
    • Mar 2005
    • 85

    #2
    Any Ideas?

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      http://www.zabbix.com/manual/v1.1/tu...s_commands.php

      Let me know if you need more details.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • grabber
        Member
        • Mar 2005
        • 85

        #4
        That's what I have..see screen shot. And I have the Agent setup ok. but I get a "incorrect command" error.

        I have also checked permissions on the file and I can run it as user zabbix.

        Comment

        • rushowr
          Member
          • Jul 2005
          • 30

          #5
          Same problem

          I'm having the same issue. I'll have to get the sysadmin to check the sudo permissions, but other than that everything's set properly

          Comment

          • rushowr
            Member
            • Jul 2005
            • 30

            #6
            Figured it out

            I'm moron sometimes.... I read the next thread in my search and found out that the problem was the fully qualified domain name being used as the servername. The host has to be a regular name, something about regular expressions not matching...

            Anyway, thanks guys

            Comment

            Working...