Ad Widget

Collapse

Write own item for template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kirin2
    Junior Member
    • Jul 2018
    • 28

    #1

    Write own item for template

    Hi,

    Can't find any information about how to write own items for template. I mean how to pass value from function, which gather information to Zabbix(example below).

    For example, I'd like to create template, which would include item for measuring temperature of CPU. How I see process of creation this:
    - I write my function in for example Python, which return value and what the next step? How to pass this value to item in Zabbix?

    May be I missed something or I'm on a bad way to understand this topic. Could somebody help and explain me or send links where is described process of creation items?


    Thank you in advance!
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hi,

    Point to your script in Zabbix agent configuration file using UserParameters.

    Have a look at the docs here: https://www.zabbix.com/documentation...userparameters

    Comment

Working...