Hi Good Morning,
We need to monitor CPU of a particular workstation. Can you please advise how we can setup the service to send us notification if the CPU usage reaches 75%?
Our Dude version is 3.6.
Thanks and Regards,
Michael Briffa
Hi Good Morning,
We need to monitor CPU of a particular workstation. Can you please advise how we can setup the service to send us notification if the CPU usage reaches 75%?
Our Dude version is 3.6.
Thanks and Regards,
Michael Briffa
Look into the probe thread?
Make a function to read the oid of the cpu or use the cpu usage function in your probe…
In the error line of the probe create logic that produces an error when the criteria is met.
Here is a really good CPU probe for cisco devices. This will not read linux or windows computers cpu.
It is a function that is called by a probe…
Here is the function
Cisco_CPU_a
if(string_size(oid(“1.3.6.1.4.1.9.2.1.57.0”, 10 ,5)), oid(“1.3.6.1.4.1.9.2.1.57.0”, 10, 5)+1 ,“False”)
Here is the probe
Cisco CPU
if(Cisco_CPU_a()<>“False”,if(Cisco_CPU_a() -1< 75, “”, concatenate("Warning: high CPU = ", Cisco_CPU_a(), “%”)), “Cisco Device down”)
Screenshots


It is silly to re-document this… really.
Lebowski
PS this is the function for a linux cpu in CentOS.
if(string_size(oid(“1.3.6.1.4.1.2620.1.6.7.2.4.0”,10,5)), oid(“1.3.6.1.4.1.2620.1.6.7.2.4.0”,10,5)+1,“False”)