[ixpmanager] MRTG graphs broken for one customer
Nick Hilliard
nick at inex.ie
Wed Nov 7 20:31:18 GMT 2018
oops, that's a bug - fix in commit #118ff19
<https://github.com/inex/IXP-Manager/commit/118ff19b75f94782977cf90a2c068dc0e28bb283>.
If you want to check out what the API says, feel free to manually patch
this on your installation. If you do this, you'll need to revert the
patch the next time you upgrade ('git checkout
routes/apiv4-auth-superuser.php'). Context diff available here:
> https://github.com/inex/IXP-Manager/commit/118ff19b75f94782977cf90a2c068dc0e28bb283.diff
Was this customer's port set up so that everything is enabled?
Nick
> Tom Duff <mailto:tom.duff at gmail.com>
> 7 November 2018 at 18:12
> That provisioner API URL gives me a 404 error (when I add the correct
> switch name, sw1.phl1 in there).
>
> Generating a RC config works, so the API seems to be ok (i.e
> http://x.x.x.x/api/v4/router/gen-config/rc1-lan1-ipv6 works) - but it
> doesnt seem to like the
> "provisioner/layer2interfaces/switch-name/sw1.phl1.json" bit.
>
> This is on 4.8.0
>
> --Tom
> Nick Hilliard <mailto:nick at inex.ie>
> 6 November 2018 at 08:27
>
>
> If you're running v4.7, you should upgrade to v4.8. There is a bug in
> 4.7 which causes this to happen.
>
> Nick
> Tom Duff <mailto:tom.duff at gmail.com>
> 6 November 2018 at 07:51
> I've run into a head-scratcher here and I was wondering if anyone has
> had this experience before - Every customer has graphs except for one.
> For that one customer, the graphs show up as broken images. My MRTG
> daemon is running and it works fine, but my problem appears to be with
> how customer data is generated into the mrtg.cfg file. The missing
> customer isn't being included when the config file is generated.
>
> I've checked that the customer's switchport is correct on the switch
> page, that the correct physical port is allocated and the virtual
> interface is correct. I checked that there was no "Date Left" on the
> account record, and everything is set to "Active" or "Connected".
> Everything is basically identical to every other customer (switch
> config included).
>
> I've also tried deleting the customer's port configurations (phys and
> virt) and re-adding them. Still no luck. I've toggled all sorts of
> settings back and forth numerous times, but to no avail. I've
> allocated them a brand new port that wasn't theirs, and still nothing.
> Their customer record just seems to be skipped over when "php artisan
> grapher:generate-configuration -B mrtg" is called.
>
> Has anyone seen this before? Any help would be appreciated. I've now
> spent several hours trying to figure this out.
>
> --Tom
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here:
> https://www.inex.ie/mailman/listinfo/ixpmanager
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20181107/95ab07b9/attachment-0001.html>
More information about the ixpmanager
mailing list