PDA

View Full Version : [Résolu] install 1.3 (création de groupe utilisateur)


stephy
24th May 2006, 16:30
Bonjour,

Je viens de finir l'installation de la beta 1.3 (ouch ca change le look :lol: )

j'ai un souci quand je creer un groupe utilisateur :

Fatal error: Call to undefined function: updatecontactcontactgroup() in /usr/local/oreon/www/include/configuration/configObject/contactgroup/DB-Func.php on line 108

ligne 108 du dit fichier : updateContactContactGroup($cg_id);

j'ai regardé les droits sur mes fichiers je vois rien de pas normal .
Installation sur une Debian 3.1 et j'ai suivie les tuto de inconuflo c'est passé sans erreur jusqu'à la fin .

qu'est-ce que j'ai fais comme bétise plz?

gregounet
24th May 2006, 16:32
C'est normal, enfin normal, c'est corrigé pour la future version et il met bien a jout normalement. non?

J'ai eu le meme soucis chez moi et ca marche quand meme.

stephy
24th May 2006, 16:39
Re,

Quand je fais /etc/init.d/nagios start


Running configuration check...
Nagios 1.3
Copyright (c) 1999-2004 Ethan Galstad (nagios@nagios.org)
Last Modified: 11-17-2005
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Error: There are no services defined!
Checked 0 services.
Checking hosts...
Warning: Host 'Meta_Module' has no services associated with it!
Checked 1 hosts.
Checking host groups...
Checked 1 host groups.
Checking contacts...
Error: Contact 'test' has no service notification commands defined!
Error: Contact 'test' has no host notification commands defined!
Warning: Contact 'test' has no service notification time period defined!
Warning: Contact 'test' has no host notification time period defined!
Warning: Contact 'test' is not a member of any contact groups!
Checked 2 contacts.
Checking contact groups...
Warning: Contact group 'testgroup' is not used in any hostgroup/service definitions or host/hostgroup/service escalations!
Error: Contact 'test' specified in contact group 'testgroup' is not defined anywhere!
Error: Contact 'test' specified in contact group 'testgroup' is not defined anywhere!
Checked 2 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking host group escalations...
Checked 0 host group escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 46 commands.
Checking time periods...
Checked 5 time periods.
Checking for circular paths between hosts...
Checking for circular service execution dependencies...
Checking global event handlers...
Checking obsessive compulsive service processor command...
Checking misc settings...

Total Warnings: 5
Total Errors: 5

***> One or more problems was encountered while running the pre-flight check...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation on the main and host config files, as well as the
'Whats New' section to find out what has changed.

failed - aborting restart.

Je sens dans ca façon de me loguer des choses comme ça qu'il a pas envie de fonctionner :cry:

stephy
24th May 2006, 17:00
Oui c'est à jour enfin je vois bien mon utilisateur test dans mon testgroup, mais j ai un souci avec nagios aussi .

rom
24th May 2006, 17:00
Va modifier ton contact 'test', il ne repond pas aux criteres de base. La seule creation lors de l'install ne suffit pas pour qu'il puisse etre generee par Nagios.

stephy
24th May 2006, 17:13
oki plus d'erreur

J'ai supprimé le compte test et créé un compte test1
avec l'interface oreon redemarrage de nagios avec copie des fichiers .

ca a l'air d'etre bon :lol:
je continu ma configuration .

mici