Ad Widget

Collapse

MongoDB template not working in Zabbix 6.4?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ezols
    Member
    • Dec 2021
    • 33

    #1

    MongoDB template not working in Zabbix 6.4?

    Hello, im having problems with template "MongoDB node by Zabbix agent 2" on Zabbix 6.4 - agent version on mongo host - Zabbix Agent 2 (6.4.0)
    I have set macroces and have tested that user can login into mongodb
    Click image for larger version

Name:	image.png
Views:	832
Size:	75.3 KB
ID:	460687
    agent working on mongodb
    Click image for larger version

Name:	image.png
Views:	746
Size:	10.2 KB
ID:	460688
    But when i check items of mongo db template i see that all of the items are not supported:
    Click image for larger version

Name:	image.png
Views:	764
Size:	737.1 KB
ID:	460689
    also ​
    ​if i want to do a test from zabbix host to mongo db with:
    zabbix_get -s xxx.xxx.xxx.xxx -k 'mongodb.ping["tcp://xxx.xxx.xxx","zabbix_mon","xxxxxxxx"]'

    I get - ZBX_NOTSUPPORTED: Unknown metric mongodb.ping


    Is it possible to monitor mongodb from zabbix 6.4?

    Thanks in advance.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Why bother reading docs, if you can post on forums...

    Mongodb plugin is not "built-in" any more ... since 6.0.6, which came out before 6.2 final, which means it was never a built-in on 6.2 and further also on 6.4...

    You need to enable it in config... https://www.zabbix.com/documentation...mongodb_plugin

    Comment

  • ezols
    Member
    • Dec 2021
    • 33

    #3
    Hi, thanks for the tips. All sorted now.

    Comment

    • kyabolu05
      Junior Member
      • Mar 2023
      • 1

      #4
      The server can be happily running with a database that is not open. So it certainly does make sense to monitor the db. The fact that the processes run does not mean the db is usable.

      Comment

      • durantapatra
        Junior Member
        • Apr 2023
        • 1

        #5
        Click image for larger version

Name:	image.png
Views:	723
Size:	1.09 MB
ID:	463715Can you please guide on MongoDB​ configuration for host "qa-mongo-1a".

        Comment

        Working...