Ad Widget

Collapse

XML import and valuemaps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Markus
    Member
    • Jan 2006
    • 39

    #1

    XML import and valuemaps

    Hi

    the XML import file allows to have a '<valuemap>mymapname</valuemap>' tag inside an '<item>'. Unfortunately it is not possible to define the actual mappings inside the XML file (correct?). The XML import will simply create a value mapping named 'mymapname' but without any actual mappings defined.

    It would be nice to extend the XML import function to something like this:

    <valuemaps>
    <valuemap name="mymapname">
    <mapping value="0" newvalue="up" />
    <mapping value="1" newvalue="down" />
    </valuemap>
    </valuemaps>

    Thanks

    Markus
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    Agreed, I've got a fairly large set of custom SNMP entries to add and I would like to have the value maps added too.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    Working...