Community discussions

 
blackmetal
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Mon Aug 16, 2010 9:01 am

CCR CPU % monitoring

Wed Apr 03, 2019 9:29 am

Hello,
how can i setup my dude software that check CPU % for my CCR's and when CPU usages was above %40 send an email to me or execute a file on my local server?
thank you.
 
User avatar
vecernik87
Long time Member
Long time Member
Posts: 642
Joined: Fri Nov 10, 2017 8:19 am

Re: CCR CPU % monitoring

Thu Apr 04, 2019 1:28 am

You would need a particular probe with notification. Probe is not that hard because the function is already predefined in TheDude as
cpu_usage()
. If you want to create it yourself, just use following code for the function:
round(average(oid_column("iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad")))
So all you need to do is compare value with your treshold in probe:
2019-04-04_0925.png
Once you have probe, just assign it to any device you like as a service and enable notifications to this service.

There is predefined email notification but you have to make sure you have all your parameters right, or the email will not be sent.
You do not have the required permissions to view the files attached to this post.
 
blackmetal
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Mon Aug 16, 2010 9:01 am

Re: CCR CPU % monitoring

Thu Apr 04, 2019 10:01 am

thank you so much!
do you have any idea how can manage traffic monitor in dude? i want dude monitor my uplink (its a ethernet port or somewhere bonding) and when exceed Xgbps inform me.
do you have any idea?

Who is online

Users browsing this forum: No registered users and 4 guests