[special_alertmanager] how to use it?

I can reach altermanager through the ingress

OMD[example_site]:~$ curl https://kube-dev.iznet/alertmanager
<!DOCTYPE html>
<html lang="en">
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
        <link rel="icon" type="image/x-icon" href="favicon.ico" />
            // If there is no trailing slash at the end of the path in the url,
            // add one. This ensures assets like script.js are loaded properly
            if (location.pathname.substr(-1) != '/') {
                location.pathname = location.pathname + '/';
                console.log('added slash');
        <script src="script.js"></script>
            var app = Elm.Main.init({
                flags: {
                    production: true,
                    defaultCreator: localStorage.getItem('defaultCreator'),
                    groupExpandAll: JSON.parse(localStorage.getItem('groupExpandAll'))
            app.ports.persistDefaultCreator.subscribe(function(name) {
                localStorage.setItem('defaultCreator', name);
            app.ports.persistGroupExpandAll.subscribe(function(expanded) {
                localStorage.setItem('groupExpandAll', JSON.stringify(expanded));

When I configure the special agent in v2.1.0p15 with custom url kube-dev.iznet/alertmanager (https), the piggyback host has an unhandled problem [special_alertmanager] Agent exited with code 1: 404 Client Error: Not Found for url: **https://kube-dev.iznet/alertmanager/api/v1/rules**

There is no API-Endpoint on the ingress. Where has the custom-url in the special_agent config has to point to?

Hi @Brice187 did you fix it already?
We got also a different path and for us it is working. So if you go to kube-dev.iznet/alertmanager it is redirecting to kube-dev.iznet/alertmanager/graph?
What is the site showing mentioned in the error → https://kube-dev.iznet/alertmanager/api/v1/rules

Kind regards

Fixed it by using prometheus endpoint (not alertmanager) :wink: