[centreon] Ou est le nagios bin directory

 Ou est le nagios bin directory [centreon] - Réseaux - Systèmes & Réseaux Pro

Marsh Posté le 22-11-2008 à 23:12:31    

Salut  
 
J'essaie d'installe oreon/centreon sur une debian Lenny. Seulement durant l'installation du script de centreon je coince sur une question :
 

Where is your nagios bin directory?
default to [/usr/lib/cgi-bin/nagios3/bin]:  

mais voilà, le probleme c'est que ce n'est pas l'emplacement adéaquate. J'ai recherchez sur le net des tutoriaux donnant d'autre chemin possibles mais en vain.  
 
J'ai essayer :  

/usr/lib/cgi-bin/nagios3/bin


 
Je serais donc a la recherche :)  
Merci


Message édité par odin-78 le 22-11-2008 à 23:37:03

---------------
"Life is game, remember we play together"
Reply

Marsh Posté le 22-11-2008 à 23:12:31   

Reply

Marsh Posté le 22-11-2008 à 23:59:45    

premierement, t'as bien installé nagios ?
ensuite, un  
find / -name "*nagios*" -print
 t'aidera

Reply

Marsh Posté le 23-11-2008 à 00:17:56    

oui oui j'ai installer nagios3.  
 
Voilà ce que me donne la commande que tu m'a donnée:  

syn:/usr/lib/cgi-bin/nagios3# find / -name "*nagios*" -print
/usr/share/doc/nagios-plugins-basic
/usr/share/doc/nagios3-common
/usr/share/doc/nagios3-common/examples/apache2.nagios1.conf
/usr/share/doc/nagios3-common/examples/nagios.cfg.gz
/usr/share/doc/nagios-plugins-standard
/usr/share/doc/nagios3-doc
/usr/share/doc/nagios3
/usr/share/doc/nagios-plugins
/usr/share/doc/nagios-images
/usr/share/man/man8/nagios3.8.gz
/usr/share/man/man8/nagios3stats.8.gz
/usr/share/nagios
/usr/share/nagios/htdocs/images/logos/base/nagios.gd2
/usr/share/locale/de/LC_MESSAGES/nagios-plugins.mo
/usr/share/locale/fr/LC_MESSAGES/nagios-plugins.mo
/usr/share/nagios3
/usr/share/nagios3/htdocs/images/logos/nagiosvrml.png
/usr/share/nagios3/htdocs/images/logos/nagios.gif
/usr/share/nagios3/htdocs/images/logos/nagios.gd2
/usr/share/nagios3/htdocs/docs/nagiostats.html
/usr/share/nagios3/htdocs/docs/images/nagios.jpg
/usr/share/nagios-plugins
/usr/share/lintian/overrides/nagios3-common
/usr/share/lintian/overrides/nagios3-doc
/usr/share/doc-base/nagios3
/usr/lib/cgi-bin/nagios3
/usr/lib/nagios
/usr/lib/nagios/plugins/check_nagios
/usr/lib/nagios3
/usr/sbin/nagios3
/usr/sbin/nagios3stats
/var/log/nagios3
/var/log/nagios3/nagios.log
/var/log/nagios3/archives/nagios-11-23-2008-00.log
/var/log/nagios3/archives/nagios-09-15-2008-00.log
/var/log/nagios2
/var/log/nagios2/archives/nagios-07-28-2008-00.log
/var/log/nagios2/archives/nagios-07-20-2008-00.log
/var/log/nagios2/archives/nagios-07-07-2008-00.log
/var/log/nagios2/archives/nagios-08-21-2008-00.log
/var/log/nagios2/archives/nagios-06-24-2008-00.log
/var/log/nagios2/archives/nagios-07-22-2008-00.log
/var/log/nagios2/archives/nagios-08-30-2008-00.log
/var/log/nagios2/archives/nagios-07-17-2008-00.log
/var/log/nagios2/archives/nagios-07-24-2008-00.log
/var/log/nagios2/archives/nagios-08-20-2008-00.log
/var/log/nagios2/archives/nagios-06-19-2008-00.log
/var/log/nagios2/archives/nagios-08-02-2008-00.log
/var/log/nagios2/archives/nagios-08-18-2008-00.log
/var/log/nagios2/archives/nagios-06-21-2008-00.log
/var/log/nagios2/archives/nagios-08-19-2008-00.log
/var/log/nagios2/archives/nagios-08-16-2008-00.log
/var/log/nagios2/archives/nagios-09-11-2008-00.log
/var/log/nagios2/archives/nagios-07-02-2008-00.log
/var/log/nagios2/archives/nagios-08-09-2008-00.log
/var/log/nagios2/archives/nagios-09-09-2008-00.log
/var/log/nagios2/archives/nagios-06-12-2008-00.log
/var/log/nagios2/archives/nagios-07-19-2008-00.log
/var/log/nagios2/archives/nagios-08-13-2008-00.log
/var/log/nagios2/archives/nagios-06-22-2008-00.log
/var/log/nagios2/archives/nagios-09-14-2008-00.log
/var/log/nagios2/archives/nagios-08-12-2008-00.log
/var/log/nagios2/archives/nagios-06-16-2008-00.log
/var/log/nagios2/archives/nagios-07-21-2008-00.log
/var/log/nagios2/archives/nagios-06-28-2008-00.log
/var/log/nagios2/archives/nagios-08-28-2008-00.log
/var/log/nagios2/archives/nagios-07-03-2008-00.log
/var/log/nagios2/archives/nagios-06-14-2008-00.log
/var/log/nagios2/archives/nagios-06-11-2008-00.log
/var/log/nagios2/archives/nagios-08-07-2008-00.log
/var/log/nagios2/archives/nagios-08-03-2008-00.log
/var/log/nagios2/archives/nagios-08-22-2008-00.log
/var/log/nagios2/archives/nagios-07-25-2008-00.log
/var/log/nagios2/archives/nagios-07-09-2008-00.log
/var/log/nagios2/archives/nagios-09-07-2008-00.log
/var/log/nagios2/archives/nagios-07-18-2008-00.log
/var/log/nagios2/archives/nagios-08-27-2008-00.log
/var/log/nagios2/archives/nagios-09-04-2008-00.log
/var/log/nagios2/archives/nagios-09-08-2008-00.log
/var/log/nagios2/archives/nagios-09-13-2008-00.log
/var/log/nagios2/archives/nagios-08-25-2008-00.log
/var/log/nagios2/archives/nagios-06-15-2008-00.log
/var/log/nagios2/archives/nagios-06-10-2008-00.log
/var/log/nagios2/archives/nagios-08-10-2008-00.log
/var/log/nagios2/archives/nagios-09-03-2008-00.log
/var/log/nagios2/archives/nagios-08-01-2008-00.log
/var/log/nagios2/archives/nagios-08-14-2008-00.log
/var/log/nagios2/archives/nagios-07-29-2008-00.log
/var/log/nagios2/archives/nagios-07-06-2008-00.log
/var/log/nagios2/archives/nagios-09-01-2008-00.log
/var/log/nagios2/archives/nagios-06-17-2008-00.log
/var/log/nagios2/archives/nagios-09-02-2008-00.log
/var/log/nagios2/archives/nagios-06-26-2008-00.log
/var/log/nagios2/archives/nagios-08-05-2008-00.log
/var/log/nagios2/archives/nagios-06-29-2008-00.log
/var/log/nagios2/archives/nagios-06-23-2008-00.log
/var/log/nagios2/archives/nagios-07-08-2008-00.log
/var/log/nagios2/archives/nagios-08-26-2008-00.log
/var/log/nagios2/archives/nagios-07-27-2008-00.log
/var/log/nagios2/archives/nagios-09-06-2008-00.log
/var/log/nagios2/archives/nagios-07-11-2008-00.log
/var/log/nagios2/archives/nagios-08-15-2008-00.log
/var/log/nagios2/archives/nagios-09-10-2008-00.log
/var/log/nagios2/archives/nagios-07-16-2008-00.log
/var/log/nagios2/archives/nagios-08-06-2008-00.log
/var/log/nagios2/archives/nagios-09-05-2008-00.log
/var/log/nagios2/archives/nagios-07-23-2008-00.log
/var/log/nagios2/archives/nagios-07-26-2008-00.log
/var/log/nagios2/archives/nagios-06-20-2008-00.log
/var/log/nagios2/archives/nagios-07-10-2008-00.log
/var/log/nagios2/archives/nagios-08-17-2008-00.log
/var/log/nagios2/archives/nagios-06-13-2008-00.log
/var/log/nagios2/archives/nagios-06-30-2008-00.log
/var/log/nagios2/archives/nagios-07-04-2008-00.log
/var/log/nagios2/archives/nagios-09-12-2008-00.log
/var/log/nagios2/archives/nagios-07-30-2008-00.log
/var/log/nagios2/archives/nagios-08-08-2008-00.log
/var/log/nagios2/archives/nagios-08-04-2008-00.log
/var/log/nagios2/archives/nagios-07-15-2008-00.log
/var/log/nagios2/archives/nagios-07-12-2008-00.log
/var/log/nagios2/archives/nagios-08-23-2008-00.log
/var/log/nagios2/archives/nagios-07-14-2008-00.log
/var/log/nagios2/archives/nagios-07-05-2008-00.log
/var/log/nagios2/archives/nagios-08-11-2008-00.log
/var/log/nagios2/archives/nagios-08-24-2008-00.log
/var/log/nagios2/archives/nagios-06-27-2008-00.log
/var/log/nagios2/archives/nagios-07-13-2008-00.log
/var/log/nagios2/archives/nagios-07-01-2008-00.log
/var/log/nagios2/archives/nagios-06-18-2008-00.log
/var/log/nagios2/archives/nagios-08-29-2008-00.log
/var/log/nagios2/archives/nagios-08-31-2008-00.log
/var/log/nagios2/archives/nagios-07-31-2008-00.log
/var/log/nagios2/archives/nagios-06-25-2008-00.log
/var/lib/dpkg/info/nagios3-doc.prerm
/var/lib/dpkg/info/nagios3-doc.postinst
/var/lib/dpkg/info/nagios2-doc.list
/var/lib/dpkg/info/nagios2-common.postrm
/var/lib/dpkg/info/nagios-plugins.list
/var/lib/dpkg/info/nagios-plugins-standard.list
/var/lib/dpkg/info/nagios3-common.list
/var/lib/dpkg/info/nagios-images.md5sums
/var/lib/dpkg/info/nagios3-common.conffiles
/var/lib/dpkg/info/nagios-plugins.md5sums
/var/lib/dpkg/info/nagios3-common.templates
/var/lib/dpkg/info/nagios3-doc.conffiles
/var/lib/dpkg/info/nagios3.list
/var/lib/dpkg/info/nagios-images.list
/var/lib/dpkg/info/nagios3.md5sums
/var/lib/dpkg/info/nagios3.prerm
/var/lib/dpkg/info/nagios3-common.md5sums
/var/lib/dpkg/info/nagios3.postinst
/var/lib/dpkg/info/nagios-plugins-standard.postrm
/var/lib/dpkg/info/nagios3-doc.list
/var/lib/dpkg/info/nagios-plugins-basic.postrm
/var/lib/dpkg/info/nagios2-common.list
/var/lib/dpkg/info/nagios3-common.prerm
/var/lib/dpkg/info/nagios3-common.postinst
/var/lib/dpkg/info/nagios-plugins-basic.md5sums
/var/lib/dpkg/info/nagios-plugins-basic.list
/var/lib/dpkg/info/nagios-plugins-basic.postinst
/var/lib/dpkg/info/nagios3-common.postrm
/var/lib/dpkg/info/nagios-plugins-standard.md5sums
/var/lib/dpkg/info/nagios-plugins-standard.postinst
/var/lib/dpkg/info/nagios3-common.config
/var/lib/dpkg/info/nagios3-doc.md5sums
/var/lib/nagios3
/var/lib/nagios2
/var/lib/centreon/nagios-perf
/var/lib/centreon/nagios-perf/perfmon-1/nagios_active_host_latency.rrd
/var/lib/centreon/nagios-perf/perfmon-1/nagios_active_service_last.rrd
/var/lib/centreon/nagios-perf/perfmon-1/nagios_hosts_states.rrd
/var/lib/centreon/nagios-perf/perfmon-1/nagios_active_service_execution.rrd
/var/lib/centreon/nagios-perf/perfmon-1/nagios_active_service_latency.rrd
/var/lib/centreon/nagios-perf/perfmon-1/nagios_active_host_last.rrd
/var/lib/centreon/nagios-perf/perfmon-1/nagios_active_host_execution.rrd
/var/lib/centreon/nagios-perf/perfmon-1/nagios_services_states.rrd
/var/lib/centreon/nagios-perf/perfmon-1/nagios_cmd_buffer.rrd
/var/lib/mysql/centreon/cfg_nagios.frm
/var/lib/mysql/centreon/nagios_macro.frm
/var/lib/mysql/centreon/nagios_server.frm
/var/lib/doc-base/documents/nagios3
/var/cache/apt/archives/nagios-plugins-basic_1.4.12-4_amd64.deb
/var/cache/apt/archives/nagios3-doc_3.0.3-3_all.deb
/var/cache/apt/archives/nagios-plugins_1.4.12-4_all.deb
/var/cache/apt/archives/nagios3_3.0.3-3_amd64.deb
/var/cache/apt/archives/nagios-images_0.4_all.deb
/var/cache/apt/archives/nagios3-common_3.0.3-3_all.deb
/var/cache/apt/archives/nagios-plugins-standard_1.4.12-4_amd64.deb
/var/cache/nagios3
/var/cache/nagios2
/var/lock/subsys/nagios
/var/run/nagios3
/var/run/nagios3/nagios3.pid
/var/spool/cron/crontabs/nagios
/tmp/crontab_nagios.JpumiH
/home/william/centreon-1.4.2.2/doc/en/nagiostats.html
/home/william/centreon-1.4.2.2/doc/fr/nagiostats.html
/home/william/centreon-1.4.2.2/www/img/icones/16x16/nagios.gif
/home/william/centreon-1.4.2.2/www/include/configuration/configNagios/nagios.php
/home/william/centreon-1.4.2.2/www/include/options/oreon/generalOpt/nagios
/home/william/centreon-1.4.2.2/scripts/nagiosStats.pl
/home/william/centreon-1.4.2.2/filesGeneration/nagiosCFG
/home/william/centreon-1.4.2.2/filesUpload/nagiosCFG
/home/william/nagios-2.12
/home/william/nagios-2.12/contrib/epn_nagios.h
/home/william/nagios-2.12/base/nagios.c
/home/william/nagios-2.12/base/nagiostats.c
/home/william/nagios-2.12/sample-config/nagios.cfg.in
/home/william/nagios-2.12/html/images/logos/nagiosvrml.png
/home/william/nagios-2.12/html/images/logos/nagios.gif
/home/william/nagios-2.12/html/images/logos/nagios.gd2
/home/william/nagios-2.12/html/docs/nagiostats.html
/home/william/nagios-2.12/include/nagios.h.in
/home/william/nagios-2.12/include/epn_nagios.h
/home/william/nagios-2.12/nagios.spec
/home/william/centreon-1.4.2.7/doc/en/nagiostats.html
/home/william/centreon-1.4.2.7/doc/fr/nagiostats.html
/home/william/centreon-1.4.2.7/www/img/icones/16x16/nagios.gif
/home/william/centreon-1.4.2.7/www/include/configuration/configNagios/nagios.php
/home/william/centreon-1.4.2.7/www/include/options/oreon/generalOpt/nagios
/home/william/centreon-1.4.2.7/scripts/nagiosStats.pl
/home/william/centreon-1.4.2.7/filesGeneration/nagiosCFG
/home/william/centreon-1.4.2.7/filesUpload/nagiosCFG
/etc/rc0.d/K18nagios3
/etc/rc0.d/K18nagios2
/etc/rc0.d/K20nagios
/etc/rc4.d/S30nagios3
/etc/rc4.d/S30nagios2
/etc/rc4.d/S20nagios
/etc/apache2/conf.d/nagios3.conf
/etc/init.d/nagios
/etc/init.d/nagios3
/etc/init.d/nagios2
/etc/logrotate.d/nagios2-common
/etc/nagios3
/etc/nagios3/nagios.cfg
/etc/nagios3/conf.d/hostgroups_nagios2.cfg
/etc/nagios3/conf.d/host-gateway_nagios3.cfg
/etc/nagios3/conf.d/contacts_nagios2.cfg
/etc/nagios3/conf.d/timeperiods_nagios2.cfg
/etc/nagios3/conf.d/localhost_nagios2.cfg
/etc/nagios3/conf.d/generic-host_nagios2.cfg
/etc/nagios3/conf.d/generic-service_nagios2.cfg
/etc/nagios3/conf.d/extinfo_nagios2.cfg
/etc/nagios3/conf.d/services_nagios2.cfg
/etc/rc2.d/S30nagios3
/etc/rc2.d/S30nagios2
/etc/rc2.d/S20nagios
/etc/rc6.d/K18nagios3
/etc/rc6.d/K18nagios2
/etc/rc6.d/K20nagios
/etc/default/nagios3
/etc/default/nagios2
/etc/rc1.d/K18nagios3
/etc/rc1.d/K18nagios2
/etc/rc1.d/K20nagios
/etc/rc3.d/S30nagios3
/etc/rc3.d/S30nagios2
/etc/rc3.d/S20nagios
/etc/nagios2
/etc/nagios2/nagios.cfg
/etc/nagios2/conf.d/hostgroups_nagios2.cfg
/etc/nagios2/conf.d/host-gateway_nagios2.cfg
/etc/nagios2/conf.d/contacts_nagios2.cfg
/etc/nagios2/conf.d/timeperiods_nagios2.cfg
/etc/nagios2/conf.d/localhost_nagios2.cfg
/etc/nagios2/conf.d/generic-host_nagios2.cfg
/etc/nagios2/conf.d/generic-service_nagios2.cfg
/etc/nagios2/conf.d/extinfo_nagios2.cfg
/etc/nagios2/conf.d/services_nagios2.cfg
/etc/rc5.d/S30nagios3
/etc/rc5.d/S30nagios2
/etc/rc5.d/S20nagios
/etc/nagios-plugins


 
Par contre j'ai donc donner des chemins au script d'install mais il n'en veut pas. En plus  je ne comprend pas pourquoi je retrouve des nagios2 dans mon systeme; je l'ai pourtant desinstaller avec aptitude :??:


---------------
"Life is game, remember we play together"
Reply

Marsh Posté le 23-11-2008 à 00:29:14    

pour plus avoir de trace, il fallait faire
aptitude purge nagios2
la il vire tout ...
Par contre, pour ta question, joker ...

Reply

Marsh Posté le 23-11-2008 à 00:45:00    

ah oui ok je fais toujours aptitude remove <nom_logiciel>
 
Punaise c'est la loose. Je suis toujours ouvert a d'autre propositions :p
 
Merci trictac !


---------------
"Life is game, remember we play together"
Reply

Marsh Posté le 24-11-2008 à 00:56:36    

Je suis toujours bloqué dessus  même en installant nagios2 au lieu de nagios3. J'ai l'impression que l'installation a partir des dépots chie a fond/


---------------
"Life is game, remember we play together"
Reply

Marsh Posté le 26-11-2008 à 22:46:31    

Install à partir des sources :E Si tu te decide à faire ça par défaut le binaire est dans /usr/local/nagios/bin ;E
Au pire si ça te convient pas ./configure --prefix=<ou tu veux>

Reply

Marsh Posté le 26-11-2008 à 22:48:13    

coool merci :)
 
Toi qui a l'air de bien t'y connaitrre, tu aurais un bouquin a me conseiller sur les debian? J'aimerais techniquement bien la connaitre, les modules de démarrage, quelle est la diff entre /sbin et /bin , etc etc. ;)


---------------
"Life is game, remember we play together"
Reply

Marsh Posté le 26-11-2008 à 23:16:31    

tu peux essayer linux pour les nuls peut être :D

Reply

Marsh Posté le 27-11-2008 à 08:17:25    

c'est une debian .. n'installe surtout pas a partir des sources malheureux...
Si t'as rien tuné, je dirais plutot fait un purge de nagios2, nagios3, centreon et tout ce qui peut avoir un rapport.
ensuite réinstall proprement nagios3
fait un aptitude search nagios pour voir les packages qui peuvent te manquer pour l'intégration, et ensuite install centreon.
Mais pas d'install a partir des sources ... sinon tu conserveras jamais un systeme integre, et tu perdra tout l'interet d'une deb ...
Sinon, pas de bouquin mais la tres celebre formation d'alexis delattre (google).
Et il me semble aussi que les derniers cahier de l'admin debian sont publiés en CC, mais pas sur qu'ils ciblent la dernière version.

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed