Migrating to v3
Ciro Iriarte
cyruspy at gmail.com
Sat Jul 19 14:30:24 CEST 2008
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:\
check_command check_nrpe_args!check_disk!c!2%!1%!\/p
event_handler ins2tt
event_handler_enabled 1
}
define service{
use filesystems
host_name asusis-dwhp2,asusis-dc,asusis-af
service_description Unidad d:\
check_command check_nrpe_args!check_disk!d!8%!5%!\/p
event_handler ins2tt
event_handler_enabled 1
}
define service{
use filesystems
host_name asusis-dwhp
service_description Unidad d:\
check_command
check_nrpe_args!check_disk!d!25000!15000!\/p
event_handler ins2tt
event_handler_enabled 1
}
-------------
The old parameter was just "hostgroup" and according to the
documentation "hostgroup_name" can still replace the "host_name"
parameter
The template:
-------------
define service{
use generic-service
name filesystems
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 2
retry_check_interval 1
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
register 0
event_handler ins2tt
}
-------------
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