Community discussions

MUM Europe 2020
 
illiniwireless
Member Candidate
Member Candidate
Topic Author
Posts: 152
Joined: Mon Dec 26, 2005 12:36 am
Location: USA

emailing cpu percent

Sat Feb 05, 2011 1:54 am

If the cpu uasage goes over a certain set percent then have an email sent to tell you that the routerboard is under a load to look for problems. Has anyone done this? I think I would want it to tell when the cpu hits 50%. thanks
 
fewi
Forum Guru
Forum Guru
Posts: 7734
Joined: Tue Aug 11, 2009 3:19 am

Re: emailing cpu percent

Sat Feb 05, 2011 2:11 am

The far more scalable solution would be to implement a monitoring system that monitors your routers and APs via SNMP and can also send alerts. Mikrotik makes The Dude (free), there are other solutions available for free and for pay.
Specific answers require specific questions. When in doubt, post the output of "/ip address print detail", "/ip route print detail", "/interface print detail", "/ip firewall export", and an accurate network diagram.
 
changeip
Forum Guru
Forum Guru
Posts: 3804
Joined: Fri May 28, 2004 5:22 pm

Re: emailing cpu percent

Sat Feb 05, 2011 4:57 am

yep - the problem with running a script to check cpu time is that the cpu will increase while the script is running and falsely report usage. CLI scripts seem to take lots of cpu for some reason. you should use the /tools graphing on cpu, or externally monitor via snmp to get a better reading.
Colo and Wholesale Bandwidth Available! Sales at SanDiegoBroadband dot com

Who is online

Users browsing this forum: No registered users and 15 guests