From: Ethan R. <eth...@fg...> - 2007-09-26 20:47:03
|
Hi all, =20 I've setup Perfparse successfully before, however I'm running into a few issues now on my recent installation and hoping someone might have some pointers. Sadly, it seems like the Perfparse wiki is no more and the official documentation hasn't been updated in quite awhile. =20 Some specs: =20 Server OS - Ubuntu Server 7.04 =20 Nagios Version - 3.0b =20 Nagios Install Path - /usr/local/nagios/ =20 Here's where I'm at, I've compiled perfparse-0.106.1 and *seem* to have it successfully installed. I've added a link to it in my side.html and can access the perfparse CGI ok, but have a couple remaining issues: =20 1. None of the perfparse images will load correctly, going by the instructions I've tried multiple variations on configuring with the "--with-http_image_path=3D/usr/local/nagios/images" flag, but none of = them seem to work properly. Clearly Nagios doesn't have a, "nagios/images" directory by default, so not really sure why they recommend this particular path. At any rate, on my latest installation it seems to have placed all of the Nagios images in, /usr/local/nagios/shared/perfparse/images. =20 Things I've tried: - Configuring using a different, explicit path in the flag such as, "--with-http_image_path=3D/usr/local/nagios/shared/images" - Creating /nagios/images, giving the nagios user & group control over this directory and copying all of the perfparse graphics into this, then restarting nagios & Apache 2. I've setup Perfparse to use the pipe to mysql method, or at least I thought I had, sadly I can only seem to get perfparse to pickup information when running the "./perfparse-log2mysql -r" command from /usr/local/nagios/bin. According to the installation documentation, there doesn't appear to be any other steps I need to take or cron tabs setup in order for Nagios to be picking up the data from the logs, there seems to be something missing here in the documentation regarding this or maybe I've just forgotten. 3. When viewing the raw plugin data, the Plugin Output column only seems to be displaying, "$." I seem to remember running into this one before but for the life of me cannot recall the fix. 4. In the View/Edit Host Groups page, there is a, "/a>" in the "Delete" column, rather than an option to delete the host groups. This seems like a simple bug where someone missed closing out a link but since it seems to be generated HTML I'm not sure how I can correct this aside from modifying the source and recompiling. =20 Aside from these issues, Nagios seems to be starting just fine as does Perfparse, nagios is creating perfdata logs ok and perfparse seem to be generating its respective log files. Furthermore, running perfparse-log2mysql manually seems to be working just fine and inserting data into the DB (aside from the metrics which is likely related to the plugin output issue). I can provide my configuration files as needed, but if anyone has any suggestions as to some steps I might be able to take to fix some of these issues I would be most appreciative. =20 Cheers, ____________________________________________ =20 Ethan Russell // IT Administrator FG SQUARED interactive marketing 621 E 6th Street, Suite 200 // Austin TX 78701-3766 T +1 512 481 8831 x235 // F +1 512 481 8832 =20 |