Ad Widget

Collapse

Regular expression in Item Key field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Abby
    Junior Member
    • Sep 2015
    • 1

    #1

    Regular expression in Item Key field

    I am new to zabbix and I am trying to set an item to capture a process.

    I am creating a zabbix item to monitor the % Processor Time that a specific process takes. But the name of the process changes on each run as, proc_PROCID So it might be proc_1234 in one run and proc_5544 in another depending on the processor ID.

    THe Item key field as such does not seem to take a regex pattern. How can I capture this detail?
  • Linwood
    Senior Member
    • Dec 2013
    • 398

    #2
    I haven't tried this, but you might set up a separate discovery for that purpose, and you can use regex filters on the LLD discovery. This discovery would then need to be set to run frequently enough to catch it "soon enough" when the PID changes.

    There may be better ways though, take this with a grain of salt as I'm pretty new to this.

    Comment

    Working...