Home Directory

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


Remember Me

Directory Tree



bysunnysthakur, March 4, 2013
Worked on Nagios alerts for space issues on servers.

When i am going to add below line in command.cfg on nagios server

command_line export HOME=/home/nagios && $USER1$/check_svn

below error is coming while compile the nagios.cfg file

Reading configuration data...
Read main config file okay...
Processing object config file '/etc/nagios/objects/commands.cfg'...
Error: Unexpected token or statement in file '/etc/nagios/objects/commands.cfg' on line 26.
Error processing object config files!

***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
bysunnysthakur, January 26, 2012
1 of 2 people found this review helpful
check_vmfs.sh - Check vmfs datastores through VMware VCLI
I go through this tool and is very useful for verifying and monitor the VMFS usage on ESXi environments.

But how to use this plugin with nagios with so that it displays the data on Web interface.

I tried with couple of tricks but didn't succeed.
Owner's reply

Sorry for answering so late but I havent checked my account until now that I'm going to upload another plugin.
It's very easy to use this plugin with nagios. In commands.cfg you can add, by example:

define command{
command_name check_vmfs
command_line $USER1$/check_vmfs.sh -V $ARG1$ -w $ARG2$ -c $ARG3$ -u $ARG4$

And in services.cfg by example:
define service{
use generic-service
host_name svrvirtual
service_description Espacio Sauron
check_command check_vmfs!/vmfs/volumes/Sauron!80!90!Gb