Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
mylouch
New Contributor

Monitor fortigate CPU with mrtg

Hello everyone, 

I'm trying to visualize CPU usage of my fortigate using mrtg, here the commands I used:

 

Target[cpu_usage]: 1.3.6.1.4.1.12356.101.4.1.3.0&1.3.6.1.4.1.12356.101.4.1.3.0 :public@192.168.1.99: Title[cpu_usage]: CPU_USAGE MaxBytes[cpu_usage]: 100 ShortLegend[cpu_usage]: % YLegend[cpu_usage]: CPU Utilization Legend1[cpu_usage]: Current CPU percentage load LegendI[cpu_usage]: Used LegendO[cpu_usage]: Options[cpu_usage]: growright,nopercent,gauge Unscaled[cpu_usage]: ymwd

 

However, I get the following error:

ERROR: target[cpu_usage][_IN_] '1.3.6.1.4.1.12356.101.4.1.3.0&1.3.6.1.4.1.12356.101.4.1.3.0 :public@192.168.1.99:' <warn>: Array found where operator expected at <eval 12> line 1, at end of the line

ERROR: target[cpu_usage][_OUT_] '1.3.6.1.4.1.12356.101.4.1.3.0&1.3.6.1.4.1.12356.101.4.1.3.0 :public@192.168.1.99:' <warn>: Array found where operator expected at <eval 13> line 1, at end of the line

 

Any idea?

Thank you

1 REPLY 1
mylouch
New Contributor

Hi, 

problem solved when typing the following:

Target[cpu_usage]: .1.3.6.1.4.1.12356.101.4.1.3.0&.1.3.6.1.4.1.12356.101.4.1.3.0:public@192.168.1.99

 

Thanks

Labels
Top Kudoed Authors