Fashma / mikoomi

Automatically exported from code.google.com/p/mikoomi
0 stars 0 forks source link

No data processed by zabbix #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I'm trying to turn on MongoDB stats processing but then script send collected 
data into sabbix_sender it respond rthis this data:

mikoomi-mongodb-plugin.php:Successfully connected to mongoDB using connect 
string DELETED_CREDENTIALS
zabbix_sender [16112]: Warning: [line 41] 'Key value' required

zabbix_sender [16112]: Warning: [line 42] 'Key value' required

zabbix_sender [16112]: Warning: [line 43] 'Key value' required

zabbix_sender [16112]: Warning: [line 44] 'Key value' required

zabbix_sender [16112]: Warning: [line 45] 'Key value' required

zabbix_sender [16112]: Warning: [line 46] 'Key value' required

zabbix_sender [16112]: Warning: [line 47] 'Key value' required

zabbix_sender [16112]: Warning: [line 48] 'Key value' required

zabbix_sender [16112]: Warning: [line 66] 'Key value' required

zabbix_sender [16112]: Warning: [line 68] 'Key value' required

zabbix_sender [16113]: DEBUG: answer [{

        "response":"success",

        "info":"Processed 0 Failed 63 Total 63 Seconds spent 0.001295"}]

Info from server: "Processed 0 Failed 63 Total 63 Seconds spent 0.001295"

sent: 63; skipped: 10; total: 73

I'm using: Zabbix 1.8.13 on CentOS6
File with data attached

Original issue reported on code.google.com by johnny.s...@gmail.com on 3 Jul 2012 at 6:05

Attachments:

GoogleCodeExporter commented 9 years ago
I have this same problem too... Anyone have any ideas?

Original comment by anw...@gmail.com on 11 Jul 2012 at 7:50

GoogleCodeExporter commented 9 years ago
The missing key values just mean that serverStatus didnt return any data for 
those datapoints. The ones listed seem to have to do with journaling and 
replication. If you aren't using those features then those would be blank.

As for the failed 63. if you haven't imported the template to zabbix yet, you 
will get failed. Anytime you try to submit a key-value to zabbix that hasnt 
been defined, you will get a failed. make sure you have the template imported, 
and that you have a host matching your name defined and using the template.

Original comment by andrew....@gmail.com on 15 Aug 2012 at 2:26

GoogleCodeExporter commented 9 years ago
Hi,

Just make sure, the hostname entry that you have given is correct in both macro 
field hostname fiels while creating hosts. 

Original comment by rahmael...@gmail.com on 14 Nov 2013 at 2:09

GoogleCodeExporter commented 9 years ago
Hi... I'm trying to use the mikoomi plugin to monitor our mongodbs on zabbix, 
but, when the php plugins executes... I'm given this error:

zabbix_sender [22457]: Warning: [line 14] 'Key value' required
Sending failed.

An taking a look to the "data file" line "14" corresponds to this:

"mongo-a4 indexCounters_btree_accesses"

I know it's being a long time since the last update to this page but if you get 
to read my message I'll really appreciate an answer.

Thank you so much.

Karina Costa

Original comment by karmu...@gmail.com on 25 Sep 2014 at 6:16

GoogleCodeExporter commented 9 years ago
You need to modify the mikoomi plugin for index access statistics for MongoDB 
later than 2.4. The serverStatus json structure was flattened for this section 
so instead of being [indexCounters][btree][missRatio] it should be 
[indexCounters][missRatio] now (as an example.) 

Original comment by nick.har...@epicgames.com on 10 Dec 2014 at 5:44