From: Florian G. <fl...@bi...> - 2007-03-06 21:02:13
|
>Florian Gleixner wrote: >> Good morning, >> >> so, is it running now? >> >> Flo James Tran wrote: > Well i see the daemon running but i dont see it entering anything into > mysql > > I had already checked to see if it was even connecting to the correct > database by removing the username and password and then also changing > the database it was connecting to and it failed when i did that. > > So uh... i dunno why it's not entering anything > My last 3 ideas: - remove unused config vars in your perfparse.cfg. I'm not sure - would have to read the code - if config settings like Storage_Socket_Output_Port = "1974" Server_Port = "1976" overwrite the pipe settings. - check if the plugins return performance data. Run them by hand. A plugin that returns performance data should output things like this: /usr/local/nagios/libexec/check_disk -w 5% -c 2% -p / DISK OK - free space: / 360 MB (7% inode=-);| /=4643MB;4753;4903;0;5004 All after the "|" is performance data. - Some nagios variables have changed. nagios 1.X had $OUTPUT$ and $PERFDATA$ while they are renamed to $SERVICEOUTPUT$ and $SERVICEPERFDATA$ in nagios 2.X. Unfortunately the perfparse docs are old and badly maintained. Doublecheck your command definition. You could also try to use the perfparse_nagios_command.pl to write to a file and examine the file if it contains reasonable data. Flo |