[Nagiosplug-help] check_nt USEDDISKSPACE problem with Nagios 3
dermoth at aei.ca
Fri Mar 14 08:48:32 CET 2008
-----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