03-12-2021 02:47 AM
hi, please tell me two points:
1. I want to exclude a word in eem via regexp, for example there is a line:
sh run | i hostname hostname test-router
i need to select everything except "hostname" and "router"
doing so:
action 112 regexp "(!?hostname|-router)" "$_cli_result" name
but it doesn't work because eem swears at the "?" and it is removed
2. how to make a delay in EEM, let's say it should trigger on "event track 10 state down" I just want him to wait 3 minutes after he fixes it and then run all the necessary commands
Solved! Go to Solution.