Ad Widget

Collapse

Custom Sensor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • diego.toniolo
    Junior Member
    • Feb 2022
    • 1

    #1

    Custom Sensor

    I've try looking for on other post before asking, but i don't find a clear solution so sorry in advance

    On other monitor system, we generate an xml output from a powershell script to collect data about application utilization ( in detail, I've create a custom powershell script to get data from Citrix enviroment to monitor the VDA and licence utilization)
    Now we are migrating to Zabbix and we will reproduce the same monitoring

    Which is the right way ?

    Thanks for help

    Diego
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    You can send item value pairs with zabbix_sender or you could create a UserParameter to call your script. Tradeoff, you have to schedule the script that calls zabbix sender but UserParameter scripts are subject to the agent timeout limit.

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4811

      #3
      You can generate the file locally (Scheduler) and pull whole content of it, if it is not too big.. IIRC 64k is the limit for vfs.file.contents. And then just extract needed data into dependent items, using preprocessing.
      No need for userparameters and also rewriting to use zabbix_sender.

      Comment

      Working...