shinken-monitoring / mod-livestatus

Shinken module for presenting data with a MK/Livestatus comptabile interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Importing module livestatus : cannot import name MODATTR_NONE

JakeRTFM opened this issue · comments

Hi,

I'm trying to implement Shinken & Thruk, but with livestatus I get this error :

[1409673776] INFO: [broker-master] We received modules [<shinken.objects.module.Module object at 0x19470d0>] 
[1409673776] WARNING: [broker-master] Importing module livestatus: cannot import name MODATTR_NONE
[1409673776] WARNING: [broker-master] The module type livestatus for livestatus was not found in modules!
[1409673776] INFO: [broker-master] I correctly loaded the modules: []
[1409673776] INFO: [broker-master] Connection OK to the scheduler scheduler-master
[1409673776] INFO: [broker-master] Connection OK to the poller poller-master
[1409673776] INFO: [broker-master] Connection OK to the reactionner reactionner-master
[1409673777] INFO: [broker-master] Connection OK to the receiver receiver-master

How can I solde it ?
Thanks
Anthony

You have a wrong combination of livestatus Shinken version.

Shinken Upstream will work with the current livestatus version. No mix possible.

How did you install both?

The shinken was installed with the script "install" from the shinken github repository and the livestatus module from the commande shinken install livestatus.
The shinken is in version 2.0.3.

That the issue. You took the upstream shinken but not the upstream livestatus. The shinken cli install the version on shinken.io not the one on github ;)

Upgrade your livestatus, or downgrade the Shinken. First option is better I think.

Ok thanks I'll try. Didn't know that shinken.io was different than github.
Merci encore :)