Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bundle agent config_zabbix
- {
- vars:
- "my_list" slist => { "1", "2" };
- "try1" string => ifelse("length("my_list") = 2", "has two elements", "has one element");
- classes:
- "has2elements" expression => "length(""my_list"") = 2";
- "has1element" expression => "length(""my_list"") = 1";
- reports:
- has2elements::
- "has 2 elements";
- has1element::
- "has 1 element";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement