Smokeping_probes_Radius(3) | SmokePing | Smokeping_probes_Radius(3) |
Smokeping::probes::Radius - a RADIUS authentication probe for SmokePing
Measures RADIUS authentication latency for SmokePing
*** Probes *** +Radius forks = 5 offset = 50% passwordfile = /some/place/secret secretfile = /another/place/secret step = 300 # The following variables can be overridden in each target section allowreject = true mininterval = 1 nas_ip_address = 10.1.2.3 password = test-password pings = 5 port = 1645 secret = test-secret timeout = 5 username = test-user # mandatory # [...] *** Targets *** probe = Radius # if this should be the default probe # [...] + mytarget # probe = Radius # if the default probe is something else host = my.host allowreject = true mininterval = 1 nas_ip_address = 10.1.2.3 password = test-password pings = 5 port = 1645 secret = test-secret timeout = 5 username = test-user # mandatory
This probe measures RADIUS (RFC 2865) authentication latency for SmokePing.
The username to be tested is specified in either the probe-specific or the target-specific variable `username', with the target-specific one overriding the probe-specific one.
The password can be specified either (in order of precedence, with the latter overriding the former) in the probe-specific variable `password', in an external file or in the target-specific variable `password'. The location of this file is given in the probe-specific variable `passwordfile'. See Smokeping::probes::passwordchecker(3pm) for the format of this file (summary: colon-separated triplets of the form `<host>:<username>:<password>')
The RADIUS protocol requires a shared secret between the server and the client. This secret can be specified either (in order of precedence, with the latter overriding the former) in the probe-specific variable `secret', in an external file or in the target-specific variable `secret'. This external file is located by the probe-specific variable `secretfile', and it should contain whitespace-separated pairs of the form `<host> <secret>'. Comments and blank lines are OK.
If the optional probe-specific variable `nas_ip_address' is specified, its value is inserted into the authentication requests as the `NAS-IP-Address' RADIUS attribute.
The probe tries to be nice to the server and does not send authentication requests more frequently than once every X seconds, where X is the value of the target-specific "min_interval" variable (1 by default).
Supported probe-specific variables:
Example value: 5
Default value: 5
Example value: 50%
Example value: /some/place/secret
Example value: /another/place/secret
Example value: 300
Supported target-specific variables:
Example value: true
Default value: 1
Example value: 10.1.2.3
Example value: test-password
Example value: 5
Example value: 1645
Example value: test-secret
Default value: 5
Example value: test-user
This setting is mandatory.
Niko Tyni <ntyni@iki.fi>
There should be a more general way of specifying RADIUS attributes.
2019-02-24 | 2.7.3 |