Re: Problem template MRTG for VMWare

"James W. Laferriere" <[email protected]> Wed, 27 Apr 2016 12:35:07 -0800 (AKDT)
Newsgroups gmane.network.mrtg.user
Message-ID <[email protected]>
 	Hello Andrea ,

On Wed, 27 Apr 2016, Andrea Ruggeri wrote:
> 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 [email protected]> vmware51.cfg
                                                                ^ Remove the space ...

> --base: Get Device Info on [email protected] ::::: 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: [email protected] ::::: 2 -> 1 -> ifIndex = 1
> --snpd: [email protected] ::::: 2 -> 2 -> ifIndex = 2
> --snpd: [email protected] ::::: 2 -> 3 -> ifIndex = 3
> --snpd: [email protected] ::::: 2 -> 4 -> ifIndex = 4
> --snpd: [email protected] ::::: 2 -> 5 -> ifIndex = 5
> --snpd: [email protected] ::::: 2 -> 6 -> ifIndex = 6
> --snpd: [email protected] ::::: 2 -> 7 -> ifIndex = 7
> --snpd: [email protected] ::::: 2 -> 8 -> ifIndex = 8
> --snpd: [email protected] ::::: 2 -> 9 -> ifIndex = 9
> --snpd: [email protected] ::::: 2 -> 10 -> 10 = ifIndex
> --snpd: [email protected] ::::: 2 -> 11 -> 11 = ifIndex
> --snpd: [email protected] ::::: 2 -> 12 -> 12 = ifIndex
> --snpd: [email protected] ::::: 2 -> 13 -> 13 = ifIndex
> --snpd: [email protected] ::::: 2 -> 14 -> 14 = ifIndex
> --snpd: [email protected] ::::: 2 -> 15 -> 15 = ifIndex
> --base: Walking ifType
> --snpd: [email protected] ::::: 2 -> 1 -> ifType = 6
> --snpd: [email protected] ::::: 2 -> 2 -> ifType = 6
> --snpd: [email protected] ::::: 2 -> 3 -> ifType = 6
> --snpd: [email protected] ::::: 2 -> 4 -> ifType = 6
> --snpd: [email protected] ::::: 2 -> 5 -> ifType = 54
> --snpd: [email protected] ::::: 2 -> 6 -> ifType = 54
> --snpd: [email protected] ::::: 2 -> 7 -> ifType = 54
> --snpd: [email protected] ::::: 2 -> 8 -> ifType = 54
> --snpd: [email protected] ::::: 2 -> 9 -> ifType = 258
> --snpd: [email protected] ::::: 2 -> 10 -> ifType = 258
> --snpd: [email protected] ::::: 2 -> 11 -> ifType = 258
> --snpd: [email protected] ::::: 2 -> 12 -> ifType = 258
> --snpd: [email protected] ::::: 2 -> 13 -> ifType = 258
> --snpd: [email protected] ::::: 2 -> 14 -> ifType = 258
> --snpd: [email protected] ::::: 2 -> 15 -> ifType = 258
> --base: Walking ifAdminStatus
> --snpd: [email protected] ::::: 2 -> 1 -> ifAdminStatus = 1
> --snpd: ::::: [email protected] 2 -> 2 -> 1 = ifAdminStatus
> --snpd: [email protected] ::::: 2 -> 3 -> 1 = ifAdminStatus
> --snpd: [email protected] ::::: 2 -> 4 -> ifAdminStatus = 1
> --snpd: [email protected] ::::: 2 -> 5 -> ifAdminStatus = 1
> --snpd: [email protected] ::::: 2 -> 6 -> ifAdminStatus = 1
> --snpd: [email protected] ::::: 2 -> 7 -> ifAdminStatus = 1
> --snpd: [email protected] ::::: 2 -> 8 -> ifAdminStatus = 1
> --snpd: [email protected] ::::: 2 -> 9 -> ifAdminStatus = 1
> --snpd: [email protected] ::::: 2 -> 10 -> ifAdminStatus = 1
> --snpd: [email protected] ::::: 2 -> 11 -> ifAdminStatus = 1
> --snpd: [email protected] ::::: 2 -> 12 -> ifAdminStatus = 1
> --snpd: [email protected] ::::: 2 -> 13 -> ifAdminStatus = 1
> --snpd: [email protected] ::::: 2 -> 14 -> ifAdminStatus = 1
> --snpd: [email protected] ::::: 2 -> 15 -> ifAdminStatus = 1
> --base: Walking ifOperStatus
> --snpd: [email protected] ::::: 2 -> 1 -> ifOperStatus = 1
> --snpd: [email protected] ::::: 2 -> 2 -> 1 = ifOperStatus
> --snpd: [email protected] ::::: 2 -> 3 -> 1 = ifOperStatus
> --snpd: [email protected] ::::: 2 -> 4 -> ifOperStatus = 1
> --snpd: [email protected] ::::: 2 -> 5 -> ifOperStatus = 1
> --snpd: [email protected] ::::: 2 -> 6 -> ifOperStatus = 1
> --snpd: [email protected] ::::: 2 -> 7 -> ifOperStatus = 1
> --snpd: [email protected] ::::: 2 -> 8 -> ifOperStatus = 1
> --snpd: [email protected] ::::: 2 -> 9 -> ifOperStatus = 1
> --snpd: [email protected] ::::: 2 -> 10 -> ifOperStatus = 1
> --snpd: [email protected] ::::: 2 -> 11 -> ifOperStatus = 1
> --snpd: [email protected] ::::: 2 -> 12 -> ifOperStatus = 1
> --snpd: [email protected] ::::: 2 -> 13 -> ifOperStatus = 1
> --snpd: [email protected] ::::: 2 -> 14 -> ifOperStatus = 1
> --snpd: [email protected] ::::: 2 -> 15 -> ifOperStatus = 1
> --base: Walking ifMtu
> --snpd: [email protected] ::::: 2 -> 1 -> ifMtu = 1500
> --snpd: [email protected] ::::: 2 -> 2 -> ifMtu = 1500
> --snpd: [email protected] ::::: 2 -> 3 -> ifMtu = 1500
> --snpd: [email protected] ::::: 2 -> 4 -> ifMtu = 1500
> --snpd: [email protected] ::::: 2 -> 5 -> ifMtu = 1500
> --snpd: [email protected] ::::: 2 -> 6 -> ifMtu = 1500
> --snpd: [email protected] ::::: 2 -> 7 -> ifMtu = 1500
> --snpd: [email protected] ::::: 2 -> 8 -> ifMtu = 1500
> --snpd: [email protected] ::::: 2 -> 9 -> ifMtu = 1500
> --snpd: [email protected] ::::: 2 -> 10 -> ifMtu = 1500
> --snpd: [email protected] ::::: 2 -> 11 -> ifMtu = 1500
> --snpd: [email protected] ::::: 2 -> 12 -> ifMtu = 1500
> --snpd: [email protected] ::::: 2 -> 13 -> ifMtu = 1500
> --snpd: [email protected] ::::: 2 -> 14 -> ifMtu = 1500
> --snpd: [email protected] ::::: 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#
>
>

-- 
+------------------------------------------------------------------+
| James   W.   Laferriere | System    Techniques | Give me VMS     |
| Network&System Engineer | 3237     Holden Road |  Give me Linux  |
| [email protected] | Fairbanks, AK. 99709 |   only  on  AXP |
+------------------------------------------------------------------+