I want to know if this is possible to do:
I am able to make a custom poller that returns the admin status of every interface in a switch stack. It returns 1 for up and 2 for down. So when I poll the switch, I'll get something like 1,1,1,1,2,2,2,1,2,1,1,2,1,2,2,2, etc etc.
What I want to do is count how many ports are in the down state, or the number 2. Is there any way to do this?
I have never done it like that before but for a while I used Tabular Universal Device Poller found under Node Details Reports when managing a view. I used it watch the number of installed items on a windows box then alert me if that number ever changed. It was a nice way to catch people installing/removing software.