Ad Widget

Collapse

Zabbix-API media_types

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bambix
    Junior Member
    • Dec 2010
    • 11

    #1

    Zabbix-API media_types

    Hi everyone

    According to the Zabbix-API manual there is a class for operations with Media types.
    When I try to use this class I get errors.
    I have looked into the folder "/usr/share/zabbix/api/classes/" and there is no class for mediatypes?
    I'm using Zabbix 1.8.2.

    Is this a error in the Zabbix-API manual and is there no class for Media types?
    Do i need a newer version of zabbix server?

    thanks
    Attached Files
  • zabbix_zen
    Senior Member
    • Jul 2009
    • 426

    #2
    You could have answered your last question yourself just by downloading a newer version..

    I've barely used the API but I've found a

    api/classes/class.cmediatype.php

    in 1.8.4.rc2

    Comment

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

      #3
      This is why we need to have version information added to the API documentation.
      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...