Hi There,
I would like to find a way to fire alerts only on switch interfaces which has a specific description while monitored by Interfaces by SNMP template.
I still need to monitor all of them, but since most of interfaces connection is dynamic and not important in terms of interface status change, I'd like to put a keyword on interface description, for example first word of description will be "alertON" and fire alert only for those interfaces where this keyword present.
There are two built-in macros on this template - {$NET.IF.IFDESCR.MATCHES} and {$NET.IF.IFDESCR.NOT_MATCHES} - can one of them be used in my case?
And if yes, since it is a generic template, how can I assure that this description will be checked only on switches while on other devices on which this template used, like servers, etc. alerts will work on all interfaces?
Many thanks in Advance!
I would like to find a way to fire alerts only on switch interfaces which has a specific description while monitored by Interfaces by SNMP template.
I still need to monitor all of them, but since most of interfaces connection is dynamic and not important in terms of interface status change, I'd like to put a keyword on interface description, for example first word of description will be "alertON" and fire alert only for those interfaces where this keyword present.
There are two built-in macros on this template - {$NET.IF.IFDESCR.MATCHES} and {$NET.IF.IFDESCR.NOT_MATCHES} - can one of them be used in my case?
And if yes, since it is a generic template, how can I assure that this description will be checked only on switches while on other devices on which this template used, like servers, etc. alerts will work on all interfaces?
Many thanks in Advance!
Comment