centreon-plugins/tests/network/cisco/wlc/snmp/radius-auth-servers.robot
2024-10-31 10:50:58 +01:00

41 lines
15 KiB
Plaintext

*** Settings ***
Documentation Check radius authentication servers.
Resource ${CURDIR}${/}..${/}..${/}..${/}..${/}resources/import.resource
Test Timeout 120s
*** Variables ***
${CMD} ${CENTREON_PLUGINS} --plugin=network::cisco::wlc::snmp::plugin
*** Test Cases ***
radius-auth-servers ${tc}
[Tags] network wlc snmp
${command} Catenate
... ${CMD}
... --mode=radius-auth-servers
... --hostname=${HOSTNAME}
... --snmp-port=${SNMPPORT}
... --snmp-community=network/cisco/wlc/snmp/slim_cisco_wlc
... ${extra_options}
${output} Run ${command}
${output} Strip String ${output}
Should Contain
... ${output}
... ${expected_result}
... Wrong output result for command:\n${command}\n\nObtained:\n${output}\n\nExpected:\n${expected_result}\n
... values=False
... collapse_spaces=True
Examples: tc extra_options expected_result --
... 1 --filter-counters='' OK: All radius authentication servers are ok | 'radius.authservers.total.count'=6;;;0; '192.168.42.200:1645#radius.authserver.roundtrip.time.milliseconds'=0µs;;;0; '192.168.42.200:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.169:1812#radius.authserver.roundtrip.time.milliseconds'=5µs;;;0; '192.168.42.169:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.82:1645#radius.authserver.roundtrip.time.milliseconds'=4µs;;;0; '192.168.42.82:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0;
... 2 --filter-name OK: All radius authentication servers are ok | 'radius.authservers.total.count'=6;;;0; '192.168.42.200:1645#radius.authserver.roundtrip.time.milliseconds'=0µs;;;0; '192.168.42.200:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.169:1812#radius.authserver.roundtrip.time.milliseconds'=5µs;;;0; '192.168.42.169:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.82:1645#radius.authserver.roundtrip.time.milliseconds'=4µs;;;0; '192.168.42.82:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0;
... 3 --warning-authservers-total --critical-authservers-total OK: All radius authentication servers are ok | 'radius.authservers.total.count'=6;;;0; '192.168.42.200:1645#radius.authserver.roundtrip.time.milliseconds'=0µs;;;0; '192.168.42.200:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.169:1812#radius.authserver.roundtrip.time.milliseconds'=5µs;;;0; '192.168.42.169:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.82:1645#radius.authserver.roundtrip.time.milliseconds'=4µs;;;0; '192.168.42.82:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.33:1812#radius.authserver.roundtrip.time.milliseconds'=0µs;;;0; '192.168.42.33:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.33:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.33:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.138:1812#radius.authserver.roundtrip.time.milliseconds'=2µs;;;0; '192.168.42.138:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.138:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.138:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.20:1645#radius.authserver.roundtrip.time.milliseconds'=4µs;;;0; '192.168.42.20:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.20:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.20:1645#radius.authserver.clients.timeout.count'=0;;;0;
... 4 --warning-authserver-roundtrip-time --critical-authserver-roundtrip-time OK: All radius authentication servers are ok | 'radius.authservers.total.count'=6;;;0; '192.168.42.200:1645#radius.authserver.roundtrip.time.milliseconds'=0µs;;;0; '192.168.42.200:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.169:1812#radius.authserver.roundtrip.time.milliseconds'=5µs;;;0; '192.168.42.169:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.82:1645#radius.authserver.roundtrip.time.milliseconds'=4µs;;;0; '192.168.42.82:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.33:1812#radius.authserver.roundtrip.time.milliseconds'=0µs;;;0; '192.168.42.33:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.33:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.33:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.138:1812#radius.authserver.roundtrip.time.milliseconds'=2µs;;;0; '192.168.42.138:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.138:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.138:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.20:1645#radius.authserver.roundtrip.time.milliseconds'=4µs;;;0; '192.168.42.20:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.20:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.20:1645#radius.authserver.clients.timeout.count'=0;;;0;
... 5 --warning-authserver-packets-access-requests --critical-authserver-packets-access-requests OK: All radius authentication servers are ok | 'radius.authservers.total.count'=6;;;0; '192.168.42.200:1645#radius.authserver.roundtrip.time.milliseconds'=0µs;;;0; '192.168.42.200:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.169:1812#radius.authserver.roundtrip.time.milliseconds'=5µs;;;0; '192.168.42.169:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.82:1645#radius.authserver.roundtrip.time.milliseconds'=4µs;;;0; '192.168.42.82:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.33:1812#radius.authserver.roundtrip.time.milliseconds'=0µs;;;0; '192.168.42.33:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.33:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.33:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.138:1812#radius.authserver.roundtrip.time.milliseconds'=2µs;;;0; '192.168.42.138:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.138:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.138:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.20:1645#radius.authserver.roundtrip.time.milliseconds'=4µs;;;0; '192.168.42.20:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.20:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.20:1645#radius.authserver.clients.timeout.count'=0;;;0;
... 6 --warning-authserver-packets-access-accepts --critical-authserver-packets-access-accepts OK: All radius authentication servers are ok | 'radius.authservers.total.count'=6;;;0; '192.168.42.200:1645#radius.authserver.roundtrip.time.milliseconds'=0µs;;;0; '192.168.42.200:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.169:1812#radius.authserver.roundtrip.time.milliseconds'=5µs;;;0; '192.168.42.169:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.82:1645#radius.authserver.roundtrip.time.milliseconds'=4µs;;;0; '192.168.42.82:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.33:1812#radius.authserver.roundtrip.time.milliseconds'=0µs;;;0; '192.168.42.33:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.33:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.33:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.138:1812#radius.authserver.roundtrip.time.milliseconds'=2µs;;;0; '192.168.42.138:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.138:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.138:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.20:1645#radius.authserver.roundtrip.time.milliseconds'=4µs;;;0; '192.168.42.20:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.20:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.20:1645#radius.authserver.clients.timeout.count'=0;;;0;
... 7 --warning-authserver-clients-timeout --critical-authserver-clients-timeout OK: All radius authentication servers are ok | 'radius.authservers.total.count'=6;;;0; '192.168.42.200:1645#radius.authserver.roundtrip.time.milliseconds'=0µs;;;0; '192.168.42.200:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.169:1812#radius.authserver.roundtrip.time.milliseconds'=5µs;;;0; '192.168.42.169:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.82:1645#radius.authserver.roundtrip.time.milliseconds'=4µs;;;0; '192.168.42.82:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.33:1812#radius.authserver.roundtrip.time.milliseconds'=0µs;;;0; '192.168.42.33:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.33:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.33:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.138:1812#radius.authserver.roundtrip.time.milliseconds'=2µs;;;0; '192.168.42.138:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.138:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.138:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.20:1645#radius.authserver.roundtrip.time.milliseconds'=4µs;;;0; '192.168.42.20:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.20:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.20:1645#radius.authserver.clients.timeout.count'=0;;;0;
... 8 --verbose OK: All radius authentication servers are ok | 'radius.authservers.total.count'=6;;;0; '192.168.42.200:1645#radius.authserver.roundtrip.time.milliseconds'=0µs;;;0; '192.168.42.200:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.200:1645#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.169:1812#radius.authserver.roundtrip.time.milliseconds'=5µs;;;0; '192.168.42.169:1812#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.169:1812#radius.authserver.clients.timeout.count'=0;;;0; '192.168.42.82:1645#radius.authserver.roundtrip.time.milliseconds'=4µs;;;0; '192.168.42.82:1645#radius.authserver.packets.access.requests.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.packets.access.accepts.persecond'=0.00/s;;;0; '192.168.42.82:1645#radius.authserver.clients.timeout.count'=0;;;0;