The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"Nagios и hostgroups.cfg"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"Nagios и hostgroups.cfg" 
Сообщение от vova Искать по авторуВ закладки(??) on 18-Янв-06, 08:25  (MSK)
Всем привет.
проблема с Нагиусом
volodya# /usr/local/bin/nagios -v /usr/local/etc/nagios/nagios.cfg

Nagios 2.0b4
Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org)
Last Modified: 08-02-2005
License: GPL

Reading configuration data...

Error: Invalid hostgroup object directive 'contact_groups'.
Error: Could not add object property in file '/usr/local/nagios/etc/hostgroups.cfg' on line 4.

volodya# cat /usr/local/nagios/etc/hostgroups.cfg
define hostgroup{
hostgroup_name unix-servers
alias Unix Servers
contact_groups unix-admins
members mail
}

не подскажите, что ему не нравиться ?
заранее спасибо.

  Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Сообщения по теме [Сортировка по времени, UBB]

1. "Nagios и hostgroups.cfg" 
Сообщение от Maxim Искать по авторуВ закладки(??) on 18-Янв-06, 08:49  (MSK)
>Всем привет.
>проблема с Нагиусом
>volodya# /usr/local/bin/nagios -v /usr/local/etc/nagios/nagios.cfg
>
>Nagios 2.0b4
>Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org)
>Last Modified: 08-02-2005
>License: GPL
>
>Reading configuration data...
>
>Error: Invalid hostgroup object directive 'contact_groups'.
>Error: Could not add object property in file '/usr/local/nagios/etc/hostgroups.cfg' on line 4.
>
>
>volodya# cat /usr/local/nagios/etc/hostgroups.cfg
>define hostgroup{
>hostgroup_name unix-servers
>alias Unix Servers
>contact_groups unix-admins
>members mail
>}
>
>не подскажите, что ему не нравиться ?
>заранее спасибо.

http://nagios.sourceforge.net/docs/2_0/whatsnew.html

Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions. This was done in order to maintain consistency with the way service contacts are specified. Make sure to update your config files!

  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

2. "Nagios и hostgroups.cfg" 
Сообщение от vova Искать по авторуВ закладки(??) on 18-Янв-06, 09:18  (MSK)
>>Всем привет.
>>проблема с Нагиусом
>>volodya# /usr/local/bin/nagios -v /usr/local/etc/nagios/nagios.cfg
>>
>>Nagios 2.0b4
>>Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org)
>>Last Modified: 08-02-2005
>>License: GPL
>>
>>Reading configuration data...
>>
>>Error: Invalid hostgroup object directive 'contact_groups'.
>>Error: Could not add object property in file '/usr/local/nagios/etc/hostgroups.cfg' on line 4.
>>
>>
>>volodya# cat /usr/local/nagios/etc/hostgroups.cfg
>>define hostgroup{
>>hostgroup_name unix-servers
>>alias Unix Servers
>>contact_groups unix-admins
>>members mail
>>}
>>
>>не подскажите, что ему не нравиться ?
>>заранее спасибо.
>
>http://nagios.sourceforge.net/docs/2_0/whatsnew.html
>
>Contact group changes - The contact_groups directive has been moved from hostgroup
>definitions to host definitions. This was done in order to maintain
>consistency with the way service contacts are specified. Make sure to
>update your config files!


понял. спасибо большое.

  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх


Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру