Hi all,
I have got the following item setup, which monitors a Site-to-Site VPN on my Cisco ASA:
I would like to create a trigger that checks if that VPN connection had traffic at a specific time of the day (i.e 2am).
So, for example:
How can I do that? What would be the trigger expression, please?
Would that be something like:
Thanks in advance!
EDIT 1:
Tried something like:
That doesn't work.. I get "Incorrect trigger expression.
EDIT 2: I may have found the solution from the Documentation.
I will monitor it overnight and check the trigger tomorrow.
I have got the following item setup, which monitors a Site-to-Site VPN on my Cisco ASA:
Code:
Name: 1 IPSec VPN RX Type: External Check Units: bps Preprocessing: Change per second Preprocessing: Multiplier 8
So, for example:
Code:
if 1 IPSec VPN RX traffic > 0.3 Mbps between 2AM and 3AM, then ok. Else, trigger!
Would that be something like:
Code:
{[URL="http://monitor.motorweb.co.nz/zabbix/items.php?form=update&itemid=30543"]Cisco_ASA_1:query_lan2_lan_cisco_final.pl["public","192.168.1.1","ASA","get","RX","203.203.203.203"][/URL].[B]min([/B]0200,0300[B])[/B]}>0.3
Thanks in advance!
EDIT 1:
Tried something like:
Code:
({Cisco_ASA_1:query_lan2_lan_cisco_final.pl["public","192.168.1.1","ASA","get","RX","203.203.203.203"].min(300)}>300000) &
({Cisco_ASA_1:query_lan2_lan_cisco_final.pl["public","192.168.1.1","ASA","get","RX","203.203.203.203"].time(0)}>020000) &
({Cisco_ASA_1:query_lan2_lan_cisco_final.pl["public","192.168.1.1","ASA","get","RX","203.203.203.203"].time(0)}<030000)
EDIT 2: I may have found the solution from the Documentation.
Code:
{Cisco_ASA_1:query_lan2_lan_cisco_final.pl["public","192.168.1.1","ASA","get","RX","203.203.203.203"].min(2m)}>200000
and {Cisco_ASA_1:query_lan2_lan_cisco_final.pl["public","192.168.1.1","ASA","get","RX","203.203.203.203"].time(0)}>020000
and {Cisco_ASA_1:query_lan2_lan_cisco_final.pl["public","192.168.1.1","ASA","get","RX","203.203.203.203"].time(0)}<030000
Comment