From: Ben C. <BCl...@pe...> - 2004-11-10 14:45:16
|
Veiko, You may need to search for some of these. If I give you some sample files to look for. Please let us know. The --with-imagedir image directory should contain the Nagios images, shared by PerfParse. Try doing a search for some of these: flapping.gif tacenabled.jpg sbgeneral.png The cgi --with-cgidir should contain at least these: history.cgi statuswml.cgi extinfo.cgi The --with-http_image_path is the browser http path to the above image directory. Check what Nagios uses, look at the source of the HTML... The --prefix is used to locate the nagios 'etc' and nagios 'var' directories. Which will contain nagios.cfg and nagios.log respectively. If these are not in a common subdirectory or not called 'etc' and 'var' then I believe you can use: --sysconfdir (for dir containing nagios.cfg) I am not sure of the directive for the final 'var' directory containing serviceperf.log. Maybe Yves might know? However, this file can be specified exactly in the perfparse.cfg. So not needed. Compile code and edit perfparse.cfg. Let us know, Ben. Veiko Kukk wrote: > I have installed Nagios 1.2 from Suse 9.1 official rpm package and > therefore I have nagios in /usr/lib/nagios and /usr/share/nagios. > /usr/lib/nagios contains cgi and plugins directories and > /usr/share/nagios contains contexthelp, docs, images, media, ssi, > stylesheets directories and files: index.html, main.html, robots.txt > side.html. > > In perfparse manual I read: > > "A typical user who has nagios installed in, say, /usr/local/nagios will > want to use the following commands: > > $ ./configure \ > --prefix=/usr/local/nagios \ > --with-imagedir=/usr/local/nagios/share/images/ \ > --with-cgidir=/usr/local/nagios/sbin \ > --with-http_image_path=/nagios/images" > > But in my case, what should be the --prefix and other configure commands? > |