hello there,
I am using LLD for network cards and it's ports. Each discovered has many ports where I have an item probing the link state of each port.
For some machines all ports are connected but for some others not all of them. So I can't just raise a trigger when any port is down.
I am currently raising a trigger when I know a given port was up before and suddenly it went down. But it raises some problems, when for instance history goes away or we need to switch cables between ports for any reason.
So I am trying to come up with a better solution. I already have an item telling me how many ports I should have connected for each machine. For instance, for a given machine I know it has 2 cards and 2 ports but only 2 cables are supposed to be plugged in. LLD will create 2 network devices and 2 ports for each device.
In this case I have an item "ports expected to be up" outside of LLD with a value of 2. So How do I raise a trigger when my number of linked ports drops below my threshold ?
Thank you
I am using LLD for network cards and it's ports. Each discovered has many ports where I have an item probing the link state of each port.
For some machines all ports are connected but for some others not all of them. So I can't just raise a trigger when any port is down.
I am currently raising a trigger when I know a given port was up before and suddenly it went down. But it raises some problems, when for instance history goes away or we need to switch cables between ports for any reason.
So I am trying to come up with a better solution. I already have an item telling me how many ports I should have connected for each machine. For instance, for a given machine I know it has 2 cards and 2 ports but only 2 cables are supposed to be plugged in. LLD will create 2 network devices and 2 ports for each device.
In this case I have an item "ports expected to be up" outside of LLD with a value of 2. So How do I raise a trigger when my number of linked ports drops below my threshold ?
Thank you
Comment