Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-17916

agent2 frontendscripts error in allow parameter

    XMLWordPrintable

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 68 (Sep 2020), Sprint 69 (Oct 2020)
    • Story Points:
      0.5

      Description

      zabbix server has a frontend script that executes

      sudo /sbin/reboot

       

      agent 2 has a config :

      AllowKey=system.run[sudo /sbin/reboot]
      DenyKey=system.run[*]

       

      the agent will fail to reboot

      solution 

      AllowKey=system.run[sudo /sbin/reboot,wait]
      DenyKey=system.run[*]

       

      so the agent2 is expecting the 2nd parameter instead of using the default value

      2020/06/16 12:31:10.109972 [1] registering new client
      2020/06/16 12:31:10.110122 [1] cannot monitor metric "system.run[sudo /sbin/reboot,wait]": Unknown metric system.run  

        Attachments

          Activity

            People

            Assignee:
            andris Andris Mednis
            Reporter:
            patrik patrik uytterhoeven
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: