Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radius-accounting monitor type not supported #137

Open
AnthonyF5 opened this issue Oct 12, 2023 · 0 comments
Open

radius-accounting monitor type not supported #137

AnthonyF5 opened this issue Oct 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@AnthonyF5
Copy link

Is your feature request related to a problem? Please describe.

Problem creating a monitor of the type radius-monitoring.
This is supported in the UI and TMSH but not in the AS3 schema.

Error from AS3 curl, only radius is supported:

monitorType: should be equal to one of the allowed values 
[\"dns\",\"external\",\"ftp\",\"http\",\"https\",\"http2\",\"icmp\",\"inband\",\"ldap\",\"mysql\",\"postgresql\",\"radius\",\"sip\",\"smtp\",\"tcp\",\"tcp-half-open\",\"udp\"]"]

Describe the solution you'd like

Ability to create a radius-accounting monitor type with AS3.

Example of the monitor type radius-accounting:

ltm monitor radius-accounting /Common/radisu_monitor { 
    debug no
    defaults-from /Common/radius_accounting
    description "some description"
    interval 30
    nas-ip-address 10.10.10.10
    secret <removed>
    time-until-up 0
    timeout 31
    username any
 }

Wanted syntax:

        "monitorRADIUS_nonDefault1": {
          "class": "Monitor",
          "monitorType": "radius-accounting",
          "targetAddress": "192.0.2.17",
          "targetPort": 1812,
          "interval": 10,
          "upInterval": 15,
          "timeUntilUp": 20,
          "timeout": 46,
          "username": "Adm-nM+nkey",
          "passphrase": {
            "ciphertext": "ZjVmNQ==",
            "protected": "eyJhbGciOiJkaXIiLCJlbmMiOiJub25lIn0",
            "ignoreChanges": true
          },
          "secret": {
            "ciphertext": "ZjVmNQ==",
            "protected": "eyJhbGciOiJkaXIiLCJlbmMiOiJub25lIn0",
            "ignoreChanges": true
          },
          "nasIpAddress": "198.0.2.20"
        },

Describe alternatives you've considered

The two options are TMSH and UI to create. The client wants to use DO and AS3 as the standard automation.

Additional context

AS3 Version: v3.41.0

@AnthonyF5 AnthonyF5 added the enhancement New feature or request label Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant