Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exiting: failed to connect to any daemons. #4

Open
C20NE opened this issue Jun 6, 2020 · 3 comments
Open

Exiting: failed to connect to any daemons. #4

C20NE opened this issue Jun 6, 2020 · 3 comments

Comments

@C20NE
Copy link

C20NE commented Jun 6, 2020

Hello. I'm getting this error:

root@zabbix:/# zabbix_get -s IP -k bgp.peers.discovery
Exiting: failed to connect to any daemons.
{
"data": []
}

Already added zabbix to vtysh:
sudo usermod -a -G quagga zabbix

If I run from the local quagga server it works:
root@bgp:/usr/local/bin# /usr/bin/env python bgpmon.py discovery
{
"data": [
{
"{#DESCRIPTION}": "PEERING-1",
"{#MAX-PREFIX}": -1,
"{#PEER_IP}": "IP"
},

@den1s
Copy link
Owner

den1s commented Jun 10, 2020

Hello!

Can you login to zabbix user on router server and execute vtysh -c "sh run"?

su zabbix
vtysh -c "sh run"

@C20NE
Copy link
Author

C20NE commented Jul 6, 2020

Hello, problem solved.

Script was having problems to vtysh.

Does it supports IPv6 peers? Only IPv4 peers are showing up.

@den1s
Copy link
Owner

den1s commented Jul 7, 2020

Unfortunately there is no support for ipv6 neighbors...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants