Ad Widget

Collapse

Remote commands do not support commas

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #1

    Remote commands do not support commas

    Ticket added to support system
    ZBX-403

    When passing a comma to an external command the agent will fail as it is expecting wait/nowait after the comma.

    This was found with 1.5.3, but is likely to exist in all versions.

    Example packet trace:

    system.run[/etc/zabbix/scripts/ruby_proc_sender.rb -s 192.168.103.181 -h lisa -k trap.log -c "ps -eo pcpu\,pmem\,command|sort -k1|tail -10" -D >> /tmp/debug.out,nowait]

    ZBXD.........ZBX_NOTSUPPORTED






    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

  • Sir_Yaro
    Member
    • Nov 2008
    • 37

    #2
    Does anyone know any workaroud ?
    Bug still exist in 1.6

    Comment

    Working...