Ad Widget

Collapse

template import error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stefaan
    Junior Member
    • Aug 2012
    • 3

    #1

    template import error

    Hi folks,

    I'm new to Zabbix and playing around a litte bit (Zabbix 2.02 on Ubuntu 8.04, installation from source).
    The included templates are helpful to make first steps, but I want to get more information via SNMP. Many templates are available, but no one works for me. I tried a Procurve and a Kyocera-Printer [0] template I found here, but I always get an error message while importing:
    Code:
    ...
    Created: Item "Printed Sites" on "Template_Kyocera_Colorlaser".
    ...
    Created: Item "Toner Magenta" on "Template_Kyocera_Colorlaser".
    Created: Item "Toner Yellow" on "Template_Kyocera_Colorlaser".
    Item "{HOSTNAME}:PrintedSites" does not exist.
    Snipplet of the Kyocera-Template:
    Code:
    #items-section:
    				<item type="1" key="PrintedSites" value_type="3">
    					<description>Printed Sites</description>
    					<delay>30</delay>
    					<history>90</history>
    					<trends>365</trends>
    					<formula>1</formula>
    					<snmp_community>public</snmp_community>
    					<snmp_oid>.1.3.6.1.2.1.43.10.2.1.4.1.1</snmp_oid>
    					<snmp_port>161</snmp_port>
    				</item>
    
    #graphs-section:
    				<graph name="Printed Sites" width="900" height="200">
    					<show_work_period>1</show_work_period>
    					<show_triggers>1</show_triggers>
    					<yaxismin>0.0000</yaxismin>
    					<yaxismax>100.0000</yaxismax>
    					<graph_elements>
    						<graph_element item="{HOSTNAME}:PrintedSites">
    							<color>009900</color>
    							<yaxisside>1</yaxisside>
    							<calc_fnc>2</calc_fnc>
    							<periods_cnt>5</periods_cnt>
    						</graph_element>
    					</graph_elements>
    				</graph>
    Same error appears at all other templates I tried. I also tried to check "Ad missing Host" [1], but that didn't help.

    Do you have any ideas?

    Thank you!

    Stefan

    [0] http://www.zabbix.com/forum/showthread.php?t=7721
    [1] http://www.zabbix.com/forum/showthread.php?t=25901
Working...