Ad Widget

Collapse

How to properly fill metadata to monitor app ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • endros
    Junior Member
    • Jun 2022
    • 2

    #1

    How to properly fill metadata to monitor app ?

    Hi,

    I need to migrate about 700 vm to zabbix.

    I've managed to get auto-register working with a basic "system.uname" metadata to filter windows/linux.

    I would like to automaticlly assign template of installed app, but I did not find any specific parameter in zabbix metadata for this, so I guess that I need so external way to do that.

    I first thinked about an ansible playbook but that might become a pain to maintain, I also saw that some people used python script to make api call but I did not found any example

    Does anyone has a proper way to do that ? If you have example along the way that would be perfect.

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

    #2
    Metadata is just a bunch of keywords, what you can use for autoregistration... If you do not want to hardcode it to each host then HostMetadataItem can be used... some system.run command or Userparameter, which returns needed data. And then autoreg rules...

    Comment

    • endros
      Junior Member
      • Jun 2022
      • 2

      #3
      Originally posted by endros
      Hi,

      I need to migrate about 700 vm to zabbix.

      I've managed to get auto-register working with a basic "system.uname" metadata to filter windows/linux.

      I would like to automaticlly assign template of installed app, but I did not find any specific parameter in zabbix metadata for this, so I guess that I need so external way to do that.
      omegle
      I first thinked about an ansible playbook but that might become a pain to maintain, I also saw that some people used python script to make api call but I did not found any example

      Does anyone has a proper way to do that ? If you have example along the way that would be perfect.

      Regards
      issue got solved!!

      Comment

      Working...