[ixpmanager] Nagios Not running With Bgp session!!!!!

Dominik Bay db at rrbone.net
Sun Oct 18 22:42:38 IST 2020


Hi Basil,

I'm not using the Nagios integration myself, but you can try and run the
script which is mentioned after the (No output on stdout) part.
So try to run
/usr/lib/nagios/plugins/nagios-check-birdseye-bgp-sessions.php ...
manually on the shell.

As you can see here it needs the API URL as parameter:
https://docs.ixpmanager.org/features/nagios/#service-checking_2
You should then see what the error is.

Here's the script for further reading:
https://github.com/inex/birdseye/blob/master/bin/nagios-check-birdseye-bgp-sessions.php

Cheers,
Dominik

On 10/18/20 11:19 PM, Basil Elbalaawi wrote:
> Hi Supporter
> 
> Thanks for your efforts and your respect
> i am using script especially for INEX to configure the nagios to monitor
> IXP full stack , for run 
>  
> 
> 1. ixp-manager-check-switch.sh*
> 
> 2. nagios-global-vars.sh*
> 
> 3. update-nagios-birdseye-daemons.sh*
> 
> 4. update-nagios-birdseye-sessions.sh*
> 
> 5. update-nagios-customers.sh*
> 
> 6. update-nagios-switches.sh*
> 
> ###################
> 
> root at nagios:/usr/local/nagios/etc/servers# ll
> total 364
> drwxr-xr-x 2 root   root     4096 Oct  8 11:29 ./
> drwxrwxr-x 4 nagios nagios   4096 Oct  8 11:08 ../
> -rw-r--r-- 1 root   root     5317 Oct  7 16:58 1
> -rw-r--r-- 1 root   root     3252 Oct  8 11:38 birdseye-daemon-vlan1.cfg
> -rw-r--r-- 1 root   root     5318 Oct  7 16:59
> birdseye-sessions-vlan1-type-1-IPv4.cfg
> -rw-r--r-- 1 root   root     7876 Oct  7 15:21 customers-vlan1-ipv4.cfg
> -rw-r--r-- 1 root   root   173703 Oct  7 16:42
> nagios-check-birdseye-bgp-sessions.php
> -rw-r--r-- 1 root   root   154848 Oct  7 16:42 nagios-check-birdseye.php
> -rw-r--r-- 1 root   root     3717 Oct  7 16:48 switches-infraid-1.cfg
> 
> #############################
>  
> 
> root at nagios:~# /usr/local/nagios/bin/nagios -v
> /usr/local/nagios/etc/nagios.cfg
> 
>  
> 
> Nagios Core 4.4.6
> 
> Copyright (c) 2009-present Nagios Core Development Team and Community
> Contributors
> 
> Copyright (c) 1999-2009 Ethan Galstad
> 
> Last Modified: 2020-04-28
> 
> License: GPL
> 
>  
> 
> Website: https://www.nagios.org <https://www.nagios.org/>
> 
> Reading configuration data...
> 
>    Read main config file okay...
> 
>    Read object config files okay...
> 
>  
> 
> Running pre-flight check on configuration data...
> 
>  
> 
> Checking objects...
> 
>         Checked 16 services.
> 
>         Checked 7 hosts.
> 
>         Checked 12 host groups.
> 
>         Checked 0 service groups.
> 
>         Checked 1 contacts.
> 
>         Checked 1 contact groups.
> 
>         Checked 27 commands.
> 
>         Checked 5 time periods.
> 
>         Checked 0 host escalations.
> 
>         Checked 0 service escalations.
> 
> Checking for circular paths...
> 
>         Checked 7 hosts
> 
>         Checked 0 service dependencies
> 
>         Checked 0 host dependencies
> 
>         Checked 5 timeperiods
> 
> Checking global event handlers...
> 
> Checking obsessive compulsive processor commands...
> 
> Checking misc settings...
> 
>  
> 
> Total Warnings: 0
> 
> Total Errors:   0
> 
>  
> 
> Things look okay - No serious problems were detected during the
> pre-flight check
> 
> But the output of nagios is not a suitable correct output . You can see
> the output from this link 
> 
>  
> 
> *_https://imgur.com/a/ZhaIdfD <https://imgur.com/a/ZhaIdfD>_*
> 
> _*https://imgur.com/a/ZhaIdfD <https://imgur.com/a/ZhaIdfD>*_
> 
> 
> 
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: https://www.inex.ie/mailman/listinfo/ixpmanager
> 


-- 
rrbone GmbH - Ruhrallee 9 - 44139 Dortmund
HR B 23168 Amtsgericht Dortmund - Geschaeftsfuehrer: Dominik Bay


More information about the ixpmanager mailing list