Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    MIM API not reporting some status correctly.

    Scheduled Pinned Locked Moved Multi-Instance Management
    6 Posts 2 Posters 261 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      powerguy42
      last edited by

      Tested on 24.11 with patches installed and applied.

      I noticed for the endpoints
      /services/status
      and
      /system/package/installed

      they are not reporting the status correctly.

      for /services/status it's showing the enabled and status as "False" but the webgui is showing it as enabled and running.

      {'name': 'wireguard', 'description': 'WireGuard', 'enabled': False, 'status': False}
      {'name': 'syslog-ng', 'description': 'Syslog-ng Syslog Server', 'enabled': False, 'status': False}
      {'name': 'suricata', 'description': 'Suricata IDS/IPS Daemon', 'enabled': False, 'status': False}

      eea76446-9779-4ce6-aff7-563a868ffb9e-image.png

      for /system/package/installed
      it's showing the latest version of the package available and not the "installed" version of the package.

      1 Reply Last reply Reply Quote 0
      • M
        marcosm Netgate
        last edited by

        Thanks for testing! This will be resolved in the upcoming pfSense+ release.

        P 1 Reply Last reply Reply Quote 0
        • P
          powerguy42 @marcosm
          last edited by

          @marcosm

          I also noticed the /aliases end point does not return the ID of the alias. This is needed to manage aliases via the other aliases end points. Hopefully this will be fixed also.

          1 Reply Last reply Reply Quote 0
          • M
            marcosm Netgate
            last edited by

            Aliases are ID'd by their name.

            P 1 Reply Last reply Reply Quote 0
            • P
              powerguy42 @marcosm
              last edited by

              @marcosm

              That doesn't work, if i edit a alias in the WebGUI i see a ID
              https://x.x.x.x/firewall_aliases_edit.php?id=4

              If i supply this ID 4 to the GET /aliases/4 end-point i get the correct alias to return.

              If i supply the alias name to GET /aliases/alias_name I get a 400 error response with the error message "Invalid Index"

              {"errcode":400,"errmsg":"invalid index"}

              1 Reply Last reply Reply Quote 0
              • M
                marcosm Netgate
                last edited by

                You're right, that will work on the upcoming pfSense+ 25.07 release.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.