Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_vbox

Rating
3 votes
Favoured:
0
Hits
154530
Files:
FileDescription
check_vbox.tar.gzcheck_vbox.tar.gz
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Nagios Plugin which monitors state of VirtualBox Machines OS: Linux
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
Reviews (2)
Seems to need bash instead of sh

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)]