Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_vbox
Checks State of VirtualBox Machiens
- needs the "VBoxManage" command
- BASH Script
LICENSE: GNU GENERAL PUBLIC LICENSE V3
Powered by linCK-IT Gmbh&Co. KG
----------------------------------------------------------------
VirtualBox Nagios Plugin
Use: check_vbox
[--user|-u] Userame wich VBoxes are registered
maybe vou have to edit the sudoer list (visudo)
for example add this line:
nagios ALL=(vbox) NOPASSWD: /usr/bin/VBoxManage
nagios = Nagios User
vbox = VirtualBox User
[--vm|-V] Virtual Machine Names
(use with multiple -V or , seperatet)
[--long|-l] Long Output
[--verbose|-v] Verbose Output
[--help|-h] Print this Help
Version: 0.2 - Alpha
- needs the "VBoxManage" command
- BASH Script
LICENSE: GNU GENERAL PUBLIC LICENSE V3
Powered by linCK-IT Gmbh&Co. KG
----------------------------------------------------------------
VirtualBox Nagios Plugin
Use: check_vbox
[--user|-u] Userame wich VBoxes are registered
maybe vou have to edit the sudoer list (visudo)
for example add this line:
nagios ALL=(vbox) NOPASSWD: /usr/bin/VBoxManage
nagios = Nagios User
vbox = VirtualBox User
[--vm|-V] Virtual Machine Names
(use with multiple -V or , seperatet)
[--long|-l] Long Output
[--verbose|-v] Verbose Output
[--help|-h] Print this Help
Version: 0.2 - Alpha
Reviews (2)
bydniesen, July 20, 2012
Seems to need bash instead of sh
Change line 1 from
#/bin/sh
to
#/bin/bash
Change line 1 from
#/bin/sh
to
#/bin/bash
bymdacova, October 12, 2011
tried using check_vbox seems to be working except for error below
./check_vbox -u mdacova -l -V "windows 7"
[: 123: windows 7,: unexpected operator
[: 155: State: unexpected operator
[: 155: running: unexpected operator
OK: windows 7[running (since 2011-10-11T13:19:08)]
./check_vbox -u mdacova -l -V "windows 7"
[: 123: windows 7,: unexpected operator
[: 155: State: unexpected operator
[: 155: running: unexpected operator
OK: windows 7[running (since 2011-10-11T13:19:08)]