[mrtg] Problem template MRTG for VMWare

Andrea Ruggeri a.ruggeri at hotmail.it
Wed Apr 27 12:00:31 CEST 2016


Good morning guys,

I'm trying to track my VMWare system, but finding these errors.
Who can help me ?!

Thank you,

Andrew

P.S. - This template is attached to an email.

root @ nagios51: /etc/mrtg.d# cfgmaker --snmp-options = ::::: 2 --host-template = cfgmaker-templates / vmware-host.mrtg public at 10.101.2.11> vmware51.cfg

--base: Get Device Info on public at 10.101.2.11 ::::: 2
--base: Vendor Id: Unknown Vendor - 1.3.6.1.4.1.6876.4.1
--base: Populating confcache
--base: Get Interface info
--base: Walking ifIndex
--snpd: public at 10.101.2.11 ::::: 2 -> 1 -> ifIndex = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 2 -> ifIndex = 2
--snpd: public at 10.101.2.11 ::::: 2 -> 3 -> ifIndex = 3
--snpd: public at 10.101.2.11 ::::: 2 -> 4 -> ifIndex = 4
--snpd: public at 10.101.2.11 ::::: 2 -> 5 -> ifIndex = 5
--snpd: public at 10.101.2.11 ::::: 2 -> 6 -> ifIndex = 6
--snpd: public at 10.101.2.11 ::::: 2 -> 7 -> ifIndex = 7
--snpd: public at 10.101.2.11 ::::: 2 -> 8 -> ifIndex = 8
--snpd: public at 10.101.2.11 ::::: 2 -> 9 -> ifIndex = 9
--snpd: public at 10.101.2.11 ::::: 2 -> 10 -> 10 = ifIndex
--snpd: public at 10.101.2.11 ::::: 2 -> 11 -> 11 = ifIndex
--snpd: public at 10.101.2.11 ::::: 2 -> 12 -> 12 = ifIndex
--snpd: public at 10.101.2.11 ::::: 2 -> 13 -> 13 = ifIndex
--snpd: public at 10.101.2.11 ::::: 2 -> 14 -> 14 = ifIndex
--snpd: public at 10.101.2.11 ::::: 2 -> 15 -> 15 = ifIndex
--base: Walking ifType
--snpd: public at 10.101.2.11 ::::: 2 -> 1 -> ifType = 6
--snpd: public at 10.101.2.11 ::::: 2 -> 2 -> ifType = 6
--snpd: public at 10.101.2.11 ::::: 2 -> 3 -> ifType = 6
--snpd: public at 10.101.2.11 ::::: 2 -> 4 -> ifType = 6
--snpd: public at 10.101.2.11 ::::: 2 -> 5 -> ifType = 54
--snpd: public at 10.101.2.11 ::::: 2 -> 6 -> ifType = 54
--snpd: public at 10.101.2.11 ::::: 2 -> 7 -> ifType = 54
--snpd: public at 10.101.2.11 ::::: 2 -> 8 -> ifType = 54
--snpd: public at 10.101.2.11 ::::: 2 -> 9 -> ifType = 258
--snpd: public at 10.101.2.11 ::::: 2 -> 10 -> ifType = 258
--snpd: public at 10.101.2.11 ::::: 2 -> 11 -> ifType = 258
--snpd: public at 10.101.2.11 ::::: 2 -> 12 -> ifType = 258
--snpd: public at 10.101.2.11 ::::: 2 -> 13 -> ifType = 258
--snpd: public at 10.101.2.11 ::::: 2 -> 14 -> ifType = 258
--snpd: public at 10.101.2.11 ::::: 2 -> 15 -> ifType = 258
--base: Walking ifAdminStatus
--snpd: public at 10.101.2.11 ::::: 2 -> 1 -> ifAdminStatus = 1
--snpd: ::::: public at 10.101.2.11 2 -> 2 -> 1 = ifAdminStatus
--snpd: public at 10.101.2.11 ::::: 2 -> 3 -> 1 = ifAdminStatus
--snpd: public at 10.101.2.11 ::::: 2 -> 4 -> ifAdminStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 5 -> ifAdminStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 6 -> ifAdminStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 7 -> ifAdminStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 8 -> ifAdminStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 9 -> ifAdminStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 10 -> ifAdminStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 11 -> ifAdminStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 12 -> ifAdminStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 13 -> ifAdminStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 14 -> ifAdminStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 15 -> ifAdminStatus = 1
--base: Walking ifOperStatus
--snpd: public at 10.101.2.11 ::::: 2 -> 1 -> ifOperStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 2 -> 1 = ifOperStatus
--snpd: public at 10.101.2.11 ::::: 2 -> 3 -> 1 = ifOperStatus
--snpd: public at 10.101.2.11 ::::: 2 -> 4 -> ifOperStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 5 -> ifOperStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 6 -> ifOperStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 7 -> ifOperStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 8 -> ifOperStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 9 -> ifOperStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 10 -> ifOperStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 11 -> ifOperStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 12 -> ifOperStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 13 -> ifOperStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 14 -> ifOperStatus = 1
--snpd: public at 10.101.2.11 ::::: 2 -> 15 -> ifOperStatus = 1
--base: Walking ifMtu
--snpd: public at 10.101.2.11 ::::: 2 -> 1 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 2 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 3 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 4 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 5 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 6 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 7 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 8 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 9 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 10 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 11 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 12 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 13 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 14 -> ifMtu = 1500
--snpd: public at 10.101.2.11 ::::: 2 -> 15 -> ifMtu = 1500
--base: Walking ifSpeed
--snpd: @ifSpeed ​​= 1: 2 1000000000: 1000000000 3: 1000000000 4: 1000000000 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 11: 0 12: 0 13: 0 14: 0 15 : 0

--base: Walking ifHighSpeed
Bareword found where operator expected at (eval 12) line 13, near "1024
MaxBytes "
        (Missing operator before MaxBytes?)
Bareword found where operator expected at (eval 12) line 14, near "10240000000
PAGETOP "
ERROR Evaluation of the contents in the file

cfgmaker-templates / vmware-host.mrtg
gave the error

"Syntax error at (eval 12) line 10, near" [ "
Global symbol "% SHNAME" requires explicit package name at (eval 12) line 10.
Global symbol "% OPTA" requires explicit package name at (eval 12) line 10.
Global symbol "% SHNAME" requires explicit package name at (eval 12) line 11.
Global symbol "% OPTA" requires explicit package name at (eval 12) line 11.
Global symbol "% SHNAME" requires explicit package name at (eval 12) line 11.
Global symbol "% OPTA" requires explicit package name at (eval 12) line 11.
Global symbol "% SHNAME" requires explicit package name at (eval 12) line 12.
Global symbol "% OPTA" requires explicit package name at (eval 12) line 12.
Global symbol "% SHNAME" requires explicit package name at (eval 12) line 13.
Global symbol "% OPTA" requires explicit package name at (eval 12) line 13.
(Eval 12) has too many errors.
"

exiting cfgmaker
root @ nagios51: /etc/mrtg.d#

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20160427/20f1c67d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vmware-host.mrtg
Type: application/octet-stream
Size: 4181 bytes
Desc: not available
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20160427/20f1c67d/attachment.obj>


More information about the mrtg mailing list