--altes Vorgehen -- Zabbix-Agent um BBB-Plugine rweitern


My solution was:
cd /etc/zabbix/
git clone https://github.com/mconf/bigbluebutton-zabbix.git
mv bigbluebutton-zabbix scripts_mconf
cp scripts_mconf/userparams_mconf.conf zabbix_agentd.d/
chown -R zabbix: /etc/zabbix/*
/etc/init.d/zabbix-agent restart


On ubuntu 18.x
gem update --system 3.0.8
and test everything with
zabbix_agentd -t mconf.bbb.getmeetings

If you see something like
mconf.bbb.getmeetings [t|meetings: 0, participants: 0, sent_videos: 0, received_videos: 0, sent_audio: 0, received_audio: 0, meetings_list: []]
everything works fine.



-------------

root@v2202009118682126788:/etc/zabbix# ^C
root@v2202009118682126788:/etc/zabbix#  cd /etc/zabbix/
root@v2202009118682126788:/etc/zabbix#  git clone https://github.com/mconf/bigbluebutton-zabbix.git
Cloning into 'bigbluebutton-zabbix'...
remote: Enumerating objects: 41, done.
remote: Total 41 (delta 0), reused 0 (delta 0), pack-reused 41
Unpacking objects: 100% (41/41), done.
Checking connectivity... done.
root@v2202009118682126788:/etc/zabbix#  mv bigbluebutton-zabbix scripts_mconf
root@v2202009118682126788:/etc/zabbix#  cp scripts_mconf/userparams_mconf.conf zabbix_agentd.d/
root@v2202009118682126788:/etc/zabbix#  chown -R zabbix: /etc/zabbix/*
root@v2202009118682126788:/etc/zabbix#  /etc/init.d/zabbix-agent restart
[ ok ] Restarting zabbix-agent (via systemctl): zabbix-agent.service.
root@v2202009118682126788:/etc/zabbix# zabbix_agentd -t mconf.bbb.getmeetings
mconf.bbb.getmeetings                         [t|/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:29: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:30: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
meetings: 0, participants: 0, sent_videos: 0, received_videos: 0, sent_audio: 0, received_audio: 0, meetings_list: []]
root@v2202009118682126788:/etc/zabbix#