Nagios probes for OpenNebula-related services e.g. oned RPC2, econe-server, occi-server and rOCCI server (GWDG implementation)
These probes are written in Ruby, Gemfile for bundler is included.
1.9.1 =< Ruby version =< 2.0.0
./check_opennebula.rb --username <USERNAME> --password <PASSWORD> --hostname <HOSTNAME> --port <PORT_NUMBER> --path /RPC2 --service oned
./check_opennebula.rb --username <USERNAME> --password <PASSWORD> --hostname <HOSTNAME> --port <PORT_NUMBER> --service occi
./check_opennebula.rb --username <USERNAME> --password <PASSWORD> --hostname <HOSTNAME> --port <PORT_NUMBER> --service rocci
./check_opennebula.rb --username <USERNAME> --password <PASSWORD> --hostname <HOSTNAME> --port <PORT_NUMBER> --service econe
and with optional
--timeout
(this option is, for now, ignored by OCCI and ECONE probes)--protocol [https | http]
--debug [number, 0-2]
--check-network <ID>,<ID>,<ID>,...
(this option is ignored by the ECONE probe)--check-storage <ID>,<ID>,<ID>,...
(not supported within rOCCI implementation)--check-compute <ID>,<ID>,<ID>,...
additional options for rOCCI and advanced features (X.509, VOMS, VM instantiation)
./check_opennebula.rb --cred <USER_PEM_BUNDLE_OR_PK12> --capath <CA_PATH> --cafile <OR_CA_BUNDLE> --password <PASSWORD> --hostname <HOSTNAME> --port <PORT_NUMBER> --service rocci --voms
--createvm [ROCCI_TEMPLATE_NAME]
--name [vmname]
(create, check and destroy VM specified by os_tpl#rocci_template_name or full_mixin_path)