Hi
is there an OID for the total CPU usage on the CCR?
I found the usage of each Core but I Need to log the Total.
Thanks,
Mat
+1I have 6 CCR-1036 to monitor an should create 222 sensors to get 6 values that I need.
It is not useful/rational for me to create so much sensors.
So plese MikroTik, make an extra OID for the total CPU usage!!!
Best Regards
Ivan
From where you got that OID?New in 6.34::
total cpu load OID 1.3.6.1.4.1.2021.11.52.0
What's new in 6.35 (2016-Apr-14 12:55):
*) snmp - fixed cpu load reporting to 1min average and change oid to 1.3.6.1.4.1.2021.11.10.0;
##example if your router ip is 10.1.0.24##
Target[10.1.0.24_cpu]:(1.3.6.1.2.1.25.3.3.1.2.16&1.3.6.1.2.1.25.3.3.1.2.16:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.1&1.3.6.1.2.1.25.3.3.1.2.1:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.2&1.3.6.1.2.1.25.3.3.1.2.2:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.3&1.3.6.1.2.1.25.3.3.1.2.3:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.4&1.3.6.1.2.1.25.3.3.1.2.4:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.5&1.3.6.1.2.1.25.3.3.1.2.5:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.6&1.3.6.1.2.1.25.3.3.1.2.6:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.7&1.3.6.1.2.1.25.3.3.1.2.7:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.8&1.3.6.1.2.1.25.3.3.1.2.8:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.9&1.3.6.1.2.1.25.3.3.1.2.9:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.10&1.3.6.1.2.1.25.3.3.1.2.10:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.11&1.3.6.1.2.1.25.3.3.1.2.11:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.12&1.3.6.1.2.1.25.3.3.1.2.12:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.13&1.3.6.1.2.1.25.3.3.1.2.13:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.14&1.3.6.1.2.1.25.3.3.1.2.14:public@10.1.0.24:+1.3.6.1.2.1.25.3.3.1.2.15&1.3.6.1.2.1.25.3.3.1.2.15:public@10.1.0.24:)/16
my $target_name = $router_name . "_cpu";
$target_lines .= <<ECHO;
YLegend[$target_name]: Percentage CPU load
ShortLegend[$target_name]: %
Legend1[$target_name]: CPU load in %
Legend2[$target_name]:
Legend3[$target_name]: Max Observed CPU load
Legend4[$target_name]:
LegendI[$target_name]: CPU Load:
LegendO[$target_name]:
WithPeak[$target_name]: ywm
MaxBytes[$target_name]: 100
Options[$target_name]: growright, gauge, nopercent
Title[$target_name]: $router_name CPU load
Target[$target_name]: 1.3.6.1.4.1.2021.11.10.0&1.3.6.1.4.1.2021.11.10.0:$router_connect
ECHO
if ($directory_name) {
$target_lines .= "Directory[$target_name]: $directory_name\n";
}
$target_lines .= <<ECHO;
PageTop[$target_name]: <h1>$router_name CPU load</h1>
<div>
<table>
<tr>
<td>System:</td>
<td>$router_name in $html_syslocation</td>
</tr>
<tr>
<td>Maintainer:</td>
<td>$html_syscontact</td>
</tr>
<tr>
<td>Description:</td>
<td>$html_sysdescr</td>
</tr>
<tr>
<td>Resource:</td>
<td>CPU</td>
</tr>
</table>
</div>
ECHO