Hey all
so i'm doing a webmail check where I already made log into it, send a mail/recieve it and log out.
My problem is i would like the mail subject to always be random or ZABBIX CHECK - Random and then in next step check if that mail exists.
I got the random subject part done using variables but i cant search for variables in "Required string".
I've googled around and found i could make a new user macro which would get a random value thru the API. So i could use those in subject and "Required string"
But i have no idea where to start with that
Can somebody guide me in the best way of getting a macro with random value that changes lets say every 5 min? Or give me some info on how to make it work thru the API but im just stuck at start.
Appreciate it
so i'm doing a webmail check where I already made log into it, send a mail/recieve it and log out.
My problem is i would like the mail subject to always be random or ZABBIX CHECK - Random and then in next step check if that mail exists.
I got the random subject part done using variables but i cant search for variables in "Required string".
I've googled around and found i could make a new user macro which would get a random value thru the API. So i could use those in subject and "Required string"
But i have no idea where to start with that
Can somebody guide me in the best way of getting a macro with random value that changes lets say every 5 min? Or give me some info on how to make it work thru the API but im just stuck at start.
Appreciate it