Hello, i have host group of four servers.
Templates with items where agent type ssh like (key ssh.run[Собака,{HOST.IP},22,<encoding>])
Result item would be number like (grep -c 'dog' /tmp/dog.log)
This Templates add on all hosts
Now i need sum result items from all hosts. How i can do it? Calculation agent work only inside host, dependent or aggrigate not working too.
Example what i want:
item name - cdog
host1:cdog=2
host2:cdog=1
host3:cdog=5
host4:cdog=1
reslt=9
Thanks
Templates with items where agent type ssh like (key ssh.run[Собака,{HOST.IP},22,<encoding>])
Result item would be number like (grep -c 'dog' /tmp/dog.log)
This Templates add on all hosts
Now i need sum result items from all hosts. How i can do it? Calculation agent work only inside host, dependent or aggrigate not working too.
Example what i want:
item name - cdog
host1:cdog=2
host2:cdog=1
host3:cdog=5
host4:cdog=1
reslt=9
Thanks
Comment