Ad Widget

Collapse

simultaneously populate multiple UserParameters with one script?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • herta
    Senior Member
    • Sep 2011
    • 101

    #1

    simultaneously populate multiple UserParameters with one script?

    We have a scripts which, per run, outputs variable/data pairs such as

    lic1 123
    lic2 23
    lic3 98

    (Basically, it counts the number of active concurrent users per licence.)

    In zabbix, I'd like to create 3 items (lic1, lic2 and lic3) using UserParameters, but would like to avoid having to run this script for each variable. Is that possible?

    Kind regards,

    Herta
  • heaje
    Senior Member
    Zabbix Certified Specialist
    • Sep 2009
    • 325

    #2
    Yes, it is possible. You'll have to use the Zabbix sender instead of relying on the Server to retrieve the values. Here's the manpage for reference: https://www.zabbix.com/documentation.../zabbix_sender.

    Essentially, you could write a custom script that retrieves the information you want and then uses the Zabbix sender to send the data to Zabbix all at once.

    Comment

    Working...