Hi there,
I need to a script to monitor the logs in ROS for any message that contains “radius server is not responding”.
On this event, I would like to email me and also all hotspot users to be bypassed.
Thank you.
Hi there,
I need to a script to monitor the logs in ROS for any message that contains “radius server is not responding”.
On this event, I would like to email me and also all hotspot users to be bypassed.
Thank you.
Ok So far I’ve managed to get email and hotspot bypass working; but I can’t seem to figure out how to read the logs correctly looking for the line “RADIUS server is not responding”.
I just though as well, in this event if 100x people try and log in causing this message then I need to away to stop scanning the logs for another 10 minutes.
Any help with the log reading would be great. I’ve tried using the wiki example but I can’t see how to change the scripts.
Email:
/tool e-mail send to="EMAIL@EMAIL.com" subject=[/system identity get name] body=" Radius is down" tls=yes
Hotspot by pass:
ip hotspot walled ip add action=accept server=hotspot comment=override
So the script should be:
Read Logs > scan for “RADIUS server is not responding” > If found > run email, run hotspot-bypass - wait 10 minutes. < If “RADIUS server is not responding” not found run again.