mrtg and nagios on the same machine

mails_and_news at bluewin.ch mails_and_news at bluewin.ch
Tue Aug 13 13:14:32 CEST 2002


Hello list
I run mrtg for a long time on a suse8.0 system.
Now I have installed nagios on the same system. But the statusmap, trends
and histogram is not working (the html-pages create failure 404). And of
course I cant find the statusmap.cgi and so on. Regarding to the FAQ I should
install gd, zlib and png libaries. But all three libraris (sources:zlib-1.1.4.tar.gz,
libpng-1.0.14.tar.gz, gd-1.8.4.tar.gz) are already on the system, because
mrtg need this also.
My questions: Do I need to install this again, because nagios was installed
after the libaries (for mrtg)?
Can I use this zlib-1.1.4.tar.gz,libpng-1.0.14.tar.gz,gd-1.8.4.tar.gz for
nagios?
Is there out a little bit more information how to install this libaires,
especially this part, because it is not clear for me!
Then clean out your old??? Nagios configuration information and rerun the
configure script??? with the following two commands (from within you Nagios
distribution directory): 

make devclean
./configure --with-gd-lib=LIBDIR --with-gd-inc=INCDIR [other options...]


Replace LIBDIR with the directory in which the gd library is installed (usually
/usr/lib or /usr/local/lib) and replace INCDIR with the directory in which
the header files for the gd library are installed (usually /usr/include
or /usr/local/include). 

After you rerun the configure script, make sure to recompile??? the CGIs
and install them in their proper location.

thanks in advance
Oliver 






-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1




More information about the Users mailing list