You are not logged in.
GLPI 0.83.31
monitoring0.83+1.0
En reprennant toutes les Manips de la DOC 0.80
Je n ai plus que ce message dans shinken_checkconfig_result au redemarrage de SHinken... Webservice Ok et connecté ...
Au redemarrage Shinken :
the notificationway USER_inner_notificationway is duplicated from unknown
The notification_period of the host 'Computer-7319-****' named '24x7' is unknown!
Warning : the host Computer-7319-****** has no contacts nor contact_groups in (unknown)
Error: In Computer-7319-***** is incorrect ; from unknown
Ou renseigner ces Contacts ? et la notification Periode ?
Le Gabarit Monitoring contact par default est renseigné , Rattaché à un utilsateur ...
Les Ressource sont dans la meme Entités que tous le reste et les Sous entité sont coché partout ...
Offline
Les contacts se renseignent dans le "catalogue de composants"
Pour le "notification_period", il faut le configurer dans l'entité racine, il y a un onglet "monitoring"
Offline
Ca Fonctionne ...En Rajoutant un Calendrier dans Monitoring: "24x7" TouT Fonctionne....
J ai bien reverifié , reparti sur un Seul serveur avec un simple Ping , l Entité Racine et l heritage est bien renseigné ...les contact / gabarit dans l utilsateur ,et dans les catalogues de composants..
j ai essayé aussi de migré une machine dans l entité racine ...IDEM ... chaque modif inclue le redemarrage de Shinken et les erreurs dans le Chekconfig_result...
c est quelque chose entre les "templates" et les parametres propre aux ressources declarés dans Monitoring...mais Ou ...
LES LOGs avant le rajout du Calendrier dans Monitoring....
Timeperiod info in GLPI {'monday': '00:00-24:00', 'tuesday': '00:00-24:00', 'friday': '00:00-24:00', 'wednesday': '00:00-24:00', 'thursday': '00:00-24:00', 'alias': 'Lun-Ven_24*24', 'timeperiod_name': 'Lun-Ven_24*24'}
Get all hosts [{'check_period': 'Lun-Ven_24*24', 'realm': 'All', 'notification_interval': '30', 'contacts': '', 'notification_period': '24x7', 'check_command': 'check_host_alive', 'retry_interval': '1', 'alias': 'SRVAD1 / Computer-7324 (Other)', 'parents': '', 'host_name': 'Computer-7324-SRVAD1', 'check_interval': '5', 'address': '1********', 'process_perf_data': '1', 'max_check_attempts': '5', 'notification_options': 'd,u,r'}]Host info in GLPI {'check_period': 'Lun-Ven_24*24', 'realm': 'All', 'notification_interval': '30', 'contacts': '', 'notification_period': '24x7', 'check_command': 'check_host_alive', 'retry_interval': '1', 'alias': 'SRVAD1 / Computer-7324 (Other)', 'parents': '', 'host_name': 'Computer-7324-SRVAD1', 'check_interval': '5', 'address': '*******', 'process_perf_data': '1', 'max_check_attempts': '5', 'notification_options': 'd,u,r'}
Get all templates [{'active_checks_enabled': '1', 'obsess_over_service': '1', 'is_volatile': '0', 'process_perf_data': '1', 'check_period': 'Lun-Ven_24*24', 'notification_interval': '30', 'notification_period': 'Lun-Ven_24*24', 'failure_prediction_enabled': '1', 'retry_interval': '1', 'retain_status_information': '1', 'event_handler_enabled': '0', 'flap_detection_enabled': '1', 'notification_options': 'w,c,r', 'retain_nonstatus_information': '1', 'notifications_enabled': '1', 'event_handler': 'super_event_kill_everyone!DIE', 'freshness_threshold': '1', '_httpstink': 'NO', 'name': 'template2-service', 'register': '0', 'parallelize_check': '1', 'passive_checks_enabled': '1', 'check_interval': '5', 'max_check_attempts': '5', 'check_freshness': '1'}]
Service info in GLPI {'service_description': 'Ping-23', 'use': 'template2-service', 'check_command': 'check_ping', 'host_name': 'Computer-7324-SRVAD1', 'contacts': 'H*****'}
Get all contacts [{'host_notification_period': 'Lun-Ven_24*24', 'host_notifications_enabled': '1', 'service_notification_options': 'n', 'host_notification_commands': 'notify-host-by-email', 'service_notification_period': 'Lun-Ven_24*24', 'alias': '*******', 'service_notifications_enabled': '1', 'contact_name': 'H*****', 'service_notification_commands': 'notify-service-by-email-py', 'pager': '', 'email': '***@**.fr', 'host_notification_options': 'n'}]Contact info in GLPI {'host_notification_period': 'Lun-Ven_24*24', 'host_notifications_enabled': '1', 'service_notification_options': 'n', 'host_notification_commands': 'notify-host-by-email', 'service_notification_period': 'Lun-Ven_24*24', 'alias': 'R*******', 'service_notifications_enabled': '1', 'contact_name': 'H******', 'service_notification_commands': 'notify-service-by-email-py', 'pager': '', 'email': '***@A*******.FR', 'host_notification_options': 'n'}
Added 2 objects to service from module GLPI
Added 3 objects to timeperiod from module GLPI
Added 1 objects to host from module GLPI
Added 1 objects to contact from module GLPI
Added 31 objects to command from module GLPI
All : (in/potential) (schedulers:1) (pollers:1/1) (reactionners:1/1) (brokers:1/1) (receivers:1/1)The notification_period of the host 'Computer-7324-SRVAD1' named '24x7' is unknown!
Warning : the host Computer-7324-SRVAD1 has no contacts nor contact_groups in (unknown)
Error: In Computer-7324-SRVAD1 is incorrect ; from unknown
hosts conf incorrect ..
Checked 1 hosts
Last edited by Rackham (2012-07-27 10:26:12)
Offline
Tu utilise la version RC ou la version git (https://github.com/ddurieux/glpi_monito … e/glpi0.83)?
Offline
Monitoring ...mLa RC... 83_1.0RC2
Fusion Inventory 0.83_1-Rc 3
GLPI 0.83.4 (/glpi => /usr/share/glpi)
Operating system : Linux extranet 2.6.32-220.23.1.el6.x86_64 #1 SMP Mon Jun 18 18:58:52 BST 2012 x86_64
PHP 5.3.14 (Core, PDO, Phar, Reflection, SPL, SQLite, SimpleXML, apache2handler, bz2, calendar, ctype, curl, date, dom, ereg,
exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, json, ldap, libxml, mbstring, mhash, mysql, mysqli, openssl,
pcre, pdo_mysql, pdo_sqlite, session, shmop, soap, sockets, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlrpc,
xmlwriter, xsl, zip, zlib)
Setup: memory_limit="64M" max_execution_time="30" safe_mode="" session.save_handler="files" post_max_size="25M"
upload_max_filesize="25M"
Software: Apache/2.2.15 (CentOS) (Apache/2.2.15 (CentOS) Server at 192.**.**.**.** Port 80)
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5
MySQL: 5.5.25 (root@localhost/glpi)
webapplications Name:Applications web Version :1.8.1 Status :Enabled
archires Name:Architecture Réseau Version :2.0.0 Status :Enabled
databases Name:Bases de données Version :1.5.1 Status :Enabled
behaviors Name:Comportements Version :0.83.0 Status :Enabled
accounts Name:Comptes Version :1.8.1 Status :Enabled
fusinvdeploy Name:Déploiement FusionInventory Version :0.83+1.0 Status :Enabled
domains Name:Domaines Version :1.5.1 Status :Enabled
environment Name:Environnement Version :1.6.0 Status :Enabled
fusioninventory Name:FusionInventory Version :0.83+1.0 Status :Enabled
fusinvinventory Name:FusionInventory INVENTORY Version :0.83+1.0 Status :Enabled
fusinvsnmp Name:FusionInventory SNMP Version :0.83+1.0 Status :Enabled
manufacturersimp Name:Imports fabricants Version :1.5.1 Status :Enabled
pdf Name:Impression pdf Version :0.83 Status :Enabled
mobile Name:Mobile Version :1.0 Status :Enabled
monitoring Name:Monitoring Version :0.83+1.0 Status :Enabled
manageentities Name:Portail entités Version :1.8.0 Status :Enabled
projet Name:Projet Version :1.3.0 Status :Enabled
resources Name:Ressources humaines Version :1.8.2 Status :Enabled
webservices Name:Services Web Version :1.3.1 Status :Enabled
routetables Name:Tables de Routage Version :1.4.0 Status :Enabled
Last edited by Rackham (2012-07-27 13:16:19)
Offline
J'ai fais plusieurs corrections depuis https://github.com/ddurieux/glpi_monito … e/glpi0.83
Offline
Je met a jour mon plugins de suite...( Meme procedure ? desactiv + recopie par dessus dcontenu..)
A ben Non....
Monitoring 0.80+1.3 A mettre à jour
Je reviens en 0.83Rc2...
Last edited by Rackham (2012-07-27 14:28:50)
Offline
oui oui
Offline
???
J ai un message d erreur
Monitoring 0.80+1.3 A mettre à jour
Le fichier Setup.PHP contenu dans le ZIP contient bien "define ("PLUGIN_MONITORING_VERSION","0.80+1.3");"
Retour en 0.83_1.0rc2 monitoring...
Last edited by Rackham (2012-07-27 14:57:00)
Offline