Ad Widget

Collapse

Discovery Rule Macro inside another Discovery Rule‏

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andrecamargo_07
    Junior Member
    • Dec 2013
    • 4

    #1

    Discovery Rule Macro inside another Discovery Rule‏

    Hello,
    I am trying to monitor Oracle with Zabbix.
    I am using a shell script and a discovery rule to find the instances I have on every machine and set the Macro #INSTANCE with each instance name.
    hypothetically, let's say this is the command to find the instances:

    my_script.sh find_instances

    Now I want to create another discovery rule to find the tablespaces for each instances.

    The command should be, where #INSTANCE is each instance discovered before.

    my_script.sh #INSTANCE find_tablespaces.

    But I don't know how to do that. Is it possible to use a LLD macro inside another LLD rule?
    Or maybe create a sub-LLD rule... I don't know.

    I am using zabbix 2.2, on RHEL 5.4 with oracle database.

    Thanks
Working...