Ad Widget

Collapse

unknown metric mongodb.ping on MongoDB cluster by Zabbix agent 2 template.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MSG
    Junior Member
    • Jul 2022
    • 14

    #1

    unknown metric mongodb.ping on MongoDB cluster by Zabbix agent 2 template.

    Hi All

    I would like to use template "MongoDB cluster by Zabbix agent 2" for monitoring MongoDB.
    I'm using ZABBIX 6.4.

    I put mongodb.conf to /etc/zabbix/zabbix_agent2.d/plugins.d
    https://git.zabbix.com/projects/AP/r...Frelease%2F6.4

    and set for Include=/etc/zabbix/zabbix_agent2.d/ on zabbix_agent2.conf.

    But ZABBIX Web console said "unknown metric monogodb.ping" and "unknown metric mongodb.service.status"
    Because mongodb.conf doesn't contains UserParameter so ZABBIX doesn't know what is monogodb.ping.

    Do you have any idea?
    Best regards.

    Michiteru
  • MSG
    Junior Member
    • Jul 2022
    • 14

    #2
    resolved.

    I installed plugin from repo using rpm command.


    But it's not working because this is old version.
    So I remove this, and using yum command like below for install plugin for 6.4.
    $ sudo yum install zabbix-agent2-plugin-mongodb

    then It's working!!

    Comment

    Working...