Ad Widget

Collapse

Passing parameter to the custom monitor.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alj
    Senior Member
    • Aug 2006
    • 188

    #1

    Passing parameter to the custom monitor.

    Hi!

    I have a monitor script which monitors about 30 different parameters depending on parameter in command line.
    Instead of putting 30 lines in zabbix agent config can i pass that parameter to the script somehow like var.name[parameter]?

    I understand this is security issue but it can probably be resolved by filtering only _A-Za-z0-9 characters and limiting string length.

    Thanks!
Working...