Sylvain Cresto af72ad6cb0
new(plugin) network::forcepoint::sdwan::snmp (#5669)
Refs: CTOR-1512

Co-authored-by: Roman Morandell <46994680+rmorandell-pgum@users.noreply.github.com>
Co-authored-by: pkippes <pkippes@centreon.com>
2025-08-08 09:22:25 +02:00

32 lines
1.5 KiB
Plaintext

*** Settings ***
Documentation Forcepoint SD-WAN Mode RejectedPackets
Resource ${CURDIR}${/}../..${/}..${/}..${/}resources/import.resource
Suite Setup Ctn Generic Suite Setup
Test Timeout 120s
*** Variables ***
${CMD} ${CENTREON_PLUGINS} --plugin=network::forcepoint::sdwan::snmp::plugin
*** Test Cases ***
RejectedPackets ${tc}
[Tags] network forcepoint sdwan snmp
${command} Catenate
... ${CMD}
... --mode=rejected-packets
... --hostname=${HOSTNAME}
... --snmp-version=${SNMPVERSION}
... --snmp-port=${SNMPPORT}
... --snmp-community=network/forcepoint/sdwan/snmp/forcepoint
... ${extra_options}
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Examples: tc extra_options expected_result --
... 1 ${EMPTY} OK: rejected-packets-sec : buffer creation
... 2 ${EMPTY} OK: Packets Rejected : 0.00 /s | 'rejected.packets.persecond'=0.00packets/s;;;0;
... 3 --warning-rejected-packets-sec=1: WARNING: Packets Rejected : 0.00 /s | 'rejected.packets.persecond'=0.00packets/s;1:;;0;
... 4 --critical-rejected-packets-sec=1: CRITICAL: Packets Rejected : 0.00 /s | 'rejected.packets.persecond'=0.00packets/s;;1:;0;