Freesco, NND, CDN, EOS http://forum.freesco.pl/ |
|
NAGIOS - Instalacja http://forum.freesco.pl/viewtopic.php?f=24&t=14086 |
Strona 1 z 1 |
Autor: | Sisja [ piątek, 17 listopada 2006, 00:30 ] |
Tytuł: | NAGIOS - Instalacja |
Witam, czy udało się komuś zainstalować Nagiosa na NND. Wiem że już był podobny temat na forum ale nie został on rozwiązany. Korzystając z dokumentacji Nagiosa dotarłem do ./configure i dalej zima ![]() |
Autor: | dafi [ piątek, 17 listopada 2006, 01:29 ] |
Tytuł: | |
logi logi |
Autor: | JakubC [ piątek, 17 listopada 2006, 15:56 ] |
Tytuł: | Re: NAGIOS - Instalacja |
Sisja pisze: Witam, czy udało się komuś zainstalować Nagiosa na NND. Wiem że już był podobny temat na forum ale nie został on rozwiązany. Korzystając z dokumentacji Nagiosa dotarłem do ./configure i dalej zima
![]() To moze pokaż nam co zwraca configure masz wersje devel w systemie? |
Autor: | Sisja [ sobota, 18 listopada 2006, 21:32 ] |
Tytuł: | |
Dzięki za zainteresowanie, niestety z całym logiem może być problem bo jest ogromy (kilkadziesiąt ekranów). Może to coś pomoże. Na końcu ./configure wyświetla podsumowanie które wygląda w ten sposób: *** Configuration summary for nagios 2.5 07-13-2006 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Event Broker: yes Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/rc.d Host OS: linux-gnu Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. |
Autor: | JakubC [ sobota, 18 listopada 2006, 22:00 ] |
Tytuł: | |
Sisja pisze: Dzięki za zainteresowanie, niestety z całym logiem może być problem bo jest ogromy (kilkadziesiąt ekranów). Może to coś pomoże. Na końcu ./configure wyświetla podsumowanie które wygląda w ten sposób: Wrzuc na jakies www
[ciach] Powtarzam pytanie: masz wersje devel? |
Autor: | Sisja [ niedziela, 19 listopada 2006, 21:27 ] |
Tytuł: | |
Jak sprawdzić czy mam wersję devel czy nie? |
Autor: | JakubC [ niedziela, 19 listopada 2006, 21:35 ] |
Tytuł: | |
Jezeli jej nie instalowales to nie masz. Zainstaluj: install_devel |
Autor: | GHY [ poniedziałek, 3 marca 2008, 11:33 ] |
Tytuł: | |
Moze ktos kto przechodzil juz nagiosa na NND, opisac krok po kroku proces instalacji ![]() |
Autor: | JakubC [ środa, 5 marca 2008, 21:36 ] |
Tytuł: | |
GHY pisze: Moze ktos kto przechodzil juz nagiosa na NND, Ja. Czegoś mu tam brakowało i trzeba było dokompilować. GHY pisze: opisac krok po kroku proces instalacji
![]() Ale ktoś już napisał taki opis! Plik README lub INSTALL w źródłach nagiosa. |
Autor: | GHY [ środa, 19 marca 2008, 17:10 ] |
Tytuł: | |
Dobra biore sie za niego ![]() Trwa install_devel... |
Autor: | GHY [ środa, 19 marca 2008, 17:51 ] |
Tytuł: | |
Po operacja z plikami doszedlem do make all i chyba cos nie jest tak, moze ktos to zbadac: # make all cd ./base && make make[1]: Entering directory `/root/downloads/nagios-3.0/base' gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o broker.o broker.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o nebmods.o nebmods.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o checks.o checks.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o config.o config.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o commands.o commands.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o events.o events.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o flapping.o flapping.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o logging.o logging.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o macros-base.o ../common/macros.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o notifications.o notifications.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o sehandlers.o sehandlers.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o skiplist.o ../common/skiplist.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o retention-base.o sretention.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o comments-base.o ../common/comments.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o xcomments-base.o ../xdata/xcddefault.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o objects-base.o ../common/objects.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o statusdata-base.o ../common/statusdata.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddefault.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o perfdata-base.o perfdata.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o xperfdata-base.o ../xdata/xpddefault.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o downtime-base.o ../common/downtime.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -c -o xdowntime-base.o ../xdata/xdddefault.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o -Wl,-export-dynamic -lm -lpthread -lltdl -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCORE -o nagiostats nagiostats.c -lm -lglib-2.0 make[1]: Leaving directory `/root/downloads/nagios-3.0/base' cd ./cgi && make make[1]: Entering directory `/root/downloads/nagios-3.0/cgi' gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -c -o getcgi.o getcgi.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -c -o cgiutils.o cgiutils.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -c -o cgiauth.o cgiauth.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -c -o macros-cgi.o ../common/macros.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -c -o skiplist.o ../common/skiplist.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -c -o objects-cgi.o ../common/objects.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -c -o xobjects-cgi.o ../xdata/xodtemplate.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -c -o statusdata-cgi.o ../common/statusdata.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -c -o xstatusdata-cgi.o ../xdata/xsddefault.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -c -o comments-cgi.o ../common/comments.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -c -o downtime-cgi.o ../common/downtime.c gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o avail.cgi avail.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o cmd.cgi cmd.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o config.cgi config.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o extinfo.cgi extinfo.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o history.cgi history.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o notifications.cgi notifications.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o outages.cgi outages.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o showlog.cgi showlog.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o status.cgi status.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o statuswml.cgi statuswml.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o summary.cgi summary.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o tac.cgi tac.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o statuswrl.cgi statuswrl.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lm -lglib-2.0 gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNSCGI -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lgd -lpng -ljpeg -lz -lm -lglib-2.0 statusmap.c:39:68: gd.h: Nie ma takiego pliku ani katalogu statusmap.c:40:71: gdfonts.h: Nie ma takiego pliku ani katalogu statusmap.c:125: error: parse error before "load_image_from_file" statusmap.c:125: warning: data definition has no type or storage class statusmap.c:157: error: parse error before "unknown_logo_image" statusmap.c:157: warning: initialization makes integer from pointer without a cast statusmap.c:157: warning: data definition has no type or storage class statusmap.c:158: error: parse error before "logo_image" statusmap.c:158: warning: initialization makes integer from pointer without a cast statusmap.c:158: warning: data definition has no type or storage class statusmap.c:159: error: parse error before "map_image" statusmap.c:159: warning: initialization makes integer from pointer without a cast statusmap.c:159: warning: data definition has no type or storage class statusmap.c:160: error: parse error before "background_image" statusmap.c:160: warning: initialization makes integer from pointer without a cast statusmap.c:160: warning: data definition has no type or storage class statusmap.c: In function `load_background_image': statusmap.c:1375: warning: comparison between pointer and integer statusmap.c:1376: error: invalid type argument of `->' statusmap.c:1377: error: invalid type argument of `->' statusmap.c:1381: warning: comparison between pointer and integer statusmap.c: In function `draw_background_image': statusmap.c:1396: warning: comparison between pointer and integer statusmap.c: In function `draw_hosts': statusmap.c:1612: warning: comparison between pointer and integer statusmap.c:1613: error: invalid type argument of `->' statusmap.c:1613: error: invalid type argument of `->' statusmap.c:1767: warning: comparison between pointer and integer statusmap.c:1768: error: invalid type argument of `->' statusmap.c:1768: error: invalid type argument of `->' statusmap.c:1778: warning: comparison between pointer and integer statusmap.c:1779: error: invalid type argument of `->' statusmap.c:1779: error: invalid type argument of `->' statusmap.c: In function `draw_text': statusmap.c:1838: error: `gdFontSmall' undeclared (first use in this function) statusmap.c:1838: error: (Each undeclared identifier is reported only once statusmap.c:1838: error: for each function it appears in.) statusmap.c: In function `draw_host_text': statusmap.c:1894: error: `gdFontSmall' undeclared (first use in this function) statusmap.c: In function `draw_dotted_line': statusmap.c:2046: error: `gdTransparent' undeclared (first use in this function) statusmap.c:2062: error: `gdStyled' undeclared (first use in this function) statusmap.c: In function `draw_dashed_line': statusmap.c:2075: error: `gdTransparent' undeclared (first use in this function) statusmap.c:2088: error: `gdStyled' undeclared (first use in this function) statusmap.c: In function `initialize_graphics': statusmap.c:2108: warning: comparison between pointer and integer statusmap.c: At top level: statusmap.c:2145: error: parse error before "load_image_from_file" statusmap.c: In function `load_image_from_file': statusmap.c:2147: error: `gdImagePtr' undeclared (first use in this function) statusmap.c:2147: error: parse error before "im" statusmap.c:2152: warning: return makes integer from pointer without a cast statusmap.c:2156: warning: return makes integer from pointer without a cast statusmap.c:2161: warning: return makes integer from pointer without a cast statusmap.c:2165: error: `im' undeclared (first use in this function) make[1]: *** [statusmap.cgi] Błąd 1 make[1]: Leaving directory `/root/downloads/nagios-3.0/cgi' make: *** [all] Błąd 2 |
Autor: | tasiorek [ środa, 19 marca 2008, 17:58 ] |
Tytuł: | |
pacman -S gd-devel |
Autor: | GHY [ środa, 19 marca 2008, 18:10 ] |
Tytuł: | |
Dzięki Tasiorek, teraz biore sie za edit plikow. ============================================== No i nie utworzyl mi na koniec katalogu /nagios na ktory sie wchodzi po www. Znalazlem sciezke w usr/local/nagios/share. Widze ze linki prowadza do http://localhost/nagios/cgi-bin/status. ... hostdetail ktorego nie ma ;/ Cos namieszalem... ============================================== Rozkminilem ze chodzi to na aliasie /nagios ;/ tasiorek: nie pisz posta pod postem. Jak chcesz cos dodac to edytuj poprzedniego. OK Tasiorek, przepraszam. |
Strona 1 z 1 | Strefa czasowa UTC+2godz. |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |