Ad Widget

Collapse

API "visible name" not being set

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • verde
    Member
    • Jul 2021
    • 39

    #1

    API "visible name" not being set

    "visible name" is not being set when creating a host via API on Zabbix 6.0.1.
    is that API's normal behavior?

    thanks
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Show us the code... You do have to set it specifically... https://www.zabbix.com/documentation...st/object#host
    host
    (required)
    string Technical name of the host.
    ....
    name string Visible name of the host.

    Default: host property value.

    Comment

    • verde
      Member
      • Jul 2021
      • 39

      #3
      Thanks buddy, I was setting "visiblename" instead of only "name". Now it worked.

      Although, In my earliest attempts the API didn't complain about the use of 'visiblename' and let create the host.

      thanks!
      Last edited by verde; 15-03-2022, 17:43.

      Comment

      Working...