Just thinking,.. there must be a way to consider the time of day when using a trigger expression.
For example if a BGP peer drops on Cisco router or something we can trigger based on the trap:
Problem Trigger
================
{snmptrap["Peer: {#PEER_IP} has transitioned from \w+ to \w+"].str(from Established)}=1
but can we add a conjunction to this where we say something like:
{snmptrap["Peer: {#PEER_IP} has transitioned from \w+ to \w+"].str(from Established)}=1
AND
{TIME = between 5pm and 8am}
???
I'm sure its straight forward - or is this something I would do in the action side of things?
For example if a BGP peer drops on Cisco router or something we can trigger based on the trap:
Problem Trigger
================
{snmptrap["Peer: {#PEER_IP} has transitioned from \w+ to \w+"].str(from Established)}=1
but can we add a conjunction to this where we say something like:
{snmptrap["Peer: {#PEER_IP} has transitioned from \w+ to \w+"].str(from Established)}=1
AND
{TIME = between 5pm and 8am}
???
I'm sure its straight forward - or is this something I would do in the action side of things?