From: Veiko K. <ve...@pa...> - 2004-11-11 11:33:03
|
I thing, I did this correctly. At least now I understand the logic. But now I have another problem - when doing as manual says: Run 'perfparse-db-tool --help' to see if this feature is available. If not, use the method described above, and then run 'perfparse-db-tool --update' to be sure that any new DB changes are utilized. and I get: perfparse-db-tool --update perfparse-db-tool: error while loading shared libraries: libpp_mysql.so.0: cannot open shared object file: No such file or directory Ben Clewett wrote: > 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. |