[ixpmanager] Nagios Not running With Bgp session!!!!!
Nick Hilliard
nick at foobar.org
Tue Oct 20 21:13:20 IST 2020
Basil Elbalaawi wrote on 20/10/2020 19:15:
> root at nagios:/usr/local/nagios-plugins-other#
> ./nagios-check-birdseye-bgp-sessions.php -a
> http://rs1-lan1-ipv4.ps-ix.ps/api -p pb_0002_as20719
> OK:
>
> you can see the Nagios output :
>
> https://imgur.com/a/bXnHqnc
The "UNKNOWN: You must set a valid API host" error is generated when
curl_init() fails.
This seems to work from the command line, but not when the script is
called from nagios, which is strange.
Do you have multiple instances of PHP installed on this server? What is
the output of "dpkg -l | grep php"?
Nick
More information about the ixpmanager
mailing list