Cant seem to find the message pool for our primary hub. I would like to configure more definitve alarm messages for things such as not being able to contact the customers hub, etc...
Something like this is what I used just filtering the message create a preprocess rule looking for sid 22.214.171.124 for the tunnels and 126.96.36.199 for the queue errors if need be and point at the script your write.
if string.find(event.message,"10.1.127.70") then event.user_tag1 = "new usertag" event.user_tag2 = "aother usertag" event.message = "Can't connect with my customers hub" printf ("Modifing usertag for otj")elseif string.find(event.message,"anotherhost") then event.user_tag1 = "new usertag" event.user_tag2 = "aother usertag" event.message = "Can't connect with my customers hub" printf("modifing another host")
You will have to use a preprocessing rule for thing like the tunnels going down. This is how I do it. I also like to add in user tags based of which tunnel is down as these are not put in either.
Any examples? I currently have 0 LUA knowledge (but working on it)
Requesting more definitive info on turning "Connection error. Could not connect to 10.1.127.70/48003. Please check that the server is running." into a more operator friendly message. The reply given above was pretty straight forward, however just looking for a bit more info on how to implement it.
Thanks a ton
Retrieving data ...