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

MongoDB Data is not being sent to Zabbix server #18

Open
nkgokul opened this issue Jan 28, 2019 · 0 comments
Open

MongoDB Data is not being sent to Zabbix server #18

nkgokul opened this issue Jan 28, 2019 · 0 comments

Comments

@nkgokul
Copy link

nkgokul commented Jan 28, 2019

Thanks for the monitoring script.

When I run python zabbix-mongodb.py I am getting all the stats and they are being written on the screen.

When I run sh mongodb-stats.sh

I keep getting the following error.

close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
zabbix_sender [26855]: invalid parameter "/etc/zabbix/zabbix_agentd.conf"

Looks like the issue is when the python script is being called form shell script. Any pointers to fix the issue would be great.

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

1 participant