Jump to content

Question

Posted

KN-1010  5.2 Alpha 7
1. Не выполняется POST запрос:
{
    "ping-check": {
        "profile": {
            "_PINGCHECK_VPN4": {
                "max-fails": 4
            }
        }
    }
}

{
    "ping-check": {
        "profile": {
            "_PINGCHECK_VPN4": {
                "max-fails": {
                    "status": [
                        {
                            "status": "error",
                            "code": "7471107",
                            "ident": "Command::Root",
                            "message": "no input [admin#28(password) from http://{http/rci}@192.168.1.41:Home/ agent Edge 151.0.0 on Windows 10 via browser-direct]."
                        }
                    ]
                }
            }
        }
    }
}
Такой же запрос для timeout, host и т.п. выполняется без ошибок.
Для остальных параметров с дефисом (min-success, update-interval) то же самое. При этом через parser запрос выполняется.

2. POST запрос
{
    "show": {
        "sc": {
            "ping-check": {
                "profile": {
                    "_PINGCHECK_VPN4": {}
                }
            }
        }
    }
}
выполняется без ошибок, но в логе сообщение:  Command::XmlConfig: "timeout": failed to set "timeout": invalid type.

Баг/фича/кривые руки (мои)?

1 answer to this question

Recommended Posts

  • 0
Posted
{
    "ping-check": {
        "profile": {
            "_PINGCHECK_VPN4": {
                "max-fails": {
                    "count": 4
                }
            }
        }
    }
}

А ошибка с таймаутом реальна, поправим.

  • Thanks 1
  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies. By clicking "I accept" or continuing to browse the site, you authorize their use in accordance with the Privacy Policy.