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

agent2 frontendscripts error in allow parameter

XMLWordPrintable

    • Sprint 68 (Sep 2020), Sprint 69 (Oct 2020)
    • 0.5

      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  

            andris Andris Mednis
            patrik patrik uytterhoeven
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: