From: Ben C. <be...@cl...> - 2004-08-30 08:21:04
|
This is fixed for the next version. Ben Cook, Garry wrote: > per...@li... wrote: > >>Hello >>I'm having a small problem with perfmon >>I've followed the instructions on >>http://perfparse.sourceforge.net/docs.php >>to the letter... >> >>I've set up the crontab job as: >># Run PerfParse every 15 minutes to update Nagios graphs. >>15 * * * * /usr/local/nagios/bin/perfparse.sh > > > So far, so good. > > > >>but all I get is the following and no data is building upp in the DB. >>why ? what ? why???? >> >>[nagios@black148 nagios]$ /usr/local/nagios/bin/perfparse.sh >>/usr/local/nagios/bin/perfparse: >>Please use --delete-service-log instead of --delete > > > I think there is still an error (bug) in the perfparse.sh file. > Hopefully this will be fixed in the next version (Ben?). Please edit > perfparse.sh and change --delete to --delete-service-log. Alternatively, > you could just remove the '--delete' option altogether, and PerfParse > should use what you've set in perfparse.cfg. > > > >>Usage: >>/usr/local/nagios/bin/perfparse [[-U | --user] user] [[-P | >>--password] password] >> [[-D | --database] database] [-H database_host] >> [[-c | --config-file] config_file_name] [-n no_of_lines] [-s] >> [-l logfile] [-n no_of_lines] [-s] >> [--serviceperf-log logfile] [--delete-service-log] >> [--host-log logfile] [--delete-host-log] >> [-r | --report] [--no-raw] [--del-old n] >> [-v | --version] [-h | --help] >> >> -U -P -D -H Database Parameters. >> -l Short option for --serviceperf-log >> --serviceperf-log Location of the serviceperf.log file. >> --host-log Location of the serviceperf.log file. >> --delete-service-log Truncate log file to zero >>length on exit. >> --delete-host-log Truncate log file to zero >>length on exit. >> ** Need the location of nagios.lock in >>the config >>file ** >> -n Parse only n lines, then stop. >> --no-raw Do not log the raw data. Not used by perfparse. >> This containes the original message from plugin. >> --del-old n Delete data from database more than n days old. >> -s Silent. Do not display progress. >> -r --report Displays a report of activity on exit. >> >> -v --version Print version and exit. >> -h --help Print this help exit. >> >>Using default configuration file >>'//usr/local/nagios/etc/perfparse.cfg' >>/usr/local/nagios/bin/perfparse --show_config Show the configuration > > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idP47&alloc_id808&opÌk > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |