From: Michael T. H. <mi...@ha...> - 2004-11-08 23:59:43
|
I've got perfparse setup and mostly working at this point. There are a few minor things I'm trying to figure out (like having it write more meaningful information to rrdgraphs, and graphing multiple colors to rrdtool).. The last major problem I'm having is with host performance data. I'm writing my service data to /home/nagios/var/log/perfdata-service.log and my host data to /var/log/perfdata-host.log I'm using this script here to actually force the parsing : --------------------------------------------------------------------- USER2=3D/home/nagios mv ${USER2}/var/log/perfdata-service.log ${USER2}/var/log/perfdata-service.log1 mv ${USER2}/var/log/perfdata-host.log ${USER2}/var/log/perfdata-host.log1 cat ${USER2}/var/log/perfdata-service.log1 ${USER2}/var/log/perfdata-host.log1 | ${USER2}/bin/perfparse-log2db -c ${USER2}/etc/perfparse.cfg rm ${USER2}/var/log/perfdata-service.log1 rm ${USER2}/var/log/perfdata-host.log1 --------------------------------------------------------------------- For my host check I'm using check_icmp which appears to be logging information properly to /home/nagios/var/log/perfdata-host.log .. but perfdata doesn't seem to be picking up the host check performance data. ------------------- BitPusher, LLC http://www.bitpusher.com/ 1.888.9PUSHER (415) 724.7998 - Mobile |