Ad Widget

Collapse

Zabbix 3.0 - Error importing template APC Smart-UPS VT 15 kVA

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hernan
    Member
    • Sep 2016
    • 67

    #1

    Zabbix 3.0 - Error importing template APC Smart-UPS VT 15 kVA

    Hello Guys,

    I received the following error message importing the APC template:

    APC Template:
    Sharing files with file.io is convenient, anonymous and secure. Just upload files and share the links via email, SMS, Slack, Discord, etc. Easy-to-use REST API.


    **************
    Import failed
    Details
    Created: Application "Information(s)" on "ZBX-APC-SMART-VT".
    Created: Application "Operational" on "ZBX-APC-SMART-VT".
    Cannot find value map "apcBatteryReplaceIndicator" used for item "Battery replacement status" on "ZBX-APC-SMART-VT".
    ************
    Can you help me with this issue?

    Regards.
  • kaspars.mednis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2017
    • 349

    #2
    This error appears when you try to import templates that have defined value mappings. This template may come from 2.x version, In 3.x versions value mapping are being exported together with the templates.

    FIX
    Just create a custom value map named apcBatteryReplaceIndicator in Administration->General->Value mapping (dropdown on the right)

    Put some values in that value map, it doesn't matter which, you can adjust them later if you want with your actual values

    P.S

    The correct values may be below, but they are from a little different MIB
    There is an OID in APC powernet MIB for replacement battery. OID is "1.3.6.1.4.1.318.1.1.1.2.2.4"( upsAdvBatteryReplaceIndicator: Indicates whether the UPS batteries need replacing). This has two return value:
    1: noBatteryNeedsReplacing
    2: batteryNeedsReplacing
    Regards,
    Kaspars

    Comment

    • hernan
      Member
      • Sep 2016
      • 67

      #3
      Originally posted by kaspars.mednis
      This error appears when you try to import templates that have defined value mappings. This template may come from 2.x version, In 3.x versions value mapping are being exported together with the templates.

      FIX
      Just create a custom value map named apcBatteryReplaceIndicator in Administration->General->Value mapping (dropdown on the right)

      Put some values in that value map, it doesn't matter which, you can adjust them later if you want with your actual values

      P.S

      The correct values may be below, but they are from a little different MIB


      Regards,
      Kaspars
      Thank you Kaspars for your help. I followed your suggestions and the error was solved.

      Regards.

      Comment

      • hernan
        Member
        • Sep 2016
        • 67

        #4
        Hello Guys,

        Here you have some files to use:

        Download files

        1) The APC Smart-UPS template file.
        2) The value maping file.

        Please let me know if you find any error on the template.

        Thanks in advance.

        Regards.

        Comment

        Working...