-
Incident report
-
Resolution: Fixed
-
Critical
-
2.0.4
-
None
-
2.0.4 is affected.
earlier versions are not.
Triggers containing system.run items with "||" characters in command are not editable in expression constructor + can not change trigger contents in text mode: parsing error;
Trigger expression example:
============
{-- Tpl_Condor_Grid_worker_node:system.run["file=/net/$(hostname -f)/local_disk/zabbix.test; touch $file ||
{ echo 1; exit 1; }; rm $file; echo 0;"].last(1000)}=1 |
{-- Tpl_Condor_Grid_worker_node:system.run["for mp in /sw /home /tools /tools/local; do ( 2> /dev/null mount | grep -E 'nfs|bind' | grep $mp > /dev/null && ls -l $mp/ > /dev/null ) ||
; done; echo 0"].last(1000)}=1 |
{-- Tpl_Condor_Grid_worker_node:vfs.fs.size[/local_disk,free].last(1000)}<5000000000 |
{-- Tpl_Condor_Grid_worker_node:system.run["( exec > /dev/null 2>&1 /usr/bin/env condor_q ) ||
; echo 0"].last(1000)}=1 |
{-- Tpl_Condor_Grid_worker_node:custom.grid.condor.worker.swapped_to_available_prop.last(600)}>3 |
{-- Tpl_Condor_Grid_worker_node:custom.grid.condor.worker.cpu.cores_putil.avg(600)}>195 |
{-- Tpl_Condor_Grid_worker_node:ssh.run["Condor worker, IO: Reported I/O errors"].iregexp(err,60)}=1
============
2.0.3 has no troubles with it, so, the issue was introduced in 2.0.4
- is duplicated by
-
ZBX-6061 triggers containing system.run items with "{}" characters in command are not editable in expression constructor + can not change trigger contents in text mode: parsing error;
- Closed