I have perfparse installed now. I made the perfparse database, ran the sql script to fill it up. The databse opens in Oreon views but there are no hosts in it.
I made my process-service-perfdata to this:
/usr/bin/printf "%b" "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$SE RVICESTATE$\t$PERFDATA$\n" | $USER2$/bin/perfparse-log2mysql -c $USER2$/etc/perfparse.cfg
it seems to run, cause i was getting a database login error in nagios.log from it but i fixed that, no errors there. also perfparse log repeatedly says it succesfully loaded mysql storage module.
my perfparse.cfg has - for the service_log because i am running it directly, im not using that import log from a daemon. rrd graphs seem to still work.
all that, and my oreon views for my perfparse graphs have no hosts or services listed in the dropdowns menus, they are empty. do i need a meta service? i seen that perfparse enabled added it (along with delete retention templates) and didnt know what a meta service is. is it manditory i make one for the graphs? is that my problem?
thanks for any help.. im almost to the finish line!
I made my process-service-perfdata to this:
/usr/bin/printf "%b" "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$SE RVICESTATE$\t$PERFDATA$\n" | $USER2$/bin/perfparse-log2mysql -c $USER2$/etc/perfparse.cfg
it seems to run, cause i was getting a database login error in nagios.log from it but i fixed that, no errors there. also perfparse log repeatedly says it succesfully loaded mysql storage module.
my perfparse.cfg has - for the service_log because i am running it directly, im not using that import log from a daemon. rrd graphs seem to still work.
all that, and my oreon views for my perfparse graphs have no hosts or services listed in the dropdowns menus, they are empty. do i need a meta service? i seen that perfparse enabled added it (along with delete retention templates) and didnt know what a meta service is. is it manditory i make one for the graphs? is that my problem?
thanks for any help.. im almost to the finish line!
Comment