Migrating to v3

Ciro Iriarte cyruspy at gmail.com
Mon Jul 21 21:33:16 CEST 2008


2008/7/21 Andreas Ericsson <ae at op5.se>:
> Ciro Iriarte wrote:
>>
>> Hi,
>>
>> I'm migrating our v2.x installation of nagios to 3.0.3 and i'm stuck
>> currently, can sameone check if i'm missing something here?:
>>
>> Verification reports:
>> -------------
>> Error: Service description, host name, or check command is NULL
>> Error: Could not register service (config file
>> '/etc/nagios/objects/services/filesystems.win.cfg', starting on line
>> 1)
>> -------------
>>
>> First lines of filesystems.win.cfg:
>>
>> -------------
>> define service{
>>        use                             filesystems
>>        hostgroup_name                  nrpe_nt
>>        service_description             Unidad c:\
>
> Nagios 3 supports line-continuation in configuration files. Remove the
> backslash
> at the end of this line and you'll be fine.
>
> --
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Tel: +46 8-230225                  Fax: +46 8-230231
>

Thanks to both of you, that was the issue, I had to add "\\" instead
and it worked!

Regards,
Ciro

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list