Opennebula错误监控主机KVM
Opennebula error monitoring host KVM
我已经在 Ubuntu 15.04 上用 KVM 上的一台主机启动了 opennebula sunstone。
我可以通过 sunstone 在服务器上添加主机,但是我有一个 "MONITORED_ERROR" 并且当我查看日志时出现此错误:
/var/tmp/one/im/run_probes: line 34: 24669 Aborted ./$i $ARGUMENTS Error executing collectd-client.rb
如果我继续使用主机 oneadmin 可以登录而无需密码,如果我执行命令:/var/tmp/one/im/run_probes kvm /var/lib/one/datastores 4124 20 2 host
我有这个错误:
./collectd-client.rb:122:in <main>': undefined method split' for nil:NilClass (NoMethodError)
ERROR MESSAGE --8<------
Error executing collectd-client.rb
ERROR MESSAGE ------>8--
来自https://forum.opennebula.org/t/solved-error-monitoring-host-2-error-executing-probes/738/3
well, enable disable didn't work.
I had to delete /var/tmp/one on affected host and then :
su - oneadmin
onehost sync --force
I also deleted /etc/cron.daily/tmpwatch
我已经在 Ubuntu 15.04 上用 KVM 上的一台主机启动了 opennebula sunstone。
我可以通过 sunstone 在服务器上添加主机,但是我有一个 "MONITORED_ERROR" 并且当我查看日志时出现此错误:
/var/tmp/one/im/run_probes: line 34: 24669 Aborted ./$i $ARGUMENTS Error executing collectd-client.rb
如果我继续使用主机 oneadmin 可以登录而无需密码,如果我执行命令:/var/tmp/one/im/run_probes kvm /var/lib/one/datastores 4124 20 2 host
我有这个错误:
./collectd-client.rb:122:in <main>': undefined method split' for nil:NilClass (NoMethodError)
ERROR MESSAGE --8<------
Error executing collectd-client.rb
ERROR MESSAGE ------>8--
来自https://forum.opennebula.org/t/solved-error-monitoring-host-2-error-executing-probes/738/3
well, enable disable didn't work. I had to delete /var/tmp/one on affected host and then : su - oneadmin onehost sync --force
I also deleted /etc/cron.daily/tmpwatch