4
DC_STATUS_NORMAL
100003
0
1
%2 is normal
3aa70366-d5d0-498e-add2-9eb73014b469
MikrotikGeneric
3
Mikrotik
Dummy
CPU Load
0
0
0
0
0
0
0
0
0
0
transport = CreateSNMPTransport($node);
if (transport == null) return null;
oid = ".1.3.6.1.2.1.25.3.3.1.2";
vars = SNMPWalk(transport, oid);
if (vars == null) return null;
i = 0;
load = 0;
foreach (v: vars)
{
i++;
load = load + v->value;
}
return load/i;
1
3
85
DC_HIGH_CPU_UTIL
DC_STATUS_NORMAL
2
-1
<config>
<enabled>true</enabled>
<autoScale>false</autoScale>
<logScaleEnabled>false</logScaleEnabled>
<minYScaleValue>0</minYScaleValue>
<maxYScaleValue>100</maxYScaleValue>
<timeRange>1</timeRange>
<timeUnits>2</timeUnits>
<type>1</type>
<color>255</color>
<title>CPU Load</title>
<name></name>
<showThresholds>true</showThresholds>
<parentDciId>0</parentDciId>
<order>100</order>
</config>
.1.3.6.1.2.1.25.2.3.1.5.{instance}
{instance-name} size (bytes)
1
0
2
300
0
0
0
0
0
3
return $1 * 1024;
<config>
<enabled>true</enabled>
<autoScale>true</autoScale>
<logScaleEnabled>false</logScaleEnabled>
<minYScaleValue>1</minYScaleValue>
<maxYScaleValue>100</maxYScaleValue>
<timeRange>1</timeRange>
<timeUnits>2</timeUnits>
<type>1</type>
<color>49152</color>
<title>Memory</title>
<name></name>
<showThresholds>false</showThresholds>
<parentDciId>0</parentDciId>
<order>100</order>
</config>
.1.3.6.1.2.1.25.2.3.1.1
transport = CreateSNMPTransport($node);
if (transport == null)
return false;
name = SNMPGetValue(transport, ".1.3.6.1.2.1.25.2.3.1.3." . $1);
if (name == null)
return false;
return %(true, $1, name);
.1.3.6.1.2.1.25.2.3.1.6.{instance}
{instance-name} used (bytes)
1
0
2
300
0
0
0
0
0
3
return $1 * 1024;
<config>
<enabled>true</enabled>
<autoScale>true</autoScale>
<logScaleEnabled>false</logScaleEnabled>
<minYScaleValue>1</minYScaleValue>
<maxYScaleValue>100</maxYScaleValue>
<timeRange>1</timeRange>
<timeUnits>2</timeUnits>
<type>1</type>
<color>255</color>
<title></title>
<name></name>
<showThresholds>false</showThresholds>
<parentDciId>508</parentDciId>
<order>100</order>
</config>
.1.3.6.1.2.1.25.2.3.1.1
transport = CreateSNMPTransport($node);
if (transport == null)
return false;
name = SNMPGetValue(transport, ".1.3.6.1.2.1.25.2.3.1.3." . $1);
if (name == null)
return false;
return %(true, $1, name);
return $node->driver == "MIKROTIK";