-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Fortinet's 'execute ping' template
- Loading branch information
Maxim Shpak
authored and
pskliarenko
committed
Aug 8, 2024
1 parent
16b4a97
commit b294866
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
tests/fortinet/execute_ping/fortinet_execute_ping_sendto_failed.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
PING 8.8.8.8 (8.8.8.8): 56 data bytes | ||
sendto failed | ||
sendto failed | ||
sendto failed | ||
sendto failed | ||
|
||
--- 8.8.8.8 ping statistics --- | ||
10 packets transmitted, 0 packets received, 100% packet loss |
14 changes: 14 additions & 0 deletions
14
tests/fortinet/execute_ping/fortinet_execute_ping_sendto_failed.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
parsed_sample: | ||
- address: "8.8.8.8" | ||
avg_rtt: "" | ||
max_rtt: "" | ||
min_rtt: "" | ||
packet_loss: "100" | ||
received: "0" | ||
sent_packet_address: [] | ||
sent_packet_icmp_seq: [] | ||
sent_packet_size: [] | ||
sent_packet_time: [] | ||
sent_packet_ttl: [] | ||
transmitted: "10" |