[ixpmanager] Fwd: Birdseye

Diarmuid O Briain diarmuid at obriain.com
Fri Apr 19 17:20:45 IST 2019


Barry,

No, bother, here you go.

This is a Birdseye installation only.

There were no files in the /srv/birdseye/storage/logs/ directory. The list
asked for the output of tail -f storage/log/laravel.log

ubuntu at mIXP:~$ *dig +short cs1-lan1-ipv4.netlabs.tst*
cs1.netlabs.tst.
198.8.8.233

ubuntu at mIXP:~$ *ping -c 1 cs1-lan1-ipv4.netlabs.tst*
PING cs1.netlabs.tst (198.8.8.233) 56(84) bytes of data.
64 bytes from cs1.netlabs.tst (198.8.8.233): icmp_seq=1 ttl=64 time=0.288 ms

--- cs1.netlabs.tst ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.288/0.288/0.288/0.000 ms

ubuntu at mIXP:~$* curl http://cs1-lan1-ipv4.netlabs.tst/api/status
<http://cs1-lan1-ipv4.netlabs.tst/api/status>; echo*
{"api":{"from_cache":true,"ttl_mins":1,"version":"1.1.4","max_routes":1000},"status":{"version":"1.6.3","router_id":"199.9.9.233","server_time":"2019-04-19T15:48:10+00:00","last_reboot":"2019-04-19T15:39:38+00:00","last_reconfig":"2019-04-19T15:39:38+00:00","message":"Daemon
is up and running"}}

root at cs1:/srv/birdseye# *ls -la storage/logs/*
total 12
drwxrwxrwx 2 www-data www-data 4096 Jul  3  2018 .
drwxrwxrwx 5 www-data www-data 4096 Apr 19 11:50 ..
-rw-rw-rw- 1 www-data www-data   14 Apr 26  2017 .gitignore

root at cs1:~# *ls -la /var/run/bird*
total 0
drwxrwxr-x  2 bird bird  80 Apr 19 15:39 .
drwxr-xr-x 21 root root 740 Apr 19 08:13 ..
srw-rw----  1 bird bird   0 Apr 19 15:39 bird.ctl
srw-rw----  1 bird bird   0 Apr 19 15:39 bird6.ctl

root at cs1:~# *ls -la /srv/birdseye/*env*
-rw-r--r-- 1 root root 2994 Apr 19 15:22
/srv/birdseye/birdseye-cs1-lan1-ipv4.env
-rw-r--r-- 1 root root 2995 Apr 19 15:22
/srv/birdseye/birdseye-cs1-lan1-ipv6.env

root at cs1:~# *cat /srv/birdseye/*env | egrep -v '(^#)|(^\s*$)'*
CACHE_DRIVER=file
BIRDC="/usr/bin/sudo /srv/birdseye/bin/birdc -4 -s /var/run/bird/bird.ctl"
LOOKING_GLASS_ENABLED=true
CACHE_DRIVER=file
BIRDC="/usr/bin/sudo /srv/birdseye/bin/birdc -6 -s /var/run/bird/bird6.ctl"
LOOKING_GLASS_ENABLED=true

root at cs1:~#* /usr/sbin/birdc -s /var/run/bird/bird.ctl show status*
BIRD 1.6.3 ready.
BIRD 1.6.3
Router ID is 199.9.9.233
Current server time is 2019-04-19 16:10:37
Last reboot on 2019-04-19 15:39:38
Last reconfiguration on 2019-04-19 15:39:38
Daemon is up and running

root at cs1:~# */usr/sbin/birdc -s /var/run/bird/bird6.ctl show status*
BIRD 1.6.3 ready.
BIRD 1.6.3
Router ID is 199.9.9.233
Current server time is 2019-04-19 16:10:43
Last reboot on 2019-04-19 15:39:38
Last reconfiguration on 2019-04-19 15:39:38
Daemon is up and running

root at cs1:~# *cat /etc/sudoers /etc/sudoers.d/* | grep birdseye*
www-data        ALL=(ALL)       NOPASSWD: /srv/birdseye/bin/birdc

root at cs1:~# */srv/birdseye/bin/birdc -4 -s /var/run/bird/bird.ctl show
status*
BIRD 1.6.3 ready.
Access restricted
BIRD 1.6.3
Router ID is 199.9.9.233
Current server time is 2019-04-19 16:11:35
Last reboot on 2019-04-19 15:39:38
Last reconfiguration on 2019-04-19 15:39:38
Daemon is up and running

root at cs1:~#* /srv/birdseye/bin/birdc -6 -s /var/run/bird/bird6.ctl show
status*
BIRD 1.6.3 ready.
Access restricted
BIRD 1.6.3
Router ID is 199.9.9.233
Current server time is 2019-04-19 16:11:40
Last reboot on 2019-04-19 15:39:38
Last reconfiguration on 2019-04-19 15:39:38
Daemon is up and running

root at cs1:~#* netstat -lpn | grep lighttpd*
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
    15080/lighttpd
unix  2      [ ACC ]     STREAM     LISTENING     1695215  15085/php-cgi
    /var/run/lighttpd/php.socket-0

root at cs1:~#* netstat -lpn | grep php*
unix  2      [ ACC ]     STREAM     LISTENING     1695215  15085/php-cgi
    /var/run/lighttpd/php.socket-0

root at cs1:/home/ubuntu#* curl -O
https://raw.githubusercontent.com/inex/birdseye/master/data/configs/lighttpd.conf
<https://raw.githubusercontent.com/inex/birdseye/master/data/configs/lighttpd.conf>*
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
100  1524  100  1524    0     0   1288      0  0:00:01  0:00:01 --:--:--
1288

root at cs1:/home/ubuntu# *diff lighttpd.conf /etc/lighttpd/lighttpd.conf*
38d37
<         "^/test\.php$" => "$0",

regards,

Diarmuid

--

*Irish by birth, located in Uganda but Munster by the grace of the Gods.*




On Fri, 19 Apr 2019 at 18:58, Barry O'Donovan <barry.odonovan at inex.ie>
wrote:

> Diarmuid,
>
> there's a bunch of debugging information here:
>
> https://docs.ixpmanager.org/features/looking-glass/#debugging
>
> All of which is required for us to begin to assist as a blank page may
> indicate any one of many many problems :-(
>
>   - Barry
>
> Diarmuid O Briain wrote on 19/04/2019 11:50:
> > Hi all,
> >
> > This is a Birdseye question only (not IXP Manager). Bridseye is
> > installed and the micro service API element works fine, as does the
> > route lookup; however, the Looking Glass
> > part/http://cs1-lan1-ipv4.netlabs.tst/lg/protocols/bgp/  just returns a
> > blank page. Any ideas ?
> >
> > Looking glass is enabled.
> >
> > root at cs1:/srv/birdseye# less birdseye-cs1-lan1-ipv4.env | grep -E -v
> > '(^#|^$)'
> > CACHE_DRIVER=file
> > BIRDC="/usr/bin/sudo /srv/birdseye/bin/birdc -4 -s
> /var/run/bird/bird.ctl"
> > LOOKING_GLASS_ENABLED=true
> >
> > API responses.
> >
> > ubuntu at mIXP:~$ *curl http://cs1-lan1-ipv4.netlabs.tst/api/status; echo*
> >
> {"api":{"from_cache":true,"ttl_mins":1,"version":"1.1.4","max_routes":1000},"status":{"version":"1.6.3","router_id":"199.9.9.233","server_time":"2019-04-19T15:48:10+00:00","last_reboot":"2019-04-19T15:39:38+00:00","last_reconfig":"2019-04-19T15:39:38+00:00","message":"Daemon
>
> > is up and running"}}
> >
> > ubuntu at mIXP:~$*curl http://cs1-lan1-ipv4.netlabs.tst/api/protocols/bgp;
> > echo*
> >
> {"api":{"from_cache":false,"ttl_mins":2,"version":"1.1.4","max_routes":1000},"protocols":{"ISP1":{"protocol":"ISP1","bird_protocol":"BGP","table":"master","state":"up","state_changed":"2019-04-19T15:39:43+00:00","connection":"
>
> >    Established
> >
>  ","preference":100,"input_filter":"ACCEPT","output_filter":"REJECT","routes":{"imported":5,"exported":0,"preferred":3},"route_changes":{"import_updates":{"received":5,"rejected":0,"filtered":0,"ignored":0,"accepted":5},"import_withdraws":{"received":0,"rejected":0,"ignored":0,"accepted":0},"export_updates":{"received":7,"rejected":3,"filtered":4,"accepted":0},"export_withdraws":{"received":0,"accepted":0}},"bgp_state":"Established","neighbor_address":"199.9.9.2","neighbor_as":5111,"neighbor_id":"200.1.1.1","neighbor_capabilities":["refresh"],"bgp_session":["external","route-server"],"source_address":"199.9.9.233","hold_timer":180,"keepalive":60},"ISP2":{"protocol":"ISP2","bird_protocol":"BGP","table":"master","state":"up","state_changed":"2019-04-19T15:39:43+00:00","connection":"
>   Established
>  ","preference":100,"input_filter":"ACCEPT","output_filter":"REJECT","routes":{"imported":5,"exported":0,"preferred":1},"route_changes":{"import_updates":{"received":5,"rejected":0,"filtered":0,"ignored":0,"accepted":5},"import_withdraws":{"received":0,"rejected":0,"ignored":0,"accepted":0},"export_updates":{"received":7,"rejected":3,"filtered":4,"accepted":0},"export_withdraws":{"received":0,"accepted":0}},"bgp_state":"Established","neighbor_address":"199.9.9.3","neighbor_as":5222,"neighbor_id":"200.2.2.2","neighbor_capabilities":["refresh"],"bgp_session":["external","route-server"],"source_address":"199.9.9.233","hold_timer":180,"keepalive":60},"ISP3":{"protocol":"ISP3","bird_protocol":"BGP","table":"master","state":"up","state_changed":"2019-04-19T15:39:43+00:00","connection":"
>   Established
>  ","preference":100,"input_filter":"ACCEPT","output_filter":"REJECT","routes":{"imported":5,"exported":0,"preferred":1},"route_changes":{"import_updates":{"received":5,"rejected":0,"filtered":0,"ignored":0,"accepted":5},"import_withdraws":{"received":0,"rejected":0,"ignored":0,"accepted":0},"export_updates":{"received":7,"rejected":1,"filtered":6,"accepted":0},"export_withdraws":{"received":0,"accepted":0}},"bgp_state":"Established","neighbor_address":"199.9.9.4","neighbor_as":5333,"neighbor_id":"200.3.3.3","neighbor_capabilities":["refresh","AS4"],"bgp_session":["external","route-server","AS4"],"source_address":"199.9.9.233","hold_timer":180,"keepalive":60}}}
> >
> > regards,
> >
> > Diarmuid
> > --
> >
> > */Irish by birth, located in Uganda but Munster by the grace of the
> Gods./*
> >
> >
> > _______________________________________________
> > INEX IXP Manager mailing list
> > ixpmanager at inex.ie
> > Unsubscribe or change options here:
> https://www.inex.ie/mailman/listinfo/ixpmanager
> >
>
>
> --
>
> Kind regards,
> Barry O'Donovan
> INEX Operations
>
> https://www.inex.ie/support/
> +353 1 531 3339
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20190419/cc4bc98f/attachment-0001.html>


More information about the ixpmanager mailing list