Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ./zab.sh hosts_get.json | awk -F":" '/"name"/{val = $2};/"hostid/{val = $0 val;printf "%s\n", val}'
- "hostid": "10084", "Zabbix server",
- "hostid": "10085", "centos-httpd",
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement