Salut à tous, je viens d'installer nagios Version 3.0.2 sur ma machine debian et j'ai un soucis.
J'ai modifié le fichier le dit fichier : "/usr/local/nagios/etc/objects/windows.cfg"
que voici :
Citation :
define host{
use windows-server ; Inherit default values from a template
host_name stunt; The name we're giving to this host
alias stunty; A longer name associated with the host
address 192.168.230.1 }
define hostgroup{
hostgroup_name windows-servers ; The name of the hostgroup
alias Windows Servers ; Long name of the group
}
define service{
use generic-service
host_name Stunt
service_description Explorer
check_command check_nt!PROCSTATE! -d SHOWALL -l Explorer.exe
}
|
et quand je fais un check j'ai une erreur à la ligne 140.
Voici l'erreur en question
Citation :
Reading configuration data...
Error: Could not find any host matching 'Stunt' (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 140)
Error: Could not expand hostgroups and/or hosts specified in service (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 140)
|
Je précise que j'ai suivis la doc de nagios... fournie quand on installe le soft