Hi all,
First of all, I'm not a programmer, but I can build descent Bash scripts if I need to
I'm trying to figure out how to do the following.
I'd like to be able to type a command on the zabbix server command line that will return a tab,space or semicolon separated list of data that I can parse through sed, grep and al the other cool GNU tools.
I would like this data to be a representation of the active triggers screen, preferably without the acknowledged triggers.
What command would I need to use on Zabcon to get this out of the API?
All the commands I input, give me lists with reference ID's that don't really mean anything to me. I couldn't really find a command that will let me do a SQL join like operation on the ID's either.
Is this possible? Or should I just create a SQL statement that'll return the wanted data and input that in mysql client?
Thanks,
First of all, I'm not a programmer, but I can build descent Bash scripts if I need to

I'm trying to figure out how to do the following.
I'd like to be able to type a command on the zabbix server command line that will return a tab,space or semicolon separated list of data that I can parse through sed, grep and al the other cool GNU tools.
I would like this data to be a representation of the active triggers screen, preferably without the acknowledged triggers.
What command would I need to use on Zabcon to get this out of the API?
All the commands I input, give me lists with reference ID's that don't really mean anything to me. I couldn't really find a command that will let me do a SQL join like operation on the ID's either.
Is this possible? Or should I just create a SQL statement that'll return the wanted data and input that in mysql client?

Thanks,
Must be blind or something.
Comment