Hello,
I try to monitore a stack of 10 HP Procurve 3800 48P.
I use SNMP with Template Net HP Enterprise Switch SNMPv2, this template discover all ports for each item. I don't need all ports infos.
So I've create all items I need, average 30 items.
Now I want to create trigger based on those items, but I would create just one trigger.
I want to add item name in trigger name, so how can I do that with macro ?
I got an error about my expression bellow as you can see :
{HP-3800:net.if.in[ifOperStatus.{SNMPINDEX}].last()}=2 and {HP-3800:net.if.in[ifOperStatus.{SNMPINDEX}].diff()}=1
ERROR :
Incorrect item key "net.if.in[ifOperStatus.{SNMPINDEX}]" provided for trigger expression on "HP-3800".
I think I can't use SNMPINDEX because I've don't use Discovery process, correct ?
I've 32 items, I can't create one trigger per items, so how can I do ?
Regards,
Florian
I try to monitore a stack of 10 HP Procurve 3800 48P.
I use SNMP with Template Net HP Enterprise Switch SNMPv2, this template discover all ports for each item. I don't need all ports infos.
So I've create all items I need, average 30 items.
Now I want to create trigger based on those items, but I would create just one trigger.
I want to add item name in trigger name, so how can I do that with macro ?
I got an error about my expression bellow as you can see :
{HP-3800:net.if.in[ifOperStatus.{SNMPINDEX}].last()}=2 and {HP-3800:net.if.in[ifOperStatus.{SNMPINDEX}].diff()}=1
ERROR :
Incorrect item key "net.if.in[ifOperStatus.{SNMPINDEX}]" provided for trigger expression on "HP-3800".
I think I can't use SNMPINDEX because I've don't use Discovery process, correct ?
I've 32 items, I can't create one trigger per items, so how can I do ?
Regards,
Florian

Comment