[Nagiosplug-help] check_nt USEDDISKSPACE problem with Nagios 3
Timothy J. Williams
twilliams at suttercourts.com
Fri Mar 14 16:11:09 CET 2008
Thank You for the easy fix. All I had to do is open my eyes.
You are the MAN!
From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca]
Sent: Friday, March 14, 2008 12:49 AM
To: Timothy J. Williams
Cc: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] check_nt USEDDISKSPACE problem with Nagios 3
-----BEGIN PGP SIGNED MESSAGE-----
On 13/03/08 02:08 PM, Timothy J. Williams wrote:
> I’m having a problem with the check_nt plugin when using the
> USEDDISKSPACE variable.
> When I tryed to verify the config after doing an upgrade from 3.0rc1 to
> 3.0 Stable I get a message:
> Error: Service description, host name, or check command is NULL
> Error: Could not register service (config file
> '/usr/local/nagios/etc/objects/services.cfg', starting on line 176)
> I went to the services.cfg file and found the following lines:
> I have other check_nt variables, not USEDDISKSPACE, in use after these
> and they work fine.
> I can remark these lines and the verify works fine.
This is because you end the service_description lines with "\", so the
check_command line is actually part of the service description
Escaping the backslash ("\\") or adding an extra space after it *may*
work without altering the service name, but my recommendation would be
just stripping it off to avoid problems.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Help