I recognise this MRTG file; this is one of my templates from the check_esx plugin for MRTG & Nagios.
You need to replace the various %COMMUNITY%, %LHNAME% etc symbols with their actual values before you use it. This is NOT a cfgmaker template, it is designed to be used with our custom inhouse templating system. COMMUNITY – SNMP community LHNAME – the long (FQDN) hostname SHNAME – the short hostname OPTA – the VM name (see the initial defaults comment) OPTB – the warn threshold, eg 80% OPTC – critical threshold, eg 90% Note that the check_esx is pretty old; we found it had very poor performance in large installations. We now use a special agent that links the VirtualCentre to Nagios(via Livestatus) and MRTG(via rrdcached) and dynamically builds the configuration files as it goes; I’ve not yet released this to the public, though Steve Steve Shipway T: +64 9 3737 599 ext 86487 E: <mailto:[email protected]> [email protected] From: mrtg [mailto:[email protected]] On Behalf Of Andrea Ruggeri Sent: Wednesday, 27 April 2016 10:01 p.m. To: [email protected] Subject: [mrtg] Problem template MRTG for VMWare 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. … "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#
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
