<div dir="ltr"><font size="4">root@nagios:/usr/local/nagios-plugins-other# ./nagios-check-birdseye-bgp-sessions.php -a <a href="http://rs1-lan1-ipv4.ps-ix.ps/api" target="_blank">http://rs1-lan1-ipv4.ps-ix.ps/api</a> -p pb_0002_as20719<br><font color="#ff0000">OK:</font></font><br><div><font color="#ff0000"><br></font></div><div><font color="#000000" size="4">you can see the Nagios output :</font></div><div><font color="#ff0000"><br></font></div><div><font size="6"><a href="https://imgur.com/a/bXnHqnc" target="_blank">https://imgur.com/a/bXnHqnc</a></font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 20, 2020 at 8:09 PM Basil Elbalaawi <<a href="mailto:saifbasilyazan@gmail.com">saifbasilyazan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">root@nagios:/usr/local/nagios-plugins-other# ./nagios-check-birdseye-bgp-sessions.php -a <a href="http://rs1-lan1-ipv4.ps-ix.ps/api" target="_blank">http://rs1-lan1-ipv4.ps-ix.ps/api</a> -p pb_0002_as20719<br><font color="#ff0000">OK:</font><br><div><font color="#ff0000"><br></font></div><div><font color="#000000" size="4">you can see the Nagios output :</font></div><div><font color="#ff0000"><br></font></div><div><font size="6"><a href="https://imgur.com/a/bXnHqnc" target="_blank">https://imgur.com/a/bXnHqnc</a></font><font color="#ff0000"><br></font></div><div><font size="6"><br></font></div><div><font color="#ff0000"><br></font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 19, 2020 at 6:59 PM Basil Elbalaawi <<a href="mailto:saifbasilyazan@gmail.com" target="_blank">saifbasilyazan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you very much Barry<div><br></div><div>root@nagios:/usr/local/nagios-plugins-other# ./nagios-check-birdseye.php -a <a href="http://rs1-lan1-ipv4.ps-ix.ps/api" target="_blank">http://rs1-lan1-ipv4.ps-ix.ps/api</a><br><font color="#ff0000">OK: Bird 2.0.7. Bird's Eye 1.2.2. Router ID 185.153.160.203. Uptime: 0 days. Last Reconfigure: 2020-10-19 12:50:15.0 BGP sessions up of 3.</font><br>root@nagios:/usr/local/nagios-plugins-other#<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 19, 2020 at 6:54 PM Barry O'Donovan <<a href="mailto:barry.odonovan@inex.ie" target="_blank">barry.odonovan@inex.ie</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Basil Elbalaawi wrote on 19/10/2020 16:47:<br>
> PHP Fatal error: Uncaught Error: Call to undefined function curl_init() <br>
> in /usr/local/nagios-plugins-other/nagios-check-birdseye.php:73<br>
> Stack trace:<br>
<br>
Based on this (good call Dominik), try installing php-curl<br>
<br>
e.g. apt install php-curl<br>
<br>
- Barry<br>
<br>
<br>
<br>
</blockquote></div>
</blockquote></div>
</blockquote></div>