Ad Widget

Collapse

How to monitor MongoDB with Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tungnx
    Junior Member
    • Aug 2021
    • 4

    #1

    How to monitor MongoDB with Zabbix

    Hi everyone,

    I using the Zabbix Server: 5.0.14 on Ubuntu 20.04.2 and Zabbix Agent: 5.4.3 on Ubuntu 18.04. Ubuntu 18.04 install MongoDB 4.4.7.

    Zabbix Server can monitor OS Ubuntu 18.04 but the MongoDB monitor data is doesn't have anymore.
    I am using Template DB MongoDB node by Zabbix Agent 2 or Template DB MongoDB cluster by Zabbix Agent 2 is still not working.
    I attacked some screenshot config. Can you help me out?

    Click image for larger version

Name:	config.png
Views:	916
Size:	48.5 KB
ID:	430376

    Click image for larger version

Name:	List.png
Views:	860
Size:	75.8 KB
ID:	430377
    Click image for larger version

Name:	data.png
Views:	844
Size:	79.2 KB
ID:	430378
  • raveland
    Junior Member
    • Aug 2021
    • 1

    #2
    Hello,



    1) I am not sure it can connect to different IPs
    2) Use only hostort in CONNSTRING, remove other params (eg tcp://10.7.0.11:27017)
    3) Provide auth details in 2 different macros {$MONGODB.USER} + {$MONGODB.PASSWORD} if you have any auth

    Alek

    Comment

    Working...